diff --git a/packages/css/tabs.css b/packages/css/tabs.css index 31ea68ae6a..cf0e9d88db 100644 --- a/packages/css/tabs.css +++ b/packages/css/tabs.css @@ -7,68 +7,68 @@ --dsc-tabs-list-border-color: var(--ds-color-neutral-border-subtle); } -.ds-tabs__panel { +& u-tabpanel { padding: var(--dsc-tabs-content-padding); color: var(--dsc-tabs-content-color); } -.ds-tabs__tablist { +& u-tablist { display: flex; flex-direction: row; border-bottom: var(--ds-border-width-default) solid var(--dsc-tabs-list-border-color); position: relative; -} -.ds-tabs__tab { - align-items: center; - background: none; - border: 0; - box-sizing: border-box; - color: var(--dsc-tabs-tab-color); - cursor: pointer; - display: flex; - flex-direction: row; - font-family: inherit; - font-size: inherit; - gap: var(--ds-spacing-1); - justify-content: center; - line-height: var(--ds-line-height-sm); - margin: 0; - padding: var(--dsc-tabs-tab-padding); - position: relative; - text-align: center; + & u-tab { + align-items: center; + background: none; + border: 0; + box-sizing: border-box; + color: var(--dsc-tabs-tab-color); + cursor: pointer; + display: flex; + flex-direction: row; + font-family: inherit; + font-size: inherit; + gap: var(--ds-spacing-1); + justify-content: center; + line-height: var(--ds-line-height-sm); + margin: 0; + padding: var(--dsc-tabs-tab-padding); + position: relative; + text-align: center; - &:not([data-size]) { - font-size: inherit; /* Ensure inheriting font-size when