Skip to content

Commit

Permalink
fix: tab colors
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Apr 12, 2024
1 parent 685b0c2 commit 0dbded6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/input-elements/Tabs/Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getVariantStyles(tabVariant: TabVariant, color?: Color) {
// light
"hover:border-tremor-content hover:text-tremor-content-emphasis text-tremor-content",
// dark
"dark:hover:border-dark-tremor-content-emphasis dark:hover:text-dark-tremor-content-emphasis dark:text-dark-tremor-content",
"ui-not-selected:dark:hover:border-dark-tremor-content-emphasis ui-not-selected:dark:hover:text-dark-tremor-content-emphasis ui-not-selected:dark:text-dark-tremor-content",
// brand
color
? getColorClassNames(color, colorPalette.border).selectBorderColor
Expand All @@ -31,7 +31,7 @@ function getVariantStyles(tabVariant: TabVariant, color?: Color) {
// light
"ui-selected:border-tremor-border ui-selected:bg-tremor-background ui-selected:shadow-tremor-input hover:text-tremor-content-emphasis ui-selected:text-tremor-brand",
// dark
"dark:ui-selected:border-dark-tremor-border dark:ui-selected:bg-dark-tremor-background dark:ui-selected:shadow-dark-tremor-input dark:hover:text-dark-tremor-content-emphasis dark:ui-selected:text-dark-tremor-brand",
"dark:ui-selected:border-dark-tremor-border dark:ui-selected:bg-dark-tremor-background dark:ui-selected:shadow-dark-tremor-input dark:hover:text-dark-tremor-content-emphasis dark:ui-selected:text-dark-tremor-brand dark:ui-not-selected:text-dark-tremor-content",
// brand
color
? getColorClassNames(color, colorPalette.text).selectTextColor
Expand Down

0 comments on commit 0dbded6

Please sign in to comment.