Skip to content

Commit

Permalink
fix: colors seelct error
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Jun 21, 2024
1 parent 0e7b306 commit 613af59
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/input-elements/selectUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ export const getSelectButtonColors = (
? "text-tremor-content-emphasis dark:text-dark-tremor-content-emphasis"
: "text-tremor-content dark:text-dark-tremor-content",
isDisabled && "text-tremor-content-subtle dark:text-dark-tremor-content-subtle",
hasError && "text-red-500 placeholder:text-red-500",
hasError ? "border-red-500" : "border-tremor-border dark:border-dark-tremor-border",
hasError &&
"text-red-500 placeholder:text-red-500 dark:text-red-500 dark:placeholder:text-red-500",
hasError
? "border-red-500 dark:border-red-500"
: "border-tremor-border dark:border-dark-tremor-border",
);
};

Expand Down

0 comments on commit 613af59

Please sign in to comment.