Skip to content

Commit

Permalink
modified globals.css for dark theme preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirKakavand committed Aug 2, 2024
1 parent ad475a7 commit 5bdc749
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,21 @@
font-style: normal;
}

:root {
--background-color: #231F20;
--text-color: #F9F4DA; /* Light mode text */
}

@media (prefers-color-scheme: dark) {
:root {
--background-color: #231F20; /* Dark mode background */
--text-color: #F9F4DA; /* Dark mode text */
}
}

body {
/* color: rgb(var(--foreground-rgb)); */
background-color: #231F20;
background-color: var(--background-color);
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
Expand Down

0 comments on commit 5bdc749

Please sign in to comment.