Skip to content

Commit

Permalink
feat(core): add color-scheme by default for tuiTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 2, 2024
1 parent 9ac86a3 commit c610ea0
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 c610ea0

Please sign in to comment.