Blame view

美国版/Food Labeling Management Platform/src/styles/fonts.css 749 Bytes
884054fb   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  /* 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;
  }