Skip to content

Commit

Permalink
fix(switch): secondary color styles
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondinho committed Feb 24, 2025
1 parent e061593 commit 8d899f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LumexUI/Styles/Switch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private static ElementClass GetColorStyles( ThemeColor color )
return ElementClass.Empty()
.Add( "group-data-[checked=true]:bg-default-400 group-data-[checked=true]:text-default-foreground", when: color is ThemeColor.Default )
.Add( "group-data-[checked=true]:bg-primary group-data-[checked=true]:text-primary-foreground", when: color is ThemeColor.Primary )
.Add( "group-data-[checked=true]:bg-secodary group-data-[checked=true]:text-secondary-foreground", when: color is ThemeColor.Secondary )
.Add( "group-data-[checked=true]:bg-secondary group-data-[checked=true]:text-secondary-foreground", when: color is ThemeColor.Secondary )
.Add( "group-data-[checked=true]:bg-success group-data-[checked=true]:text-success-foreground", when: color is ThemeColor.Success )
.Add( "group-data-[checked=true]:bg-warning group-data-[checked=true]:text-warning-foreground", when: color is ThemeColor.Warning )
.Add( "group-data-[checked=true]:bg-danger group-data-[checked=true]:text-danger-foreground", when: color is ThemeColor.Danger )
Expand Down

0 comments on commit 8d899f6

Please sign in to comment.