Skip to content

Commit

Permalink
Merge pull request #26 from cballenar/issue-23-root-variables-are-ove…
Browse files Browse the repository at this point in the history
…rwritten

Issue #23: Apply root variables at html level
  • Loading branch information
SlyBouhafs authored Jun 7, 2024
2 parents 72cc200 + 4d02b11 commit 8e99666
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions custom.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

:root {
.dark-theme,
html[data-theme="dark"] {
--background: #282a36;
--light-background: #343746;
--lighter-background: #424450;
Expand Down Expand Up @@ -34,10 +35,7 @@

--ls-border-radius-low: 3px;
--ls-border-radius-medium: 6px;
}

.dark-theme,
html[data-theme="dark"] {
--foreground: var(--white);

--ls-primary-background-color: var(--background);
Expand Down

0 comments on commit 8e99666

Please sign in to comment.