Skip to content

Commit

Permalink
More readable font family for chinese quote
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jan 5, 2018
1 parent f7d5711 commit c6fcc31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions components/style/core/base.less
Expand Up @@ -14,6 +14,12 @@
unicode-range: U+30-39; unicode-range: U+30-39;
} }


@font-face {
font-family: "Chinese Quote";
src: local("PingFang SC"), local("SimSun");
unicode-range: U+201c, U+201d;
}

// HTML & Body reset // HTML & Body reset
html, body { html, body {
.square(100%); .square(100%);
Expand Down
2 changes: 1 addition & 1 deletion components/style/themes/default.less
Expand Up @@ -34,7 +34,7 @@
@body-background : #fff; @body-background : #fff;
// Base background color for most components // Base background color for most components
@component-background : #fff; @component-background : #fff;
@font-family-no-number : -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; @font-family-no-number : "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family : "Helvetica Neue For Number", @font-family-no-number; @font-family : "Helvetica Neue For Number", @font-family-no-number;
@code-family : Consolas, Menlo, Courier, monospace; @code-family : Consolas, Menlo, Courier, monospace;
@heading-color : fade(#000, 85%); @heading-color : fade(#000, 85%);
Expand Down

1 comment on commit c6fcc31

@afc163
Copy link
Member Author

@afc163 afc163 commented on c6fcc31 Jan 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2018-01-05 10 28 10

优化为

2018-01-05 10 29 59

Please sign in to comment.