Skip to content

Commit

Permalink
Docs : Toggle Switch themesberg#1321 - Issue has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
akashmasih1 committed May 17, 2024
1 parent 2afa3c8 commit b2b484e
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 group-focus:ring-4 group-focus:ring-cyan-500/25 after:rounded-full after:bg-white",
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 b2b484e

Please sign in to comment.