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

refactor(flat-components): update fonts #1969

Merged
merged 1 commit into from
Jul 20, 2023
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
5 changes: 3 additions & 2 deletions packages/flat-components/src/theme/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
--link-focus: var(--blue-5);
--link-visited: var(--blue-3);

--font-family: "Avenir", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei",
"Helvetica Neue", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
--font-family: "Helvetica Neue", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei",
"Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;

font-family: var(--font-family);
color: var(--text);
Expand Down Expand Up @@ -90,6 +90,7 @@ html[lang^="zh"] .flat-theme-root {
}

.flat-color-scheme-dark {

& .flat-theme-root,
&.flat-theme-root {
background-color: var(--grey-12);
Expand Down