Skip to content

Commit

Permalink
Background was off in light mode+
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinm committed Nov 6, 2024
1 parent bda689a commit e2368a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"Fira Mono", "Droid Sans Mono", "Courier New", monospace;

--foreground-rgb: 0, 0, 0;
--shade-rgb: 200, 200, 200;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;

Expand Down Expand Up @@ -43,6 +44,7 @@
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--shade-rgb: 50, 50, 50;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 60, 60, 60;

Expand Down
2 changes: 1 addition & 1 deletion src/components/AppList/AppList.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.appCard {
border: 1px solid #666;
border-radius: 8px;
background-color: #333;
background-color: rgb(var(--shade-rgb));
padding: 30px;
margin-bottom: 20px;
}

0 comments on commit e2368a8

Please sign in to comment.