mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-21 02:07:12 +00:00
Fix dark mode dropdown: style select/option elements explicitly for WebView2
This commit is contained in:
parent
5e1ad15707
commit
acad48a8d6
1 changed files with 13 additions and 0 deletions
|
|
@ -45,6 +45,19 @@
|
|||
color-scheme: dark;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] select,
|
||||
:root[data-theme="dark"] option {
|
||||
background-color: #2A2320;
|
||||
color: #FAF7F3;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) select,
|
||||
:root:not([data-theme="light"]) option {
|
||||
background-color: #2A2320;
|
||||
color: #FAF7F3;
|
||||
}
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
::-webkit-scrollbar { width: 6px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue