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

@@ -48,16 +48,28 @@
padding: 8px;
font-family: "Noto Sans Mono", monospace;
color: inherit;
background: transparent;
border: none;
border-radius: 8px;
&:focus-visible {
color: var(--md-sys-color-on-surface-variant);
background: var(--md-sys-color-surface-variant);
outline: none;
@media not (forced-colors: active) {
color: inherit;
background: transparent;
border: none;
&:focus-visible {
color: var(--md-sys-color-on-surface-variant);
background: var(--md-sys-color-surface-variant);
outline: none;
}
}
@media (forced-colors: active) {
border: 1px solid ButtonBorder;
margin-block: 4px;
&:hover {
color: ActiveText;
}
}
}