mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 15:10:16 +00:00
调整emoji字体顺序
This commit is contained in:
11
lib/font.js
11
lib/font.js
@@ -35,13 +35,14 @@ const fontSerifCJK = !CJK()
|
|||||||
const fontFamilies = {
|
const fontFamilies = {
|
||||||
sans: [...(BLOG.CUSTOM_FONT ? BLOG.CUSTOM_FONT_SANS : []),
|
sans: [...(BLOG.CUSTOM_FONT ? BLOG.CUSTOM_FONT_SANS : []),
|
||||||
'"PingFang SC"', '-apple-system', 'BlinkMacSystemFont', '"Hiragino Sans GB"',
|
'"PingFang SC"', '-apple-system', 'BlinkMacSystemFont', '"Hiragino Sans GB"',
|
||||||
'"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Segoe UI"',
|
'"Segoe UI Symbol"', '"Segoe UI"', '"Noto Sans SC"', 'HarmonyOS_Regular',
|
||||||
'"Noto Sans SC"', 'HarmonyOS_Regular', '"Microsoft YaHei"', '"Helvetica Neue"',
|
'"Microsoft YaHei"', '"Helvetica Neue"', 'Helvetica', '"Source Han Sans SC"',
|
||||||
'Helvetica', '"Source Han Sans SC"',
|
'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"',
|
||||||
'Arial', 'sans-serif', ...fontSansCJK],
|
...fontSansCJK],
|
||||||
serif: [...(BLOG.CUSTOM_FONT ? BLOG.CUSTOM_FONT_SERIF : []),
|
serif: [...(BLOG.CUSTOM_FONT ? BLOG.CUSTOM_FONT_SERIF : []),
|
||||||
'"Noto Serif SC"', 'SimSun', '"Times New Roman"', 'Times', 'serif',
|
'"Noto Serif SC"', 'SimSun', '"Times New Roman"', 'Times', 'serif',
|
||||||
'"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', ...fontSerifCJK],
|
'"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"',
|
||||||
|
...fontSerifCJK],
|
||||||
noEmoji: [
|
noEmoji: [
|
||||||
'ui-sans-serif',
|
'ui-sans-serif',
|
||||||
'system-ui',
|
'system-ui',
|
||||||
|
|||||||
Reference in New Issue
Block a user