Browse Source

More readable font family for chinese quote

pull/8844/head
afc163 7 years ago
parent
commit
c6fcc31217
  1. 6
      components/style/core/base.less
  2. 2
      components/style/themes/default.less

6
components/style/core/base.less

@ -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%);

2
components/style/themes/default.less

@ -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%);

Loading…
Cancel
Save