feat: use accent color for switch and multichoices on dark background

This commit is contained in:
Yohan Boniface 2024-05-14 18:59:05 +02:00
parent a1084e0c7b
commit 00ad05bb82

View file

@ -449,9 +449,10 @@ input.switch:checked ~ label:before {
text-indent: 0.7em;
text-align: left;
font-weight: bold;
}
.dark input.switch:checked ~ label:before {
border: none;
}
background-color: var(--color-accent);
}
input.switch:checked ~ label:after {
margin-left: 3em;
@ -497,7 +498,7 @@ input.switch:checked ~ label:after {
background-color: #2c3233;
}
.umap-multiplechoice input[type='radio']:checked + label {
background-color: var(--color-lightCyan);
background-color: var(--color-accent);
box-shadow: inset 0 0 6px 0px #2c3233;
color: var(--color-darkGray);
}