Skip to content

Commit

Permalink
Specify color-scheme for each theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dubzer committed Oct 2, 2023
1 parent 7a307ee commit 904108e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/style/_themes.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Standard white theme
html {
color-scheme: light;
--color-background-code: #f5f5f5;
--color-background: #fff;
--input-color: #000;
Expand Down Expand Up @@ -35,6 +36,7 @@ html {
// block below and change the colors

html[data-theme="dark"] {
color-scheme: dark;
--color-background-code: #2a2a2a;
--color-background: #353535;
--input-color: #111;
Expand Down Expand Up @@ -67,6 +69,7 @@ html[data-theme="dark"] {
}

html[data-theme="ayu"] {
color-scheme: dark;
--color-background-code: #191f26;
--color-background: #0f1419;
--input-color: #c5c5c5;
Expand Down

0 comments on commit 904108e

Please sign in to comment.