Skip to content

Commit aa5bec0

Browse files
authored
style: Set unit text color (#1274)
* 💄 Set unit text color * 🚧 Adjust unit color only when enabled * 🚧 Fix early return
1 parent ac8a214 commit aa5bec0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/molecules/TextField/TextField.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ const Wrapper = styled.div<WrapperProps>`
7575
: 0};
7676
}
7777
78+
${({ $disabled }) =>
79+
!$disabled &&
80+
css`
81+
div[class*='Input__Adornments'] > span {
82+
color: ${colors.text.static_icons__tertiary.rgba};
83+
}
84+
`}
85+
7886
${({ $variant, $disabled }) => {
7987
if ($disabled) {
8088
return css`

0 commit comments

Comments
 (0)