mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
Add dark mode to the browser
This commit is contained in:
parent
7a1e4d1312
commit
14f1894779
17 changed files with 1153 additions and 4 deletions
|
|
@ -5,6 +5,15 @@
|
|||
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
||||
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root,
|
||||
textarea,
|
||||
select,
|
||||
input {
|
||||
scrollbar-color: #5a5a5a #2b2b2b;
|
||||
}
|
||||
}
|
||||
|
||||
/* bidi */
|
||||
|
||||
:-moz-has-dir-attr {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue