fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778)
This commit is contained in:
parent
29c533a265
commit
598741a571
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export interface Theme {
|
|||
export type ThemeKey = keyof Colors
|
||||
|
||||
const DEFAULT_SANS_SERIF =
|
||||
'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif'
|
||||
'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
||||
const DEFAULT_MONO = "ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace"
|
||||
|
||||
export function googleFontHref(theme: Theme) {
|
||||
|
|
Loading…
Add table
Reference in a new issue