Improve dark theme

This commit is contained in:
grandeljay 2022-06-11 17:29:54 +02:00
parent d24450500d
commit d74234e2df
2 changed files with 16 additions and 1 deletions

View file

@ -147,6 +147,11 @@ figure {
box-sizing: content-box; box-sizing: content-box;
z-index: 1; z-index: 1;
} }
@media (prefers-color-scheme: dark) {
.wishlist .ui.card > .image > img.favicon {
filter: brightness(80%);
}
}
.wishlist .ui.card > .image > img.favicon + span.provider { .wishlist .ui.card > .image > img.favicon + span.provider {
padding-left: 3em; padding-left: 3em;
@ -668,7 +673,7 @@ body,
box-shadow: 0 0 0 0 rgba(221, 219, 217, 0.35) inset; box-shadow: 0 0 0 0 rgba(221, 219, 217, 0.35) inset;
} }
/** Form **/ /** Form */
.ui.form ::placeholder { .ui.form ::placeholder {
color: rgba(64, 64, 64, 0.87); color: rgba(64, 64, 64, 0.87);
} }
@ -677,6 +682,12 @@ body,
color: rgba(255, 255, 255, 0.87); color: rgba(255, 255, 255, 0.87);
background-color: rgba(155, 155, 155, 0.4); background-color: rgba(155, 155, 155, 0.4);
} }
.ui.loading.form::before {
background-color: rgba(0, 0, 0, 0.8);
}
.ui.form .grouped.fields > label {
color: rgba(255, 255, 255, 0.87);
}
.ui.form .field > label { .ui.form .field > label {
color: rgba(255, 255, 255, 0.87); color: rgba(255, 255, 255, 0.87);
} }
@ -712,6 +723,9 @@ body,
.ui.cards > .card > .extra { .ui.cards > .card > .extra {
color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.4);
} }
.ui.loading.card::before {
background-color: rgba(0, 0, 0, 0.8);
}
/** Label */ /** Label */
.ui.teal.labels .label, .ui.teal.labels .label,

View file

@ -39,6 +39,7 @@ $page->navigation();
<h3 class="ui header"><?= __('Added') ?></h3> <h3 class="ui header"><?= __('Added') ?></h3>
<ul> <ul>
<li><?= __('Blog') ?></li> <li><?= __('Blog') ?></li>
<li><?= __('Dark theme') ?></li>
</ul> </ul>
<h3 class="ui header"><?= __('Improved') ?></h3> <h3 class="ui header"><?= __('Improved') ?></h3>