improve colors composability even more
This commit is contained in:
parent
286b3670c4
commit
e6d4a7f1f9
2 changed files with 10 additions and 9 deletions
2
brut.min.css
vendored
2
brut.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -32,14 +32,6 @@ html { background: var(--bg); color: var(--fg); }
|
|||
a { color: var(--fg); }
|
||||
p > a, li > a { color: var(--accent); }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { filter: invert(100%) hue-rotate(180deg);}
|
||||
body.soft { filter: brightness(85%) sepia(25%) invert(100%) hue-rotate(180deg);}
|
||||
img,.fill { filter: brightness(80%) invert(100%) ; }
|
||||
.msg, .btn, .b, .info, .g, .ok, .y, .warn, .r, .err, .m, .fatal, .o, .v, .c,.alert {
|
||||
filter: brightness(90%) invert(100%) hue-rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.msg, .btn { background-color: var(--bg2); color: var(--fg); }
|
||||
.hl, .msg, .btn, .b, .info, .g, .ok, .y, .warn, .r, .err, .m, .fatal, .o, .v, .c,.alert {
|
||||
|
@ -58,3 +50,12 @@ p > a, li > a { color: var(--accent); }
|
|||
.o { background-color: var(--o); }
|
||||
.v { background-color: var(--v); }
|
||||
.c { background-color: var(--c); }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { filter: invert(100%) hue-rotate(180deg);}
|
||||
body.soft { filter: brightness(85%) sepia(25%) invert(100%) hue-rotate(180deg);}
|
||||
img,.fill { filter: brightness(80%) invert(100%) ; }
|
||||
.b, .info, .g, .ok, .y, .warn, .r, .err, .m, .fatal, .o, .v, .c,.alert {
|
||||
filter: brightness(90%) invert(100%) hue-rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue