Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(font): add sans serif as fallback for serif and mono fonts #4904

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/common/styles/variables/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
'Microsoft JhengHei', 'WenQuanYi Micro Hei', sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji';
--font-serif-tc: 'Songti TC', 'Songti SC', 'NSimSun', 'SimSun', serif,
'Apple Color Emoji', 'Segoe UI Emoji';
var(--font-sans-sc), 'Apple Color Emoji', 'Segoe UI Emoji';
--font-serif-sc: 'Songti SC', 'Songti TC', 'NSimSun', 'SimSun', serif,
'Apple Color Emoji', 'Segoe UI Emoji';
var(--font-sans-sc), 'Apple Color Emoji', 'Segoe UI Emoji';
--font-mono: menlo, 'SFMono-Regular', consolas, monaco, monospace,
'Apple Color Emoji', 'Segoe UI Emoji';
var(--font-sans-sc), 'Apple Color Emoji', 'Segoe UI Emoji';

/* Type Scale */
--text12: 0.75rem; /* 12px */
Expand Down
Loading