Skip to content

Commit 431a70e

Browse files
committed
feat: update tab sheet styles for improved visual hierarchy and focus indication
1 parent a38d39a commit 431a70e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

components/tab-sheet/tab-sheet.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
:host {
2-
--cl-focused-fg: var(--cl-focused);
3-
--cl-focused-bg: white;
2+
--cl-suppressed: gray;
43
display: flex;
54
}
65

@@ -47,12 +46,11 @@
4746
margin: 0;
4847
padding: var(--padding, 0.5rem);
4948
cursor: pointer;
50-
background: #f0f0f0;
49+
color: var(--cl-suppressed);
5150
}
5251

5352
/* Add styles for the selected slotted items */
5453
.header ::slotted([aria-selected="true"]) {
55-
color: var(--cl-focused-fg);
56-
background: var(--cl-focused-bg);
57-
border: 1px solid var(--cl-border);
54+
color: var(--cl-focused);
55+
border-bottom: 2px solid var(--cl-focused);
5856
}

0 commit comments

Comments
 (0)