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

@@ -1,23 +1,25 @@
::-webkit-scrollbar {
width: 8px;
background: transparent;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar-color, white);
border-radius: 4px;
transition: all 250ms ease;
&:hover {
filter: brightness(120%);
@media not (forced-colors: active) {
::-webkit-scrollbar {
width: 8px;
background: transparent;
border-radius: 4px;
}
&:active {
filter: brightness(80%);
::-webkit-scrollbar-thumb {
background: var(--scrollbar-color, white);
border-radius: 4px;
transition: all 250ms ease;
&:hover {
filter: brightness(120%);
}
&:active {
filter: brightness(80%);
}
}
::-webkit-resizer {
display: none;
}
}
::-webkit-resizer {
display: none;
}