feat: also add sans-serif CJK fonts (#853)

This commit is contained in:
Huang Xin
2025-04-09 22:03:24 +08:00
committed by GitHub
parent 6ff1edb67c
commit d4af2d3ef5
3 changed files with 20 additions and 8 deletions
+4 -2
View File
@@ -145,10 +145,12 @@ export const SERIF_FONTS = [
'Vollkorn',
'Georgia',
'Times New Roman',
_('LXGW WenKai GB Screen'),
_('LXGW WenKai TC'),
];
export const CJK_SERIF_FONTS = [_('LXGW WenKai GB Screen'), _('LXGW WenKai TC')];
export const CJK_SANS_SERIF_FONTS = ['Noto Sans SC', 'Noto Sans TC'];
export const SANS_SERIF_FONTS = ['Roboto', 'Noto Sans', 'Open Sans', 'Helvetica', 'Arial'];
export const MONOSPACE_FONTS = ['Fira Code', 'Lucida Console', 'Consolas', 'Courier New'];