二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style ( #24019 )
* init
* move to base
* add link component
* update snasphot
* update snasphot of test
* move to Typography
* update test case
5 years ago
afc163
bd9be358e2
⌨️ Add less vars @link-focus-decoration and @link-focus-outline
5 years ago
moonrailgun
25599bc7ce
add text selection so we can overwrite it independent
6 years ago
Benjamin Amelot
f55ccfe81e
Remove underlines from focused links ( #15759 )
6 years ago
krokofant
637b2e326d
👌 IMPROVE: Scoping styles for themeing
6 years ago
Cong Zhang
bc4303b98a
Allow font-feature-settings to be customizable
6 years ago
米老朱
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
6 years ago
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
6 years ago
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
6 years ago
ztplz
46a7a048dc
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
Nima Dehnashi
54b944e8ee
Allow font-variant to be customized
6 years ago
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/ ).
6 years ago
afc163
20495dd5ba
Fix monospaced number font weight issue
http://codesandbox.io/s/w705jk5wz7
7 years ago
jojoLockLock
7915e58f1f
fix base.less @at-root syntax error ( #9832 )
7 years ago
afc163
506f97640e
Fix font family name, close ant-design/ant-design-pro#813
7 years ago
afc163
f88a405c32
Fix text font family unexpected change in chrome, close #8636
7 years ago
afc163
a0c189f800
Fix Chinese single quotes font family
7 years ago
EcmaProSrc.P/ka
534b69be21
Update base.less ( #8912 )
Repair spelling mistakes
7 years ago
afc163
7694a52374
Fix input look in iOS
7 years ago
afc163
c6fcc31217
More readable font family for chinese quote
7 years ago
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
* upgrade devDeps and fix lint
* Fix stylelint problems
7 years ago
afc163
7cc3e2c1cd
Fix input checkbox or radio disappeared, ref #7974
7 years ago
afc163
7c3a483190
Fix input checkbox or radio disappeared, ref #7974
7 years ago
afc163
7537aa11d0
Fix input shadow in iOS safari, ref #7974
7 years ago
朮厃
8e1cb081db
Remove the inner shadow on iOS inputs. ( #7974 )
7 years ago
afc163
31d0c3a49d
Fix @link-hover-decoration , close #7821 & #7531
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
afc163
37c8c4ed30
Fix @link-hover-decoration not working, close #7531
7 years ago
偏右
3b59a03c00
New component divider ( #7261 )
* Add Divider
* use Divider in table demos
* update demo instruction
* upgrade snapshots
7 years ago
afc163
efcc28ed51
header font weight
7 years ago
afc163
0e18c52b96
heading default text color
8 years ago
afc163
a4fb175672
move duplicated css code, close #6156
8 years ago
afc163
352e0f7ce4
tweak link text-decoration style
8 years ago
Kenaniah Cerny
ed434c57e9
improves link navigation
8 years ago
偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
8 years ago
afc163
fcdc375f77
update table demo detail style
8 years ago
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
8 years ago
Benjy Cui
b08a17d986
fix: add .clearfix
8 years ago
afc163
9042e139b3
Remove some unused code
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
afc163
aa3ffbe025
put normalize.css inside
9 years ago
yiminghe
c02dfb48fc
use js import
9 years ago
afc163
ee1ed40a77
use inline import ( ant-design/antd-init#52 )
9 years ago
afc163
5237d0a87b
Fix select input color
9 years ago
RaoHai
f7abfb7963
Put `normalize.css` under the management of npm ( #1583 )
+ denpendent on [normalize.css](https://www.npmjs.com/package/normalize.css )
- remove components/style/core/normalize.less
9 years ago
afc163
f1646b29dc
Add divider
9 years ago