Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsj committed Jun 10, 2024
1 parent 006aad6 commit 936abac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
6 changes: 1 addition & 5 deletions src/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
line-height: 1.5;
}
.debug-table tr:nth-of-type(odd) {
background-color: lightgreen;

@media screen and (prefers-color-scheme: dark) {
background-color: green;
}
background-color: green;
}
.debug-table td {
padding: 1rem;
Expand Down
15 changes: 1 addition & 14 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

Expand Down Expand Up @@ -39,6 +38,7 @@ button {
font-size: 1em;
font-weight: 500;
font-family: inherit;
color: rgba(255, 255, 255, 0.87);
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
Expand All @@ -51,19 +51,6 @@ button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}

.error {
color: red;
margin: 0 1rem;
Expand Down

0 comments on commit 936abac

Please sign in to comment.