Skip to content

Commit

Permalink
Remove support for dark/light color schemes since incomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Dec 19, 2024
1 parent ba22cef commit 5baca2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix support for all FCC supported spoken languages (#20)
- Remove incomplete support of dark mode, no more white on white text: not readable (#33)

## [1.1.1] - 2023-12-18

Expand Down
22 changes: 4 additions & 18 deletions zimui/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ body {
line-height: 1.5;
font-weight: 400;

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

font-synthesis: none;
text-rendering: optimizeLegibility;
Expand All @@ -42,7 +41,7 @@ a {
text-decoration: inherit;
}
a:hover {
color: #535bf2;
color: #747bff;
}

body {
Expand All @@ -68,7 +67,7 @@ button {
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
background-color: #f9f9f9;
cursor: pointer;
transition: border-color 0.25s;
}
Expand All @@ -89,16 +88,3 @@ button:focus-visible {
text-align: left;
height: 100%;
}

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

0 comments on commit 5baca2f

Please sign in to comment.