Commit Graph

116 Commits

Author SHA1 Message Date
baozefeng
3d9b891a26 feat: add getThemeVar file to support theme config and fix 4.1.2 theme config breaking change 2020-04-12 22:48:10 +08:00
zefeng
5999aa7414
docs: update customize theme docs (#23159) 2020-04-12 15:32:15 +08:00
Sam Chen
87f998beb7
docs: fix typo (#23013) 2020-04-08 09:34:26 +08:00
xrkffgg
dba1e5afa6
docs: fix compact emoji (#22817) 2020-04-01 16:25:09 +08:00
zefeng
e719440307
chore: fix typo (#22734) 2020-03-30 13:22:11 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
信鑫-King
296072a720
docs: 📖 use dark theme (#21668)
* docs: using umi 3

* docs: 📖 update dark theme usage doc

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-20 15:08:08 +08:00
Arlindo Torres
6bf5388792
docs: Dark theme in create-react-app (#22234)
* docs: Use dark theme in create-react-app

* docs: Customize theme fix
2020-03-15 23:42:13 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
myeunhyuk
37ca4f7884 docs: customize-theme.en-US.md (#20605) 2020-01-02 18:26:45 +08:00
陈小聪
014bed6358 docs: generate picker (#20515)
* docs: faq How to use dayjs instead of moment

* adjust article position

* add steps and use cases

* change docs

* add bisheng config source

* translate title

* remove customize TimePicker

* simplified document

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* Update docs/react/generate-picker.zh-CN.md

Co-Authored-By: 偏右 <afc163@gmail.com>

* add cra demo

* init demo refer 'Use in TypeScript'

Co-authored-by: 偏右 <afc163@gmail.com>
2020-01-02 16:05:59 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
偏右
f98debaeee
chore: 📝 improve docs and config json (#20364) 2019-12-20 15:07:18 +08:00
vagusX
0195679fac docs: v4 codemod (#20178) 2019-12-17 22:25:28 +08:00
ycjcl868
1ecf02b00a 📝 use dark-theme.js, antd.dark.less and css 2019-12-06 21:09:57 +08:00
ycjcl868
e1d850374a fix: rename antd-dark to dark 2019-12-04 23:13:59 +08:00
ycjcl868
0da761d1f1 📝 dark theme usage 2019-12-03 16:49:08 +08:00
ycjcl868
53e663ab61 tweak: antd dark theme in as required usage 2019-12-03 16:47:12 +08:00
ycjcl868
156001accd 📝 dark theme doc 2019-11-29 22:16:24 +08:00
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
Alex Simons
eb40cf4d85 Fixed spelling of official. (#18063) 2019-08-03 14:10:16 +08:00
afc163
facc7124da 📝 update documentation about css bundle size 2019-07-30 13:52:08 +08:00
afc163
06eb86c360
📝 Add offcial themes in documentation 2019-07-20 17:17:53 +08:00
afc163
c3d3b10cab
📝 Improve docs about tree shaking 2019-06-21 00:16:25 +08:00
afc163
d772fada7b
📝 update customize theme 2019-05-22 14:44:18 +08:00
zombieJ
1198fb60ef
update doc (#16545) 2019-05-13 10:59:07 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
ztplz
c079198778 Fix typo 2018-11-06 21:17:39 +08:00
afc163
2c4a78f16b doc: update umi config file of custom them 2018-09-20 23:12:22 +08:00
afc163
f67e7be445 site: add faq documentation
close #10857
2018-09-16 15:40:05 +08:00
HeskeyBaozi
ff44129e6e remove less vars @icon-url 2018-09-03 11:28:52 +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
Jean-Luc Sorak
47b11cfa1f Update customize-theme.en-US.md (#11911) 2018-08-27 23:25:36 +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
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
afc163
6458280cb3 site: add alt to images 2018-05-21 23:42:57 +08:00
jiang
2747aa341d
Update customize-theme.en-US.md 2018-05-10 19:56:18 +08:00
Zohaib Ijaz
bd81877cf8 #10007: Dynamic/Runtime Theme (#10384)
- Added links  to related articles
2018-05-07 16:12:28 +08:00
Wei Zhu
c4480145b4 docs: Add link of "Theming Ant Design with Sass and Webpack>"
Close #9815
2018-03-26 21:36:02 +08:00
拷钉
d3c57f09ea doc webpackrc (#9651) 2018-03-13 13:42:12 +08:00
henryv0
ac33baf940 Makes grammatical and typo fixes to the React Docs. (#7819) 2017-10-06 16:08:03 +08:00
afc163
5f9b000593 Add medium article link 2017-06-21 20:58:44 +08:00
afc163
351737a1aa update customize docs 2017-03-21 15:55:14 +08:00
Conway Anderson
e5fff4fad6 Clarity update for customize-theme.en-US.md (#5411)
First attempt at making the docs for the recommended form of theme customization more specific. The goal is to make this section more accessible to beginners.
2017-03-21 15:39:37 +08:00
afc163
6b4ca79359 update documentation 2017-02-20 20:29:30 +08:00
afc163
10199e5d96 docs: update customize theme doc
ref: dvajs/dva#562 dvajs/dva#575
2017-02-09 14:44:36 +08:00
afc163
cfcf72e70e update doc 2017-01-04 15:25:53 +08:00
afc163
047476efaf update customize-theme doc 2016-12-28 00:23:32 +08:00
偏右
ee5a8beca1 Add doc about using antd with create-react-app (#4294)
* Add doc about using antd with create-react-app, close #2526

* translate to english

* update comment

* update
2016-12-22 14:24:50 +08:00
Benjy Cui
59f0e6254b docs: add i18n link, ref: #3895 2016-12-06 10:19:51 +08:00
afc163
bf8b1bf6a9 fix docs 2016-12-04 17:37:26 +08:00
Marius Ileana
57fa4cbb52 Small typos and review 2016-11-23 22:13:21 +02:00
afc163
0613a1b065 update doc 2016-11-22 14:47:56 +08:00
afc163
5982e94456 Add screenshot 2016-11-18 16:16:34 +08:00
afc163
7af7e8382d Add customize-theme.md 2016-11-18 15:38:36 +08:00