Skip to content

Commit

Permalink
feat: improve theme-toggles demos
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Dec 10, 2023
1 parent a764d68 commit 9632c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/components/theme-switch/theme-switch.doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The theme switch is a control that lets you toggle between light and dark mode.

Theme switches can be inverted to be more visible on dark backgrounds.

<div className="bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 w-full max-w-xs">
<div>
<Story of={ThemeSwitchStories.InvertedFalse} />
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/components/theme-toggle/theme-toggle.doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The theme toggle is a control that lets you switch between light and dark mode.

Theme toggles can be inverted to be more visible on dark backgrounds.

<div className="bg-slate-100 dark:bg-slate-900 p-6 rounded-sm">
<div className="border border-muted-200 dark:border-muted-800 bg-white dark:bg-slate-900 p-6 rounded-sm">
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 w-full max-w-xs">
<div>
<Story of={ThemeToggleStories.InvertedFalse} />
Expand Down

0 comments on commit 9632c49

Please sign in to comment.