@import "colors"; // Rubik, self-hosted (no request to Google Fonts): files from the @fontsource/rubik npm package, latin + latin-ext subsets $rubik_subsets: ( 'latin-ext': (U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF), 'latin': (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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD) ); @each $style in normal, italic { @each $weight in 400, 500 { @each $subset, $range in $rubik_subsets { @font-face { font-family: 'Rubik'; src: url('../fonts/rubik/rubik-#{$subset}-#{$weight}-#{$style}.woff2') format('woff2'); font-weight: $weight; font-style: $style; font-display: swap; unicode-range: $range; } } } } // Typography definition $main_font_family: 'Rubik', Arial, Sans_serif; $font_size_smallest : 11px; $font_size_small : 12px; $font_size_smaller : 13px; $font_size_normal : 14px; $font_size_medium : 16px; $font_size_larger : 18px; $font_size_large : 20px; $font_size_largest : 24px; $font_weight_light : 300; $font_weight_normal : 400; $font_weight_bold : 500; $font_weight_boldest : 500; // Iconfont import @font-face { font-family: 'affilizz-icons'; src: url('../fonts/affilizz-icons/affilizz-icons.ttf?b2n8aj') format('truetype'), url('../fonts/affilizz-icons/affilizz-icons.woff?b2n8aj') format('woff'), url('../fonts/affilizz-icons/affilizz-icons.svg?b2n8aj') format('svg'); font-weight: normal; font-style: normal; font-display: block; }