commit 60bb97007bd162317efb20af67d7c63b9f003d11
parent 0af4f0b1be152fcbe65e0b990da53cd5a8d04da9
Author: triesap <tyson@radroots.org>
Date: Fri, 6 Feb 2026 19:22:55 +0000
ui: refine ios switch colors
- switch ios toggle track to native green when checked
- keep thumb white with smooth transition
- maintain switch sizing and border treatment
- preserve existing switch motion timing
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/stylesheets/apps-ui.css b/app/stylesheets/apps-ui.css
@@ -158,17 +158,18 @@
border-radius: 999px;
background: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
- transition: transform 160ms ease;
+ transition: transform 160ms ease, background 160ms ease;
transform: translateX(0);
}
.ios-switch[data-checked="true"] {
- background: hsl(var(--ly0-gl-hl) / 1);
- border-color: hsl(var(--ly0-gl-hl) / 0.9);
+ background: #34c759;
+ border-color: #34c759;
}
.ios-switch[data-checked="true"] .ios-switch__thumb {
transform: translateX(18px);
+ background: #fff;
}
}