fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778)

This commit is contained in:
Daksh 2025-02-26 03:01:41 +05:30 committed by GitHub
parent 29c533a265
commit 598741a571
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {