ant-design/components/style
Thibault Derousseaux 43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
..
color fix stylelint 2018-04-19 11:40:58 +08:00
core Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
mixins Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
themes Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
index.less Fix some lesshint problems 2017-01-11 21:45:09 +08:00
index.tsx chore: remove useless code 2017-02-10 09:43:33 +08:00
v2-compatible-reset.less New component styles (#7731) 2017-09-27 22:32:49 +08:00
v2-compatible-reset.tsx New component styles (#7731) 2017-09-27 22:32:49 +08:00