Skip to content

Commit

Permalink
feat(core): add color-scheme by default for tuiTheme (#9315)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 2, 2024
1 parent 5856b18 commit d3ce6b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/core/styles/theme/palette.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[tuiTheme='dark'] {
color-scheme: dark;

// Backgrounds
--tui-background-base: #222;
--tui-background-base-alt: #333;
Expand Down Expand Up @@ -45,6 +47,10 @@
--tui-text-negative-hover: #bb593a;
}

[tuiTheme='light'] {
color-scheme: light;
}

&:root,
[tuiTheme='light'] {
// Backgrounds
Expand Down

0 comments on commit d3ce6b1

Please sign in to comment.