Skip to content

Commit

Permalink
fix(css): 🚫 --dsc-tabs__ βœ… --dsc-tabs-
Browse files Browse the repository at this point in the history
  • Loading branch information
unekinn committed Nov 18, 2024
1 parent 58ecb78 commit d69f109
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/css/tabs.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ds-tabs {
--dsc-tabs__tab-bottom-border-color: transparent;
--dsc-tabs-tab-bottom-border-color: transparent;
--dsc-tabs-tab-padding: var(--ds-spacing-3) var(--ds-spacing-5);
--dsc-tabs-tab-color: var(--ds-color-neutral-text-subtle);
--dsc-tabs-content-padding: var(--ds-spacing-5);
Expand Down Expand Up @@ -48,7 +48,7 @@
}

&[aria-selected='true'] {
--dsc-tabs__tab-bottom-border-color: var(--ds-color-base-default);
--dsc-tabs-tab-bottom-border-color: var(--ds-color-base-default);
--dsc-tabs-tab-color: var(--ds-color-text-subtle);
}

Expand All @@ -64,15 +64,15 @@
display: block;
height: .15em; /* Scale with font */
width: 100%;
background-color: var(--dsc-tabs__tab-bottom-border-color);
background-color: var(--dsc-tabs-tab-bottom-border-color);
position: absolute;
bottom: 0;
left: 0;
}

@media (hover: hover) and (pointer: fine) {
&:hover:not([aria-selected='true']) {
--dsc-tabs__tab-bottom-border-color: var(--ds-color-neutral-border-subtle);
--dsc-tabs-tab-bottom-border-color: var(--ds-color-neutral-border-subtle);
--dsc-tabs-tab-color: var(--ds-color-neutral-text-default);
}
}
Expand Down

0 comments on commit d69f109

Please sign in to comment.