Skip to content

Commit

Permalink
add color variables in component
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Oct 18, 2024
1 parent 49b0341 commit 5c9dd10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
body {
--darkmode-color-primary: #dd0031;
--darkmode-color-secondary: #34495e;
}


.btn-mode {
background: var(--color-primary);
background: var(--darkmode-color-primary);
color: #fff;
padding: 1rem;
border-radius: 50px;
Expand Down
2 changes: 0 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ body {
font-family: Arial;
color: var(--color-text);
background: var(--color-background);
--color-primary: #dd0031;
--color-secondary: #34495e;
}

body.lightmode {
Expand Down

0 comments on commit 5c9dd10

Please sign in to comment.