Merge pull request #1822 from umap-project/switch-dark-color
feat: use accent color for switch and multichoices on dark background
This commit is contained in:
commit
dfb78b32b3
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue