Commit Graph

920 Commits

Author SHA1 Message Date
zombiej
2ee2a731f3 update zh-CN 2018-09-05 14:33:23 +08:00
Dmitry Guryev
54bd6a32d1
Fix less config
Otherwise there is a error:

```
Failed to compile.

./node_modules/antd/es/button/style/index.lessModule build failed:

// https://github.com/ant-design/ant-motion/issues/44
.bezierEasingMixin();^
Inline JavaScript is not enabled. Is it set in your options?
      in /.../node_modules/antd/es/style/color/bezierEasing.less (line 110, column 0)
```

Solution found here:
https://github.com/ant-design/ant-design/issues/7927#issuecomment-400368810
2018-09-04 17:07:15 +02:00
Lyndon001
457af59b7e
Update values.zh-CN.md 2018-09-04 09:07:43 +08:00
HeskeyBaozi
ff44129e6e remove less vars @icon-url 2018-09-03 11:28:52 +08:00
偏右
7ada8399bc
Merge pull request #11999 from ant-design/feature-3.9.0
👏👏👏Feature 3.9.0 is out
2018-09-02 21:00:18 +08:00
Arnaud Benhamdine
c2e2f028e6 Fix typo, improve wording 2018-09-02 15:08:54 +08:00
Arnaud Benhamdine
8633bb4f60 Remove trailing comma in code example 2018-09-02 15:08:54 +08:00
Arnaud Benhamdine
a8dce2c6cc Improve wording 2018-09-02 15:08:54 +08:00
Arnaud Benhamdine
4e642e6830 Move comment out of code 2018-09-02 15:08:54 +08:00
Arnaud Benhamdine
43d623ca56 Add postcss solution, improve wording 2018-09-02 15:08:54 +08:00
Arnaud Benhamdine
10c866d10c Explain how to prevent global styles pollution
Add explantion in docs (customize theme) to how to prevent global styles pollution by configuring webpabk.
Based on https://github.com/ant-design/ant-design/issues/4331#issuecomment-391066131
2018-09-02 15:08:54 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
carrie-tanminyi
ac5742baaa Update icon.zh-CN.md (#11940) 2018-08-29 10:51:08 +08:00
carrie-tanminyi
b6440088be Update work-with-us.zh-CN.md (#11928)
* Update work-with-us.zh-CN.md

* Update work-with-us.zh-CN.md
2018-08-28 20:22:07 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
carrie-tanminyi
7b36731051 Update colors.zh-CN.md (#11925) 2018-08-28 17:13:39 +08:00
afc163
590af0cdf2 fix link 404 2018-08-27 23:26:48 +08:00
Jean-Luc Sorak
47b11cfa1f Update customize-theme.en-US.md (#11911) 2018-08-27 23:25:36 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
afc163
eecc5b0f9c tweak doc bugs 2018-08-21 15:44:05 +08:00
afc163
c2f7257c3f fix typo 2018-08-21 15:26:00 +08:00
afc163
6bb8d26a3b fix typo 2018-08-21 15:23:41 +08:00
afc163
53dd82e4e3 docs: add major less variables instruction 2018-08-21 14:04:18 +08:00
afc163
6fd5e95cec docs: renew <Customize Theme> documentation 2018-08-21 00:32:11 +08:00
afc163
5f5417c169 doc: tweak use-with-create-react-app doc 2018-08-18 23:42:15 +08:00
Lyndon001
3ba45845ad
Update values.zh-CN.md 2018-08-16 17:15:16 +08:00
Wei Zhu
36fc837f02 site: remove insecure img urls 2018-08-06 17:03:32 +08:00
afc163
f78a78e03b docs: instruction about antd/es/button 2018-08-05 13:35:54 +08:00
afc163
1cea1793e8 update font.zh-CN.md 2018-08-04 11:33:35 +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
1aa368d3e2 docs: Add zhihu article link 2018-07-30 16:21:59 +08:00
Jonathan Chen
fc7c64ce06 Docs: Fix spelling (#11316) 2018-07-18 09:43:40 +08:00
Lyndon001
a0f5044189
Update visual.md 2018-07-17 14:09:36 +08:00
Gao Jiangmiao
690804d310 Revert yarn command in use-in-typescript.md 2018-07-11 19:15:32 +08:00
Gao Jiangmiao
46add091ca Fix typo in in use-in-typescript.md 2018-07-11 19:15:32 +08:00
英布
e47b82d22a Update dva related links for English docs
Update dva related links for English docs
2018-07-10 23:12:58 +08:00
英布
9f1c8bc184 dva 相关外链更新到 dva 官网
理解 dva 的 [8 个概念]、查看 [dva 知识地图] 的链接都404了,顺便更新到 dva 官网去
2018-07-10 23:12:58 +08:00
Andre Perunicic
31c07d8372 Update customize-theme.zh-CN.md with link to antd-scss-theme-plugin article
This article describes how to install the use the `antd-scss-theme-plugin` for Webpack, and how doing so allows you to: 1) customize Ant Design's variables from an SCSS theme file, 2) use compiled Ant Design variables in other SCSS theme files in your project, and 3) enable hot-reloading of Ant Design styles.
2018-07-04 10:38:14 +08:00
Andre Perunicic
5980cf957a Update customize-theme.en-US.md with link to antd-scss-theme-plugin article
This article describes how to install the use the `antd-scss-theme-plugin` for Webpack, and how doing so allows you to: 1) customize Ant Design's variables from an SCSS theme file, 2) use compiled Ant Design variables in other SCSS theme files in your project, and 3) enable hot-reloading of Ant Design styles.
2018-07-04 10:38:14 +08:00
偏右
ee1f450e04
Update use-with-create-react-app.en-US.md 2018-07-02 17:56:16 +08:00
agent-z
8c156afb39 Update use-with-create-react-app.zh-CN.md 2018-07-02 17:55:37 +08:00
Alberto Gimeno
4b5d54671a Update App.tsx example to fix tslint errors
There were a few tslint errors and also the extension of the file name was `.js` instead of `.tsx`
2018-06-19 10:03:39 +08:00
Lyndon001
f44584845b
Update work-with-us.zh-CN.md 2018-06-12 17:22:16 +08:00
Lyndon001
f883a6f351
Update work-with-us.zh-CN.md 2018-06-12 17:20:55 +08:00
Wei Zhu
396f81dbab
Update cases.zh-CN.md 2018-06-07 11:58:16 +08:00
Wei Zhu
a4a3b5e12d
Update cases.en-US.md 2018-06-07 11:57:11 +08:00
wangshantao
cdc571b17e 图片描述与内容不符 (#10755) 2018-06-04 10:41:47 +08:00
Lyndon001
e13c1a678d
Update introduce.zh-CN.md 2018-06-03 22:58:59 +08:00