oops
This commit is contained in:
parent
81713b99cc
commit
d347f3378e
1 changed files with 28 additions and 0 deletions
|
@ -49,6 +49,20 @@ html.base div.window-object {
|
|||
border: var(--border-width) var(--border-style) var(--border-color);
|
||||
}
|
||||
|
||||
@media (forced-colors: active) {
|
||||
div.window-object {
|
||||
--background-color: transparent !important;
|
||||
--color: #000 !important;
|
||||
--accent-color: #c0c0c0 !important;
|
||||
--accent-color-bg: #000 !important;
|
||||
--accent-color-fg: #000 !important;
|
||||
|
||||
background-color: var(--accent-color);
|
||||
color: var(--accent-color-fg);
|
||||
border: var(--border-width) var(--border-style) var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
div.window-object {
|
||||
/* The underlay color of the document. */
|
||||
--underlay-color: hsl(var(--base-color), 10%);
|
||||
|
@ -97,6 +111,20 @@ div.window-object {
|
|||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) and (forced-colors: active) {
|
||||
div.window-object {
|
||||
--background-color: transparent !important;
|
||||
--color: #fff !important;
|
||||
--accent-color: #404040 !important;
|
||||
--accent-color-bg: #fff !important;
|
||||
--accent-color-fg: #fff !important;
|
||||
|
||||
background-color: var(--accent-color);
|
||||
color: var(--accent-color-fg);
|
||||
border: var(--border-width) var(--border-style) var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
div.window-object.unfocused {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue