mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
- Update font files for different languages: NotoSansCJKsc-Regular.woff2, NotoSansCJKtc-Regular.woff2, NotoSansCJKjp-Regular.woff2, NotoSansCJKkr-Regular.woff2, NotoSans-Regular.woff2 - Update font-family declarations in _typography.scss to use the new font files: - Change font-family for body to 'sans-serif' - Change font-family for button to 'Noto Sans', sans-serif - Add font-family declarations for different languages in _typography.scss: - For English language (en), use 'Geist', sans-serif - For Simplified Chinese language (zh-cn, zh-sg), use 'Noto Sans', 'Noto Sans CJK SC', sans-serif - For Traditional Chinese language (zh-hk, zh-mo, zh-tw), use 'Noto Sans', 'Noto Sans CJK TC', sans-serif - For Japanese language (ja), use 'Noto Sans', 'Noto Sans CJK JP', sans-serif - For Korean language (ko), use 'Noto Sans', 'Noto Sans CJK KR', sans-serif
48 lines
1.0 KiB
SCSS
48 lines
1.0 KiB
SCSS
@font-face {
|
|
font-family: 'Geist';
|
|
src: url('/lib/fonts/GeistVF.woff2') format('woff2');
|
|
font-weight: 90;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Noto Sans CJK SC';
|
|
src: url('/lib/fonts/NotoSansCJKsc-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Noto Sans CJK TC';
|
|
src: url('/lib/fonts/NotoSansCJKtc-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Noto Sans CJK JP';
|
|
src: url('/lib/fonts/NotoSansCJKjp-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Noto Sans CJK KR';
|
|
src: url('/lib/fonts/NotoSansCJKkr-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Noto Sans';
|
|
src: url('/lib/fonts/NotoSans-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|