Commit Graph

629 Commits

Author SHA1 Message Date
ycjcl868
4be9e9dd62 fix: remove dark.less import 2019-12-03 22:27:39 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
d8ab994ecb fix: border-color use solid color 2019-12-03 19:57:09 +08:00
ycjcl868
dc90c21f15 fix: @theme default 2019-12-03 15:40:15 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
d6f41db414 fix: default theme button danger color 2019-12-03 12:21:21 +08:00
ycjcl868
d5d2051ec7 fix: components notification 2019-12-02 13:23:30 +08:00
ycjcl868
505b12a1e9 fix: table header dark 2019-12-02 12:27:14 +08:00
ycjcl868
898311c637 fix: datepicker bg @time-picker-panel-inner-bg 2019-12-02 12:22:19 +08:00
ycjcl868
dc1d1876f8 feat: @radio-dot-disabled-color 2019-12-02 12:03:05 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
d94845fc7c fix: remove @import dark 2019-12-02 00:00:12 +08:00
ycjcl868
aa963b53c0 fix: @mentions-dropdown-bg 2019-12-01 23:58:14 +08:00
ycjcl868
208d954a1d fix: @input-number-handler-bg 2019-12-01 23:52:38 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
ycjcl868
5590ba0d4e Merge 4.0-prepare into fix-dark-theme 2019-12-01 22:46:15 +08:00
ycjcl868
f7f17c86d5 feat: @dropdown-menu-submenu-disabled-bg 2019-12-01 22:45:19 +08:00
ycjcl868
327011da77 feat: @theme dark, default 2019-12-01 22:28:35 +08:00
ycjcl868
689d9b7ada feat: @mention-textarea-bg 2019-12-01 21:49:49 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
ycjcl868
d388c1dcc6 fix: cascader and input-number-handler bg 2019-12-01 21:42:02 +08:00
ycjcl868
673f86b3f5 fix: pagination dark theme 2019-12-01 21:23:11 +08:00
ycjcl868
8ad5b73016 chore: test antd dark theme component 2019-11-30 00:08:37 +08:00
ycjcl868
8985abda11 fix: color palette use @blue-6 base in light theme 2019-11-29 22:15:02 +08:00
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
ycjcl868
af0127c8e2 fix: layout dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
212b6fb01d fix: @red-base 2019-11-29 09:04:39 +00:00
ycjcl868
f10f351219 chore: TODO colorPalette 2019-11-29 09:04:39 +00:00
ycjcl868
a124ec8ddf feat: use @{color}-base 2019-11-29 09:04:39 +00:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
34f3b44f6d fix: button default background in dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
aedea846fc feat: add @upload-actions-color 2019-11-29 09:04:38 +00:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
ycjcl868
41609e40bc feat: add color-base for dark 2019-11-29 09:04:38 +00:00
ycjcl868
09c00720b8 feat: add btn-default-ghost 2019-11-29 09:04:38 +00:00
ycjcl868
279c24716c feat: add modal and drawer bg 2019-11-29 09:04:38 +00:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
ycjcl868
764c046fbc tweak: active and hover background color 2019-11-19 11:45:32 +08:00
ycjcl868
6d7950a1d9 fix: hover color use #f5f5f5 @gray-3 2019-11-19 10:20:25 +08:00
ycjcl868
79ae060e6e fix: hover and active background color 2019-11-18 22:06:49 +08:00
ycjcl868
ca8435ef7c tweak: functional status color 2019-11-15 14:00:08 +08:00
ycjcl868
7a47b7c98c fix: 0px 2019-11-15 12:28:50 +08:00
ycjcl868
e354fe618a tweak: shadow color 2019-11-15 12:16:07 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
ycjcl868
e3c0703ed6 tweak: divider color 2019-11-13 20:31:23 +08:00
ycjcl868
f900cf7066 tweak: border-radius all use 2px 2019-11-13 20:28:32 +08:00
Amumu
187b10320b chore: Delete duplicate variables (#19547)
* Delete duplicate variables

* chore

* chore
2019-11-04 12:08:27 +08:00
信鑫-King
696f5600ec feat: input,select less vars (#19546) 2019-11-04 11:23:29 +08:00
He Linming
2761460c86 style: add @modal-header-color variable (#19385)
* 💄 add @modal-header-color variable

close #19358

* 👌 change variable name
2019-10-24 10:36:59 +08:00
Dmitriy
a2f28f0ca7 💄 add @typography-title-margin-top and @typography-title-margin-bottom (#18746)
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables

* fix: heding margin moved: prefix variable out of default.less

* fixed: circleci

* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right

* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00
willc001
4e1bbccd54 refactor: add @form-item-label-colon-margin-{right,left} (#15478) 2019-10-14 14:52:23 +08:00
He Linming
a5bb161bb0 💄 add @page-header-back-color less variable (#18887)
close #18869
2019-09-19 09:47:16 +08:00
MrHeer
849237be0b 💄 Add @tree-node-hover-bg and @tree-node-selected-bg less variables
close #18539
2019-09-03 11:17:58 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
信鑫-King
69b0cc1a10 feat: card-bg-color less vars (#18531)
* feat: card-bg-color less vars

* fix: rm blank

* fix: less vars skeleton

* fix: bg color

* fix: less vars
2019-08-29 10:47:44 +08:00
ycjcl868
c581dea5be fix: rm inner and wrap 2019-08-29 10:46:53 +08:00
ycjcl868
28e5f47f81 fix: input-number-inner hover 2019-08-29 10:46:53 +08:00
ycjcl868
a787e54c9e feat: input-number less vars 2019-08-29 10:46:53 +08:00
信鑫-King
ab6dd46958 feat: modal footer border-color less vars (#18522) 2019-08-28 14:15:28 +08:00
He Linming
14f280f603 feat: Configurable heading font-weight (#18442) (#18456) 2019-08-26 22:57:38 +08:00
陈帅
3ff7cf329d Merge branch 'master' into feature 2019-08-26 11:14:50 +08:00
Qhan W
cde78c8981 修复纯图标按钮在默认形状下不同大小均显示为正方形 (#18458) 2019-08-25 21:04:10 +08:00
陈帅
e737e50207
feat: 🔥 new pageheader style (#18128)
* new pageheader style

* support avatar

* update demo

* snapshots updated

* fix lint

* change style

* add new style

* fix style

* update demo

* update demo

* fix test

* snapshots updated

* update doc

* remove extraContent

* Bread crumbs and back icon can only have one

* back icon will automatically disappear when configuring breadcrumbs

* update snapshot

* Improve the priority of backicon

* change doc

* change doc

* change doc

* update snapshot
2019-08-25 15:38:51 +08:00
信鑫-King
021e9af227 feat: less vars for select and anchor (#18444) 2019-08-23 22:19:04 +08:00
He Linming
721a545211 fix: descriptions background is not themeable (#18372) (#18440) 2019-08-23 17:03:03 +08:00
ikobe
e97bd6f4ae feat: resolve conflicts 2019-08-04 17:28:25 +08:00
alxkosov
678f8a5c65 feat: menu component customization: create new variables for easy customization (#17273)
* new variable for customize margins and font-size on menu

* vars for icons size for menu items

* var for color of icon selected-item on dark menu

* menu selected item: vars for color text and icon

* var for background on hover item in dark menu

* rename variable

* deleted vars for icon size in menu

* change @menu-item-last-margin to @menu-item-boundary-margin
2019-08-02 22:51:34 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
zombieJ
1363a39d7c
fix: Fix statistic font (#18044) 2019-08-02 12:10:09 +08:00
Yangzhedi
6c8c42c3e3 feat(default.less): add table-footer-bg and table-footer-color variable 2019-07-30 15:05:14 +08:00
jiang
d7bbb48fce
unified drawer and modal mask opacity (#17943) 2019-07-29 15:57:05 +08:00
偏右
bc2d24646e
💄 correct @input-hover-border-color (#17820)
https://github.com/ant-design/ant-design/pull/17784#issuecomment-514069999
2019-07-23 15:06:25 +08:00
zombieJ
bdea770670
Merge pull request #17804 from ant-design/master
chore: Merge master into feature
2019-07-23 10:23:55 +08:00
Aleksandr Chernokondratenko
4f781a1769 Long placeholders truncate (#17797) 2019-07-22 19:21:33 +08:00
偏右
1147ae6949
Merge pull request #17732 from ant-design/master
Merge master into feature
2019-07-19 12:20:08 +08:00
afc163
c15c0fc199 🔧 Add less variables for Tabs[type="card"] 2019-07-17 18:58:30 +08:00
Alexander.Kosov
6428840c50 create variable for customize size of icon on menu 2019-07-17 13:54:31 +03:00
afc163
b09d59e9fe 🔧 Add less variables for Timeline 2019-07-17 18:43:10 +08:00
afc163
6d76292b29 🔧 Add less var @progress-radius 2019-07-17 18:28:02 +08:00
afc163
2ad61d6ceb 🔧 Add less variables for Slider handler 2019-07-17 18:04:13 +08:00
afc163
3a3cf47472 💄 Optimize danger Button design 2019-07-17 17:48:10 +08:00
afc163
be3226b757
Merge master into feature 2019-06-14 16:20:29 +08:00
Sam Kirkland
7b3f0554bc
Update default.less 2019-06-10 23:58:42 -05:00
Alexander.Kosov
51b9c4698c Border-radius customization for Collapse Panel 2019-06-10 14:32:10 +03:00
Alexander.Kosov
b075b9eedd added three variables to allow customization of the dropdown list 2019-06-07 15:04:59 +03:00
陈帅
0cf07667a5 less variable should be extended 2019-06-05 19:13:25 +08:00
陈帅
6dd6e6512a add new less var 2019-06-05 19:13:25 +08:00
alxkosov
fb6d629e7b Added 2 variables to flexibly control the background of the table cells (#16843) 2019-06-03 10:05:37 +08:00
MrHeer
239c472c38 fix: use @error-color & @warning-color instead of @text-color-danger & @text-color-warning #16856 2019-05-30 19:21:08 +08:00
偏右
e0f8aed814
== to ===
close #16640
2019-05-17 10:28:22 +08:00
zombieJ
1198fb60ef
update doc (#16545) 2019-05-13 10:59:07 +08:00
zombieJ
543b620dd2
feat: Support Transfer render (#16026)
* clean up

* refactor select all logic

* omit old api to render children

* add search

* remove useless code

* fix logic

* Table demo

* update demo

* fixed min-height

* fix normal style

* style update

* update snapshot

* update snapshot

* update version

* update doc

* update md desc

* update test case

* fix test typo

* update demo

* update snapshot

* typescript correction

* update docs

* add Tree Transfer demo

* default expand all

* update demo
2019-05-07 17:10:42 +08:00
zombieJ
9d5f61363c
feat: Collapse support expandIconPosition (#16365)
* update doc

* support expandIconPosition

* update snapshot
2019-04-28 17:03:19 +08:00
zombieJ
8b4f0c269e
Merge pull request #16354 from ant-design/master
Merge master into feature
2019-04-28 16:29:44 +08:00
zombieJ
b63ceef831
refactor: Update Tree & TreeSelect deps (#16330)
* use CSSMotion

* update snapshot
2019-04-28 12:10:39 +08:00
偏右
0fc6e7d07f
Merge pull request #16306 from ant-design/pagination-bg
fix: Pagination active item should have background color
2019-04-25 16:41:32 +08:00
zombiej
5a462d864a fix: Pagination active item should have background color 2019-04-25 16:34:12 +08:00
陈帅
dd01852c23 change use name 2019-04-25 15:39:14 +08:00
zombiej
dfeeafa218 Merge remote-tracking branch 'origin/master' into feature 2019-04-21 15:07:01 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
moonrailgun
25599bc7ce add text selection so we can overwrite it independent 2019-04-18 12:31:04 +08:00
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable (#16118)
* add override

* add override support

* update doc
2019-04-16 21:59:25 +08:00
zombieJ
aff6f6d8fb
Merge pull request #16102 from ant-design/master
chore: Merge master into feature
2019-04-16 16:58:19 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
zombiej
ffa0e7378f fix typo 2019-04-15 14:53:14 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
Salavat Gizatov
9f9f81ed7a 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
2019-04-12 11:52:00 +08:00
zombiej
28d133ca93 Merge remote-tracking branch 'origin/master' into merge-master 2019-04-11 18:05:46 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
Salavat Gizatov
574313d2d8 feat: table customizing variable (#15971)
* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit
2019-04-09 17:08:17 +08:00
偏右
659efe05a8
Merge pull request #15613 from krokofant/master
Enable theme switching by html-prefix
2019-04-05 16:15:36 +08:00
偏右
9d06bec8dd 🐛 Fix components covered by Table fixed columns (#15782)
Reset @zindex-table-fixed to auto

close #15780
close #15499
2019-04-01 15:05:40 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
zombieJ
0fd0faa8a7
Update Card & PageHeader style (#15755)
* rm Card auto padding

* rm related test case

* adjust pageHeader to 24px

* use less variable

* adjust style
2019-03-31 22:39:26 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
zombiej
b83a80c99c Merge branch 'master' into merge-master 2019-03-30 16:05:49 +08:00
Andrés
fa69687733
Fix minor misspelling in less template comment 2019-03-26 10:39:16 +01:00
偏右
e752ec3414
Merge pull request #15638 from ant-design/master
Merge master to feature
2019-03-26 14:34:17 +08:00
krokofant
637b2e326d 👌 IMPROVE: Scoping styles for themeing 2019-03-24 17:52:14 +01:00
诸岳
6ae2ee4e31 Merge branch 'master' into feature 2019-03-24 08:41:22 +08:00
William Cai
57c20e3622 refactor: add @radio-button-checked-bg 2019-03-20 16:46:23 +08:00
William Cai
15781d706a refactor: add @select-item-selected-font-weight 2019-03-19 18:09:11 +08:00
Cong Zhang
bc4303b98a Allow font-feature-settings to be customizable 2019-03-19 15:03:52 +08:00
Denis
eacf35dbad Modal footer bg (#15469)
* Add less variable @modal-footer-bg

* Fix less variable @modal-footer-bg

* Update components/style/themes/default.less

Co-Authored-By: shumkovdenis <shumkovdenis@gmail.com>
2019-03-18 23:56:40 +08:00
Denis
360eefc7d5 Add less variable @modal-body-padding (#15476) 2019-03-18 15:07:14 +08:00
Bill Searle
ffc5321c18
Add vars to theme for btn border width and style 2019-03-14 15:03:29 +11:00
afc163
74ea064319
Add less variable @icon-color 2019-03-12 18:46:54 +08:00
afc163
56570aa539
💄 Add @pagination-item-bg-active
close #14739
2019-03-09 19:43:19 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close #15186 2019-03-06 16:31:07 +08:00
afc163
74aee564ed
🐛 Fix Collapse extra node style missing
close #15174
2019-03-04 19:15:02 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +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
Andrew Shearer
163140189f Fix quote rendering (#14708)
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.

fix #13095
2019-02-04 11:36:03 +08:00
zombieJ
3bd784cec6
force opacity of 0 (#14703) 2019-02-03 09:02:46 +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
Gautier
8bb3b10c01 Add a new less variable to override the list header background (#14519)
* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
* master: (45 commits)
  Add type definitions for Steps.Step (#14468)
  add select check to fix edge wave issue (#14469)
  Fix for Pagination ellipsis misalignment (#14473)
  change sentry id
   Add sentry in ant.design
  💄 New Sketch resources!
  fix transfer ref (#14441)
  Add onMouseEnter and onMouseLeave for Menu Item (#14454)
  update snapshot (#14467)
  📝 beautify code style in documentation (#14457)
  Updating type: TreeSelectProps.getPopupContainer (#14443)
  change error version
  3.12.4 changelog (#14436)
  Format
  Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
  docs: updated doc for create-react-app
  fix prefixCls of empty go to div (#14404)
  update snapshot (#14406)
  add radius on table-placeholder to fix table small size border clip (#14398)
  fix style of Input.Search with enterButton (#14397)
  ...
2019-01-22 17:34:10 +08:00
zombieJ
0e8e2b53e4
add select check to fix edge wave issue (#14469)
* add select check to fix edge wave issue
fix #14466

* update style

* add comment

* rm removeAttribute
2019-01-22 16:23:59 +08:00
信鑫-King
8896f7b4af feat: select border less param (#14348) 2019-01-15 18:03:17 +08:00
afc163
9202509503 💄 fix slider focus style 2019-01-14 23:49:41 +08:00
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00