Files
modern-sk/src/styles/fonts.css
T
2026-05-31 16:47:52 +03:00

25 lines
1.0 KiB
CSS

/* ============================================================
ModernSK — optional branded webfonts.
Import this ONLY if you want the default ModernSK typefaces:
import 'modern-sk/styles.css'; // required — tokens + components
import 'modern-sk/fonts.css'; // optional — branded faces
Skip it and the --font-* tokens degrade to system-ui, or
override --font-display / --font-sans / --font-mono in your own
CSS to map components onto fonts your app already loads.
------------------------------------------------------------
Onest + Geist Mono come from Google Fonts; Anta (the squared
display face) is self-hosted and inlined at build time.
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');
@font-face {
font-family: 'Anta';
src: url('../assets/Anta-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}