Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
benyarb authored Aug 10, 2024
1 parent 9ef89de commit 011e2dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
:root {
--dark-rgb: 13, 17, 23;
--light-rgb: 255, 255, 255;

// light mode
--highlight: rgba(var(--dark-rgb), .95);
--foreground: rgba(var(--dark-rgb), .85);
--background: rgba(var(--light-rgb), 1);
}

@media (prefers-color-scheme: dark) {
:root {
// dark mode
--highlight: rgba(var(--light-rgb), .95);
--foreground: rgba(var(--light-rgb), .85);
--background: rgba(var(--dark-rgb), 1);
Expand Down

0 comments on commit 011e2dc

Please sign in to comment.