Skip to content

Commit

Permalink
feat: add focus style for tab
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed May 16, 2021
1 parent 6149345 commit 2ff73af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/styled/tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
&.tab-active{
@apply text-base-content border-base-content border-opacity-100;
}
&:focus {
@apply outline-none;
}
&:focus-visible {
@apply ring-2 ring-current ring-inset;
}
}
.tab-bordered{
@apply border-base-content border-opacity-20;
Expand Down

0 comments on commit 2ff73af

Please sign in to comment.