Style dialogs for dark theme

Closes: https://todo.sr.ht/~emersion/gamja/32
This commit is contained in:
Simon Ser 2021-05-27 12:05:24 +02:00
parent fa80817168
commit 37492e319b

View file

@ -315,7 +315,8 @@ details summary {
overflow: auto; overflow: auto;
} }
.dialog .dialog-body { .dialog .dialog-body {
background-color: white; background-color: var(--main-background);
color: var(--main-color);
margin: 20px auto; margin: 20px auto;
max-width: 500px; max-width: 500px;
padding: 15px; padding: 15px;
@ -442,4 +443,12 @@ kbd {
.error-text { .error-text {
color: #efa3aa; color: #efa3aa;
} }
kbd {
--outline-color: #6e7681;
background-color: transparent;
border: 1px solid var(--outline-color);
box-shadow: inset 0 -1px 0 var(--outline-color);
}
} }