Skip to content

Commit

Permalink
Merge branch 'main' into bug/1352-theme-sync-render-loops
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser authored May 23, 2024
2 parents 1c2f364 + b2640bc commit e5fde61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/ToggleSwitch/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const toggleSwitchTheme: FlowbiteToggleSwitchTheme = createTheme({
label: "ml-3 text-sm font-medium text-gray-900 dark:text-gray-300",
},
toggle: {
base: "rounded-full border group-focus:ring-4 group-focus:ring-cyan-500/25",
base: "rounded-full border after:rounded-full after:bg-white group-focus:ring-4 group-focus:ring-cyan-500/25",
checked: {
on: "after:translate-x-full after:border-white",
off: "border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",
Expand Down

0 comments on commit e5fde61

Please sign in to comment.