mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: input-number & mention text color not follow theme change (#38087)
This commit is contained in:
parent
0108d10eb2
commit
a48bc3c466
@ -153,6 +153,7 @@ const genInputNumberStyles: GenerateStyle<InputNumberToken> = (token: InputNumbe
|
||||
outline: 0,
|
||||
transition: `all ${motionDurationFast} linear`,
|
||||
appearance: 'textfield',
|
||||
color: token.colorText,
|
||||
...genPlaceholderStyle(token.colorTextPlaceholder),
|
||||
|
||||
'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':
|
||||
|
@ -80,6 +80,8 @@ const genMentionsStyle: GenerateStyle<MentionsToken> = token => {
|
||||
|
||||
// ================= Input Area =================
|
||||
[`> textarea, ${componentCls}-measure`]: {
|
||||
color: colorText,
|
||||
boxSizing: 'border-box',
|
||||
minHeight: controlHeight - 2,
|
||||
margin: 0,
|
||||
padding: `${inputPaddingVertical}px ${inputPaddingHorizontal}px`,
|
||||
|
Loading…
Reference in New Issue
Block a user