Skip to content

Commit a679813

Browse files
feat(components/tabs): add more contrast between active and inactive tabs
1 parent c17416a commit a679813

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/theme/components/tabs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const collapse = definePartsStyle(() => ({
7070
tab: {
7171
gap: 4,
7272
bg: TAB_INACTIVE,
73+
color: 'base.400',
7374
fontSize: 'sm',
7475
fontWeight: 'semibold',
7576
borderInlineEnd: 1,
@@ -84,6 +85,7 @@ const collapse = definePartsStyle(() => ({
8485
':has(+ [aria-selected="true"])': { borderBottomEndRadius: 'lg' },
8586
_selected: {
8687
bg: TAB_ACTIVE,
88+
color: 'base.50',
8789
},
8890
_last: {
8991
borderTopEndRadius: 'base',

0 commit comments

Comments
 (0)