Skip to content

Commit af636bf

Browse files
committedDec 20, 2020
enhancement: Removed deps via cdn and merged into project
1 parent 9d0248c commit af636bf

File tree

10 files changed

+66
-4
lines changed

10 files changed

+66
-4
lines changed
 

‎public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
<meta charset="utf-8" />
55
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
66
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no"/>
7-
<meta name="theme-color" content="#f50057" />
7+
<meta name="theme-color" content="#8a05be" />
88
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
9-
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
109
<title>Coder Mind</title>
1110
</head>
1211
<body>

‎src/assets/css/darker-grotesque.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* vietnamese */
2+
@font-face {
3+
font-family: 'Darker Grotesque';
4+
font-style: normal;
5+
font-weight: 400;
6+
font-display: swap;
7+
src: url('../fonts/darker-grotesque/viewtnamese.woff2') format('woff2');
8+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
9+
}
10+
11+
/* latin-ext */
12+
@font-face {
13+
font-family: 'Darker Grotesque';
14+
font-style: normal;
15+
font-weight: 400;
16+
font-display: swap;
17+
src: url('../fonts/darker-grotesque/latin-ext.woff2') format('woff2');
18+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
19+
}
20+
21+
/* latin */
22+
@font-face {
23+
font-family: 'Darker Grotesque';
24+
font-style: normal;
25+
font-weight: 400;
26+
font-display: swap;
27+
src: url('../fonts/darker-grotesque/latin.woff2') format('woff2');
28+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
29+
}

‎src/assets/css/material-icons.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
@font-face {
2+
font-family: 'Material Icons';
3+
font-style: normal;
4+
font-weight: 400;
5+
src: url('../fonts/material-icons.woff2') format('woff2');
6+
}
7+
8+
.material-icons {
9+
font-family: 'Material Icons';
10+
font-weight: normal;
11+
font-style: normal;
12+
font-size: 24px;
13+
line-height: 1;
14+
letter-spacing: normal;
15+
text-transform: none;
16+
display: inline-block;
17+
white-space: nowrap;
18+
word-wrap: normal;
19+
direction: ltr;
20+
-webkit-font-feature-settings: 'liga';
21+
-webkit-font-smoothing: antialiased;
22+
}

‎src/assets/css/offside.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* latin */
2+
@font-face {
3+
font-family: 'Offside';
4+
font-style: normal;
5+
font-weight: 400;
6+
font-display: swap;
7+
src: url('../fonts/offside/latin.woff2') format('woff2');
8+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
9+
}
Binary file not shown.
17.7 KB
Binary file not shown.
Binary file not shown.

‎src/assets/fonts/material-icons.woff2

96.7 KB
Binary file not shown.

‎src/assets/fonts/offside/latin.woff2

8.63 KB
Binary file not shown.

‎src/index.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
@import url('https://fonts.googleapis.com/css?family=Darker+Grotesque&display=swap');
2-
@import url('https://fonts.googleapis.com/css?family=Offside&display=swap');
1+
/* Define your global styles here */
2+
3+
@import url('./assets/css/darker-grotesque.css');
4+
@import url('./assets/css/offside.css');
5+
@import url('./assets/css/material-icons.css');
36

47
body {
58
font-family: 'Darker Grotesque', sans-serif !important;

0 commit comments

Comments
 (0)