Skip to content

Commit

Permalink
Tabs: keep full opacity of focus ring on disabled tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jul 19, 2024
1 parent e685f68 commit cbd16b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/tabs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ export const Tab = styled( Ariakit.Tab )`
font-weight: 500;
text-align: inherit;
hyphens: auto;
color: ${ COLORS.theme.foreground };
&[aria-disabled='true'] {
cursor: default;
opacity: 0.3;
color: ${ COLORS.theme.gray[ 700 ] };
}
&:hover {
Expand Down

0 comments on commit cbd16b7

Please sign in to comment.