feat: some forced color adjustments

This commit is contained in:
2024-03-16 14:41:39 +01:00
parent 4e4bff02a0
commit 86ec8651b6
7 changed files with 135 additions and 50 deletions

View File

@@ -186,6 +186,7 @@
height: 100%;
background: rgba(0 0 0 / 60%);
border: none;
}
@@ -211,6 +212,11 @@
@media (prefers-contrast: more) {
opacity: 0.8;
}
@media (forced-colors: active) {
opacity: 1;
color: GrayText;
}
}
.search-row {
@@ -235,6 +241,10 @@
background: var(--md-sys-color-background);
border-radius: 16px;
@media (forced-colors: active) {
border: 1px solid CanvasText;
}
}
input[type="search"] {
@@ -302,5 +312,9 @@
background: var(--md-sys-color-primary);
border-radius: 0 0 8px 8px;
}
@media (forced-colors: active) {
background: Mark;
}
}
</style>