mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-06-16 09:46:39 +00:00
fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778)
This commit is contained in:
parent
29c533a265
commit
598741a571
@ -29,7 +29,7 @@ export interface Theme {
|
|||||||
export type ThemeKey = keyof Colors
|
export type ThemeKey = keyof Colors
|
||||||
|
|
||||||
const DEFAULT_SANS_SERIF =
|
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"
|
const DEFAULT_MONO = "ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace"
|
||||||
|
|
||||||
export function googleFontHref(theme: Theme) {
|
export function googleFontHref(theme: Theme) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user