improve colors composability even more

This commit is contained in:
Yann Esposito (Yogsototh) 2022-10-26 18:59:21 +02:00
parent 286b3670c4
commit e6d4a7f1f9
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 10 additions and 9 deletions

2
brut.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -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);
}
}