Skip to content

Commit b2640bc

Browse files
Docs : Toggle Switch #1321 - Issue has been fixed (#1397)
* Docs : Toggle Switch #1321 - Issue has been fixed * Fix the issue earlier I forget to format --------- Co-authored-by: akashmasih1 <[email protected]>
1 parent 2afa3c8 commit b2640bc

File tree

1 file changed

+1
-1
lines changed
  • packages/ui/src/components/ToggleSwitch

1 file changed

+1
-1
lines changed

packages/ui/src/components/ToggleSwitch/theme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const toggleSwitchTheme: FlowbiteToggleSwitchTheme = createTheme({
1111
label: "ml-3 text-sm font-medium text-gray-900 dark:text-gray-300",
1212
},
1313
toggle: {
14-
base: "rounded-full border group-focus:ring-4 group-focus:ring-cyan-500/25",
14+
base: "rounded-full border after:rounded-full after:bg-white group-focus:ring-4 group-focus:ring-cyan-500/25",
1515
checked: {
1616
on: "after:translate-x-full after:border-white",
1717
off: "border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",

0 commit comments

Comments
 (0)