Skip to content

Commit

Permalink
update icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Liu committed Dec 20, 2024
1 parent 6a4fcf7 commit 1c9528f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions easy-ui-react/src/DatePicker/DatePicker.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,19 @@
@include Input.iconEndInput;
}

.datePickerTrigger > :last-child {
color: design-token("color.primary.500");
.datePickerTrigger:not(.disabled) > :last-child {
color: design-token("color.neutral.700");
cursor: pointer;
top: calc(design-token("space.1-5") - design-token("shape.border_width.1"));

&:hover {
color: design-token("color.primary.600");
color: design-token("color.neutral.800");
}
}

.datePickerTrigger > :last-child {
top: calc(design-token("space.1-5") - design-token("shape.border_width.1"));
}

.datePickerSm .datePickerTrigger > :last-child {
top: calc(design-token("space.1") - design-token("shape.border_width.1"));
}
Expand Down
1 change: 1 addition & 0 deletions easy-ui-react/src/DatePicker/DatePickerTrigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function DatePickerTrigger(props: DatePickerTriggerProps) {
const className = classNames(
styles.datePickerTrigger,
(isInvalid || state.isInvalid) && styles.errorInput,
isDisabled && styles.disabled,
);

return (
Expand Down

0 comments on commit 1c9528f

Please sign in to comment.