Skip to content

Commit

Permalink
fix: add empty space to <Checkbox> ring in dark mode (#1160)
Browse files Browse the repository at this point in the history
The Checkbox now matches the designs outlined in the vanilla Flowbite library.
  • Loading branch information
mud1tx authored Dec 1, 2023
1 parent c51552a commit d0ccfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Checkbox/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const checkboxTheme: FlowbiteCheckboxTheme = {
root: {
base: 'h-4 w-4 rounded focus:ring-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 bg-gray-100',
color: {
default: 'focus:ring-cyan-600 dark:ring-offset-cyan-600 dark:focus:ring-cyan-600 text-cyan-600',
default: 'focus:ring-cyan-600 dark:ring-offset-gray-800 dark:focus:ring-cyan-600 text-cyan-600',
dark: 'focus:ring-gray-800 dark:ring-offset-gray-800 dark:focus:ring-gray-800 text-gray-800',
failure: 'focus:ring-red-900 dark:ring-offset-red-900 dark:focus:ring-red-900 text-red-900',
gray: 'focus:ring-gray-900 dark:ring-offset-gray-900 dark:focus:ring-gray-900 text-gray-900',
Expand Down

1 comment on commit d0ccfde

@vercel
Copy link

@vercel vercel bot commented on d0ccfde Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.