mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-10 00:30:39 +01:00
Merge pull request #967 from h3poteto/emoji
Add default fonts for emoji in Linux
This commit is contained in:
commit
4de4eaf846
@ -80,7 +80,7 @@ body,
|
|||||||
}
|
}
|
||||||
|
|
||||||
--specified-fonts: 'Noto Sans', 'Noto Sans CJK JP', 'Takaoゴシック', 'ヒラギノ角ゴ ProN W3', '-apple-system', 'BlinkMacSystemFont',
|
--specified-fonts: 'Noto Sans', 'Noto Sans CJK JP', 'Takaoゴシック', 'ヒラギノ角ゴ ProN W3', '-apple-system', 'BlinkMacSystemFont',
|
||||||
'Segoe UI', 'Roboto', 'Helvetica Neue', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
'Segoe UI', 'Roboto', 'Helvetica Neue', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Noto Emoji';
|
||||||
|
|
||||||
font-family: var(--specified-fonts);
|
font-family: var(--specified-fonts);
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ const mutations: MutationTree<AppearanceState> = {
|
|||||||
state.appearance = conf
|
state.appearance = conf
|
||||||
},
|
},
|
||||||
[MUTATION_TYPES.UPDATE_FONTS]: (state, fonts: Array<string>) => {
|
[MUTATION_TYPES.UPDATE_FONTS]: (state, fonts: Array<string>) => {
|
||||||
state.fonts = fonts
|
state.fonts = Array.from(new Set(fonts))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,5 +10,7 @@ export default [
|
|||||||
'Helvetica Neue',
|
'Helvetica Neue',
|
||||||
'Apple Color Emoji',
|
'Apple Color Emoji',
|
||||||
'Segoe UI Emoji',
|
'Segoe UI Emoji',
|
||||||
'Segoe UI Symbol'
|
'Segoe UI Symbol',
|
||||||
|
'Noto Color Emoji',
|
||||||
|
'Noto Emoji'
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user