Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs : Toggle Switch #1321 - Issue has been fixed #1397

Merged
merged 2 commits into from
May 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading