Skip to content

Commit f69c2f3

Browse files
committed
docs(site): updates
- syntax-highlight element inherit root color-scheme
1 parent 44d9952 commit f69c2f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
border-color: light-dark(var(--light-accent), var(--dark-accent));
7272
}
7373

74+
syntax-highlight {
75+
color-scheme: inherit;
76+
}
77+
7478
code {
7579
background-color: light-dark(var(--light-button-face), var(--dark-button-face));
7680
border-radius: 0.25rem;

0 commit comments

Comments
 (0)