Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
styles: changed tabs styles according to new figma tab design
Browse files Browse the repository at this point in the history
  • Loading branch information
rostyslavvnahornyi committed Jan 24, 2024
1 parent 473e6cc commit 51dc77f
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/components/components/Tabs/Tabs.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@
font-size: 16px;
line-height: 19.2px;
font-weight: 400;

transition: 0.3s ease-out;
}

.inactiveTab {
color: variables.$lightgray-200;
color: variables.$white;

&:hover {
cursor: pointer;
color: variables.$gray-300;
background-color: rgba($color: variables.$gray-500, $alpha: 0.4);
}

&:focus-visible {
Expand All @@ -54,26 +56,15 @@
}

.activeTab {
color: #ddd;
background-color: variables.$darkgray-300;

&:hover {
transition: all 0.3s;
background-color: variables.$black-400;
transition: all 0.3s;
}
color: variables.$white;
background-color: variables.$gray-500 !important;

&:focus-visible {
border-radius: 11px;
border: 1px solid variables.$white;
background-color: variables.$black-400;
}

&:not(:focus) {
color: #ddd;
background-color: variables.$darkgray-300;
}

&:active {
background-color: variables.$black-700;
transition: all 0.3s;
Expand Down

0 comments on commit 51dc77f

Please sign in to comment.