Skip to content

Commit

Permalink
chore: update control icon token (#39644)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed Dec 19, 2022
1 parent 1ce7d3a commit 64edc6d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/cascader/style/index.tsx
Expand Up @@ -105,7 +105,7 @@ const genBaseStyle: GenerateStyle<CascaderToken> = (token) => {
'&:hover': {
background: token.controlItemBgHover,
},
' &-disabled': {
'&-disabled': {
color: token.colorTextDisabled,
cursor: 'not-allowed',

Expand Down
4 changes: 2 additions & 2 deletions components/input/style/index.tsx
Expand Up @@ -537,7 +537,7 @@ const genAllowClearStyle = (token: InputToken): CSSObject => {
// ========================= Input =========================
[`${componentCls}-clear-icon`]: {
margin: 0,
color: token.colorIcon,
color: token.colorTextQuaternary,
fontSize: token.fontSizeIcon,
verticalAlign: -1,
// https://github.com/ant-design/ant-design/pull/18151
Expand All @@ -546,7 +546,7 @@ const genAllowClearStyle = (token: InputToken): CSSObject => {
transition: `color ${token.motionDurationSlow}`,

'&:hover': {
color: token.colorTextDescription,
color: token.colorTextTertiary,
},

'&:active': {
Expand Down
6 changes: 3 additions & 3 deletions components/select/style/index.tsx
Expand Up @@ -166,7 +166,7 @@ const genBaseStyle: GenerateStyle<SelectToken> = (token) => {
insetInlineEnd: inputPaddingHorizontalBase,
height: token.fontSizeIcon,
marginTop: -token.fontSizeIcon / 2,
color: token.colorTextDisabled,
color: token.colorTextQuaternary,
fontSize: token.fontSizeIcon,
lineHeight: 1,
textAlign: 'center',
Expand Down Expand Up @@ -207,7 +207,7 @@ const genBaseStyle: GenerateStyle<SelectToken> = (token) => {
width: token.fontSizeIcon,
height: token.fontSizeIcon,
marginTop: -token.fontSizeIcon / 2,
color: token.colorTextDisabled,
color: token.colorTextQuaternary,
fontSize: token.fontSizeIcon,
fontStyle: 'normal',
lineHeight: 1,
Expand All @@ -224,7 +224,7 @@ const genBaseStyle: GenerateStyle<SelectToken> = (token) => {
},

'&:hover': {
color: token.colorTextDescription,
color: token.colorTextTertiary,
},
},

Expand Down

0 comments on commit 64edc6d

Please sign in to comment.