Skip to content

Commit 24afc33

Browse files
authored
Merge pull request #324 from devforth/AdminForth/783
fix: correct light theme stylenig for toggle
2 parents 4ce4504 + 5ff2722 commit 24afc33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adminforth/modules/styles.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,10 @@ export const styles = () => ({
172172
lightFocusRing: "alias:lightPrimary lighten", //focus ring color
173173
lightTextLabel: "black", //text color of checkbox label
174174

175-
lightToggleBgUnactive: "alias:lightPrimaryContrast darken", //toggle unactive state background
175+
lightToggleBgUnactive: "alias:lightPrimaryContrast", //toggle unactive state background
176176
lightToggleBgActive: "alias:lightPrimary darken", //toggle active state background
177-
lightToggleCircle: "alias:lightPrimaryContrast lighten", //toggle circle color
177+
lightToggleCircleUnactive: "alias:lightPrimary",
178+
lightToggleCircleActive: "alias:lightToggleBgUnactive",
178179
lightToggleRing: "alias:lightPrimary lighten", // toggle ring color
179180
lightToggleText: "black", // color of text next to toggle
180181
lightToggleBorderUnactive: "alias:lightPrimary lighten", // unactive state border

0 commit comments

Comments
 (0)