UNPKG

@fontsource/spectral

Version:

Self-host the Spectral font in a neatly bundled NPM package.

62 lines (56 loc) 1.94 kB
/* spectral-cyrillic-200-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 200; src: url(./files/spectral-cyrillic-200-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-200-normal.woff) format('woff'); } /* spectral-cyrillic-300-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 300; src: url(./files/spectral-cyrillic-300-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-300-normal.woff) format('woff'); } /* spectral-cyrillic-400-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 400; src: url(./files/spectral-cyrillic-400-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-400-normal.woff) format('woff'); } /* spectral-cyrillic-500-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 500; src: url(./files/spectral-cyrillic-500-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-500-normal.woff) format('woff'); } /* spectral-cyrillic-600-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 600; src: url(./files/spectral-cyrillic-600-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-600-normal.woff) format('woff'); } /* spectral-cyrillic-700-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 700; src: url(./files/spectral-cyrillic-700-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-700-normal.woff) format('woff'); } /* spectral-cyrillic-800-normal */ @font-face { font-family: 'Spectral'; font-style: normal; font-display: swap; font-weight: 800; src: url(./files/spectral-cyrillic-800-normal.woff2) format('woff2'), url(./files/spectral-cyrillic-800-normal.woff) format('woff'); }