diff --git a/.design-sync/config.json b/.design-sync/config.json index cb6cd504..3bf6fa34 100644 --- a/.design-sync/config.json +++ b/.design-sync/config.json @@ -32,5 +32,8 @@ "extraEntries": [ "../../.design-sync/preview-provider.tsx" ], - "readmeHeader": ".design-sync/conventions.md" + "readmeHeader": ".design-sync/conventions.md", + "extraFonts": [ + "../../.design-sync/fonts/brand-fonts.css" + ] } diff --git a/.design-sync/fonts/Inter-cyrillic.woff2 b/.design-sync/fonts/Inter-cyrillic.woff2 new file mode 100644 index 00000000..d7509147 Binary files /dev/null and b/.design-sync/fonts/Inter-cyrillic.woff2 differ diff --git a/.design-sync/fonts/Inter-latin.woff2 b/.design-sync/fonts/Inter-latin.woff2 new file mode 100644 index 00000000..d15208de Binary files /dev/null and b/.design-sync/fonts/Inter-latin.woff2 differ diff --git a/.design-sync/fonts/JetBrainsMono-cyrillic.woff2 b/.design-sync/fonts/JetBrainsMono-cyrillic.woff2 new file mode 100644 index 00000000..8ee2d708 Binary files /dev/null and b/.design-sync/fonts/JetBrainsMono-cyrillic.woff2 differ diff --git a/.design-sync/fonts/JetBrainsMono-latin.woff2 b/.design-sync/fonts/JetBrainsMono-latin.woff2 new file mode 100644 index 00000000..cd5102a4 Binary files /dev/null and b/.design-sync/fonts/JetBrainsMono-latin.woff2 differ diff --git a/.design-sync/fonts/brand-fonts.css b/.design-sync/fonts/brand-fonts.css new file mode 100644 index 00000000..91d50e1e --- /dev/null +++ b/.design-sync/fonts/brand-fonts.css @@ -0,0 +1,37 @@ +/* Brand fonts shipped with the trade-in DS bundle (Inter + JetBrains Mono). + * Variable woff2, latin + cyrillic subsets (ЕКБ addresses are Cyrillic). + * Manrope is NOT here — it loads via the remote @import in trade-in.css. */ + +@font-face { + font-family: 'Inter'; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url('./Inter-latin.woff2') format('woff2'); + unicode-range: 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +@font-face { + font-family: 'Inter'; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url('./Inter-cyrillic.woff2') format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +@font-face { + font-family: 'JetBrains Mono'; + font-style: normal; + font-weight: 100 800; + font-display: swap; + src: url('./JetBrainsMono-latin.woff2') format('woff2'); + unicode-range: 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +@font-face { + font-family: 'JetBrains Mono'; + font-style: normal; + font-weight: 100 800; + font-display: swap; + src: url('./JetBrainsMono-cyrillic.woff2') format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +}