Skip to content

Commit

Permalink
fix: for blue color - cyan color was passed has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dhavalveera committed Jun 26, 2024
1 parent 1ddf19d commit c45c0b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ DefaultToggleSwitch.args = {};
DefaultToggleSwitch.argTypes = {
color: {
description: "Control defaults for colors",
control: {
type: "radio",
options: [...colors],
},
control: "radio",
options: [...colors],
},
};

Expand Down
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 @@ -16,7 +16,7 @@ export const toggleSwitchTheme: FlowbiteToggleSwitchTheme = createTheme({
on: "after:translate-x-full after:border-white rtl:after:-translate-x-full",
off: "border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",
color: {
blue: "border-cyan-700 bg-cyan-700",
blue: "border-blue-600 bg-blue-600",
dark: "bg-dark-700 border-dark-900",
failure: "border-red-900 bg-red-700",
gray: "border-gray-600 bg-gray-500",
Expand Down

0 comments on commit c45c0b4

Please sign in to comment.