Skip to content

Commit 73cf7ae

Browse files
authored
Merge pull request #773 from maiieul/remove-headless-horrible-pic
docs: small fixes
2 parents ce7fe44 + 490091f commit 73cf7ae

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node_version: [20, 22]
13+
node_version: [18, 20, 22]
1414

1515
steps:
1616
- name: Cancel Previous Runs
-197 KB
Binary file not shown.

apps/website/src/routes/docs/headless/tabs/index.css

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
.tabs-example [role='tab'] {
66
width: 138px;
7-
background: white;
7+
background: var(--background);
8+
color: var(--foreground);
89
}
910

1011
.tabs-example [role='tab'][disabled] {
@@ -13,7 +14,8 @@
1314
}
1415

1516
.tabs-example [role='tab'][data-state='selected'] {
16-
background: hsl(var(--primary) / 0.3);
17+
background: hsl(var(--primary));
18+
color: hsl(var(--primary-foreground));
1719
}
1820

1921
.tabs-example [role='tablist'] {
@@ -26,13 +28,3 @@
2628
font-weight: 600;
2729
margin-bottom: 0.5rem;
2830
}
29-
30-
.dark .tabs-example [role='tab'] {
31-
background: hsl(var(--foreground));
32-
color: hsl(var(--muted));
33-
}
34-
35-
.dark .tabs-example [role='tab'][data-state='selected'] {
36-
background: hsl(var(--primary));
37-
color: hsl(var(--muted));
38-
}

0 commit comments

Comments
 (0)