diff options
-rw-r--r-- | client/index.html | 10 | ||||
-rw-r--r-- | client/public/assets/fonts/JetBrainsMono-VariableFont_wght.ttf | bin | 0 -> 187860 bytes | |||
-rw-r--r-- | client/public/assets/fonts/JetBrains_Mono_latin-ext.woff2 | bin | 0 -> 14472 bytes | |||
-rw-r--r-- | client/public/assets/fonts/JetBrains_Mono_latin.woff2 | bin | 0 -> 39912 bytes | |||
-rw-r--r-- | client/public/assets/fonts/Poppins_latin-ext_400.woff2 | bin | 0 -> 5552 bytes | |||
-rw-r--r-- | client/public/assets/fonts/Poppins_latin-ext_700.woff2 | bin | 0 -> 5400 bytes | |||
-rw-r--r-- | client/public/assets/fonts/Poppins_latin_400.woff2 | bin | 0 -> 7884 bytes | |||
-rw-r--r-- | client/public/assets/fonts/Poppins_latin_700.woff2 | bin | 0 -> 7816 bytes | |||
-rw-r--r-- | client/src/fonts.css | 54 | ||||
-rw-r--r-- | client/src/index.css | 1 |
10 files changed, 55 insertions, 10 deletions
diff --git a/client/index.html b/client/index.html index 95f14b3..fcc3be0 100644 --- a/client/index.html +++ b/client/index.html @@ -3,16 +3,6 @@ <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="assets/icons/favicon.ico" /> - <link rel="preconnect" href="https://fonts.googleapis.com" /> - <link - rel="preload" - href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" - as="style" - /> - <link - href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" - rel="stylesheet" - /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Minibin</title> </head> diff --git a/client/public/assets/fonts/JetBrainsMono-VariableFont_wght.ttf b/client/public/assets/fonts/JetBrainsMono-VariableFont_wght.ttf Binary files differnew file mode 100644 index 0000000..d73994a --- /dev/null +++ b/client/public/assets/fonts/JetBrainsMono-VariableFont_wght.ttf diff --git a/client/public/assets/fonts/JetBrains_Mono_latin-ext.woff2 b/client/public/assets/fonts/JetBrains_Mono_latin-ext.woff2 Binary files differnew file mode 100644 index 0000000..06b0c9e --- /dev/null +++ b/client/public/assets/fonts/JetBrains_Mono_latin-ext.woff2 diff --git a/client/public/assets/fonts/JetBrains_Mono_latin.woff2 b/client/public/assets/fonts/JetBrains_Mono_latin.woff2 Binary files differnew file mode 100644 index 0000000..9d41658 --- /dev/null +++ b/client/public/assets/fonts/JetBrains_Mono_latin.woff2 diff --git a/client/public/assets/fonts/Poppins_latin-ext_400.woff2 b/client/public/assets/fonts/Poppins_latin-ext_400.woff2 Binary files differnew file mode 100644 index 0000000..8f4fcbf --- /dev/null +++ b/client/public/assets/fonts/Poppins_latin-ext_400.woff2 diff --git a/client/public/assets/fonts/Poppins_latin-ext_700.woff2 b/client/public/assets/fonts/Poppins_latin-ext_700.woff2 Binary files differnew file mode 100644 index 0000000..4c0521e --- /dev/null +++ b/client/public/assets/fonts/Poppins_latin-ext_700.woff2 diff --git a/client/public/assets/fonts/Poppins_latin_400.woff2 b/client/public/assets/fonts/Poppins_latin_400.woff2 Binary files differnew file mode 100644 index 0000000..b69e009 --- /dev/null +++ b/client/public/assets/fonts/Poppins_latin_400.woff2 diff --git a/client/public/assets/fonts/Poppins_latin_700.woff2 b/client/public/assets/fonts/Poppins_latin_700.woff2 Binary files differnew file mode 100644 index 0000000..bf022fc --- /dev/null +++ b/client/public/assets/fonts/Poppins_latin_700.woff2 diff --git a/client/src/fonts.css b/client/src/fonts.css new file mode 100644 index 0000000..ee853c6 --- /dev/null +++ b/client/src/fonts.css @@ -0,0 +1,54 @@ + /* latin-ext */ + @font-face { + font-family: 'JetBrains Mono'; + font-style: normal; + font-weight: 100 800; + font-display: swap; + src: url(/assets/fonts/JetBrains_Mono_latin-ext.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'JetBrains Mono'; + font-style: normal; + font-weight: 100 800; + font-display: swap; + src: url(/assets/fonts/JetBrains_Mono_latin.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* latin-ext */ + @font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/assets/fonts/Poppins_latin-ext_400.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/assets/fonts/Poppins_latin_400.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* latin-ext */ + @font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/assets/fonts/Poppins_latin-ext_700.woff2) format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Poppins'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/assets/fonts/Poppins_latin_700.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + }
\ No newline at end of file diff --git a/client/src/index.css b/client/src/index.css index 2c7597e..7af7de2 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -1,4 +1,5 @@ @import url(variables.css); +@import url(fonts.css); :root { font-family: "Poppins", sans-serif; line-height: 1.5; |