From 506f97640ec34a6d3d9fdb18e8036e5d34796a5f Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 26 Jan 2018 10:24:24 +0800 Subject: [PATCH] Fix font family name, close ant-design/ant-design-pro#813 --- components/style/core/base.less | 2 +- components/style/themes/default.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/core/base.less b/components/style/core/base.less index 594d31338b..c743c7cd09 100644 --- a/components/style/core/base.less +++ b/components/style/core/base.less @@ -9,7 +9,7 @@ // http://stackoverflow.com/a/13611748/3040605 @font-face { - font-family: "Monospace Number"; + font-family: "Monospaced Number"; src: local("Tahoma"); unicode-range: U+30-39; } diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 69fce0296b..b3e4eab5d5 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -35,7 +35,7 @@ // Base background color for most components @component-background : #fff; @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 : "Monospace Number", @font-family-no-number; +@font-family : "Monospaced Number", @font-family-no-number; @code-family : Consolas, Menlo, Courier, monospace; @heading-color : fade(#000, 85%); @text-color : fade(#000, 65%);