Commit Graph

69 Commits

Author SHA1 Message Date
ycjcl868
4895c3d2a9 fix: dark theme 2019-12-23 11:46:40 +08:00
ycjcl868
d60b736762 Merge origin/4.0-prepare into feat-dark-palette 2019-12-21 15:51:05 +08:00
afc163
18568be7de
🐛 fix side menu border
935e4fd1c4 (r360345135)
2019-12-21 12:09:29 +08:00
ycjcl868
6a96299010 Merge 4.0-prepare into feat-dark-palette 2019-12-20 16:38:33 +08:00
偏右
4ca79ffc07 docs: components and documentation in two pages (#20330)
* 📝 Add documentation in header nav

* site: fix header active item and menu items

* 💄 better components menu group style

* 💄 more details of site menu style

*  fix eslint error
2019-12-19 14:47:12 +08:00
ycjcl868
2aa9ab6791 chore: use dark-vars.js 2019-12-18 22:42:09 +08:00
ycjcl868
f20c746482 fix: change dark theme 2019-12-18 21:31:23 +08:00
ycjcl868
47608776b5 feat: dark theme change 2019-12-18 20:06:36 +08:00
ycjcl868
8ffcbe468a feat: change theme 2019-12-18 18:45:05 +08:00
ycjcl868
e53a05cf53 tmp: not merge 2019-12-18 15:28:36 +08:00
afc163
53eee985f0 🐛 docs: fix scrollama error
https://github.com/russellgoldenberg/scrollama/pull/106
2019-11-29 10:13:38 +08:00
Ilya Bondarenko
8846122060 feat: Add visible to filterDropdown function (#17614)
* Add visible to filterDropdown function

* Update tests
2019-09-17 14:22:16 +08:00
afc163
a9a24d0d39 📝 Add components count in component page 2019-07-17 19:52:21 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
偏右
c5a4eef414 💄 Enhance component demo (#15511) 2019-03-21 09:48:50 +08:00
偏右
0c6a3b3975
💄 Fix hotjar emoji color (#15521) 2019-03-20 19:34:07 +08:00
jljsj33
7401d1622b fix firefox window.scroll invalid 2019-03-18 15:49:12 +08:00
ycjcl868
f607872e51 💄 scroll smooth 2019-03-11 12:29:07 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
01a59880e8 site: primary color for hotjar and nprogress 2018-10-28 17:59:34 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
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
afc163
e400ef6d30 site: fix extra space in page bottom 2018-03-26 16:53:02 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
ddcat1115
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
0710f826f3 fix menu text color 2017-11-28 17:59:28 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
afc163
b2810f2fa9 site: fix menu z-index 2017-11-27 16:51:59 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00
jiang
8260e32d1d fix mobile menu (#8252) 2017-11-21 11:18:31 +08:00
jiang
a5bf187271 update menu responsive, ref #4682 (#8226)
* update menu responsive, ref #4682

* update popover menu style
2017-11-17 19:17:37 +08:00
afc163
e77108c775 site: update page background 2017-09-08 13:44:52 +08:00
afc163
fb8fec6d3a site: remove font smoothing style 2017-09-08 13:36:10 +08:00
afc163
352e0f7ce4 tweak link text-decoration style 2017-04-05 14:58:41 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
偏右
84e3aa2a37 New design docs (#5370)
* refactor design documentations

* update color document

* Add icon

* Fix images in documentation

* fix some documentation style

* Finish icon doc

* Add copywriting doc

* Add layout.md and navigation.md

* Add more docs

* Fix error color

* improve markdown doc width

* update some details

* fix doc detail

* Add motion.md
2017-03-17 18:56:37 +08:00
afc163
d55ff63587 site: add smooth font render back 2017-03-06 17:36:58 +08:00
afc163
c94a8d7ddc site: remove font smoothing style 2017-03-02 13:38:33 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
d44a0ece3f site: improve styles 2017-02-26 15:09:52 +08:00