mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Base: Revert usage of color-scheme in the Inspector
The usage of color-scheme was introduced in commit:
ce5cd012b9
This reverts the Inspector to use self-selected colors, as the default
color-scheme colors do not look great in this window.
This commit is contained in:
parent
751b93959f
commit
79d6d5a7fa
Notes:
github-actions[bot]
2025-02-16 08:21:18 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/79d6d5a7fa5 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3591
1 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: rgb(23, 23, 23);
|
||||
--separator: dimgray;
|
||||
--separator-accent: rgb(57, 57, 57);
|
||||
--tab-controls: rgb(57, 57, 57);
|
||||
|
@ -29,6 +30,7 @@
|
|||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--background: white;
|
||||
--separator: lightgray;
|
||||
--separator-accent: white;
|
||||
--tab-controls: rgb(229, 229, 229);
|
||||
|
@ -52,7 +54,7 @@
|
|||
}
|
||||
|
||||
html {
|
||||
color-scheme: light dark;
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -184,7 +186,7 @@ body {
|
|||
left: 0;
|
||||
right: 0;
|
||||
background-color: var(--tab-controls);
|
||||
border-top: 2px solid Canvas;
|
||||
border-top: 2px solid var(--background);
|
||||
display: flex;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue