Skip to content

Commit

Permalink
Docs : Toggle Switch themesberg#1321 - Issue has been fixed (themesbe…
Browse files Browse the repository at this point in the history
…rg#1397)

* Docs : Toggle Switch themesberg#1321 - Issue has been fixed

* Fix the issue earlier I forget to format

---------

Co-authored-by: akashmasih1 <113181496+akashmasih1@users.noreply.github.com>
  • Loading branch information
akashMasih and akashmasih1 authored May 17, 2024
1 parent 2afa3c8 commit b2640bc
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 b2640bc

Please sign in to comment.