Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/molecules/TextField/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ const Wrapper = styled.div<WrapperProps>`
: 0};
}

${({ $disabled }) =>
!$disabled &&
css`
div[class*='Input__Adornments'] > span {
color: ${colors.text.static_icons__tertiary.rgba};
}
`}
Comment on lines +78 to +84
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new unit/adornment color override isn’t covered by the existing TextField styling tests. Consider adding a jsdom test that renders a TextField with unit and asserts the rendered unit/adornment text has colors.text.static_icons__tertiary.rgba when enabled (and optionally that it does not override disabled/loading styling).

Copilot uses AI. Check for mistakes.

${({ $variant, $disabled }) => {
if ($disabled) {
return css`
Expand Down
Loading