mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 23:11:06 +11:00
Dim disabled toggle in dark mode
This commit is contained in:
parent
b5fccb0812
commit
b4bce8640d
1 changed files with 3 additions and 3 deletions
|
|
@ -43,10 +43,10 @@ const emit = defineEmits<{
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch.disabled {
|
.switch.disabled {
|
||||||
opacity: 1;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-color: #2f2f2f;
|
background-color: var(--vp-c-bg-soft, #2f2f2f);
|
||||||
border-color: #666;
|
border-color: var(--vp-c-divider, #666);
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch.disabled .thumb {
|
.switch.disabled .thumb {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue