diff --git a/assets/fonts.css b/assets/fonts.css index 1c2cf48d..1d434b77 100644 --- a/assets/fonts.css +++ b/assets/fonts.css @@ -1,19 +1,12 @@ @font-face { - font-family: 'Material Icons'; + font-family: 'Material Symbols Rounded'; font-style: normal; font-weight: 400; - src: url(/fonts/MaterialIcons-Regular.ttf) format('truetype'); + src: url(/fonts/MaterialSymbolsRounded.woff2) format('woff2'); } -@font-face { - font-family: 'Material Icons Outlined'; - font-style: normal; - font-weight: 400; - src: url(/fonts/MaterialIconsOutlined-Regular.otf) format('opentype'); -} - -.material-icons { - font-family: 'Material Icons'; +.material-symbols { + font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; @@ -24,31 +17,14 @@ word-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased; + vertical-align: top; } -.material-icons:not(.text-xs):not(.text-sm):not(.text-md):not(.text-base):not(.text-lg):not(.text-xl):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl):not(.text-7xl):not(.text-8xl) { - font-size: 1.5rem; +.material-symbols.fill { + font-variation-settings: + 'FILL' 1 } -.material-icons-outlined { - font-family: 'Material Icons Outlined'; - font-weight: normal; - font-style: normal; - line-height: 1; - letter-spacing: normal; - text-transform: none; - display: inline-block; - white-space: nowrap; - word-wrap: normal; - direction: ltr; - -webkit-font-smoothing: antialiased; -} - -.material-icons-outlined:not(.text-xs):not(.text-sm):not(.text-md):not(.text-base):not(.text-lg):not(.text-xl):not(.text-2xl):not(.text-3xl):not(.text-4xl):not(.text-5xl):not(.text-6xl):not(.text-7xl):not(.text-8xl) { - font-size: 1.5rem; -} - - /* cyrillic-ext */ @font-face { font-family: 'Source Sans Pro'; @@ -317,4 +293,4 @@ font-display: swap; src: url(/fonts/Ubuntu_Mono/UbuntuMono-Regular.ttf) format('ttf'); 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; -} \ No newline at end of file +} diff --git a/static/fonts/MaterialSymbolsRounded.woff2 b/static/fonts/MaterialSymbolsRounded.woff2 new file mode 100644 index 00000000..88a9a81f Binary files /dev/null and b/static/fonts/MaterialSymbolsRounded.woff2 differ