mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
style(toggle): 降低能力卡片 toggle 开关亮度,使用 color-mix 柔化轨道与圆点配色
This commit is contained in:
@@ -1763,13 +1763,13 @@
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"]:checked {
|
||||
background: var(--bme-primary);
|
||||
border-color: var(--bme-primary);
|
||||
background: color-mix(in srgb, var(--bme-primary) 45%, var(--bme-surface-high));
|
||||
border-color: color-mix(in srgb, var(--bme-primary) 55%, transparent);
|
||||
}
|
||||
|
||||
.bme-capability-card input[type="checkbox"]:checked::after {
|
||||
transform: translateX(18px);
|
||||
background: #fff;
|
||||
background: var(--bme-primary-text, #ffb2b7);
|
||||
}
|
||||
|
||||
/* --- STRIPE ROW LAYOUT (Advanced Settings) --- */
|
||||
|
||||
Reference in New Issue
Block a user