fonts.css
749 Bytes
/* FreightSans Bold for all text; numbers (0-9) excluded via unicode-range, so they use system font */
@font-face {
font-family: 'FreightSans Bold';
src: url('../assets/FreightSans Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
/* Exclude ASCII digits 0-9 (U+0030-U+0039): they will use next font in stack (system-ui) */
unicode-range: U+0000-002F, U+003A-10FFFF;
}
:root {
--font-sans: 'FreightSans Bold', ui-sans-serif, system-ui, sans-serif;
--font-numeric: ui-sans-serif, system-ui, sans-serif;
}
body {
font-family: var(--font-sans);
}
/* Optional: force entire element to system font (e.g. numeric-only cells) */
.font-numeric {
font-family: var(--font-numeric) !important;
}