Closed akashMasih closed 1 month ago
Latest commit: c3fb8cd7d392a7310ee9e622b67e6d669415f4f5
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flowbite-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 9:17am |
flowbite-react-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 17, 2024 9:17am |
The recent update to the toggleSwitchTheme
in theme.ts
enhances the visual styling of the toggle switch component by adding rounded corners and a white background to the switch's inner circle. This change improves the overall appearance and user experience of the toggle switch.
File Path | Change Summary |
---|---|
packages/ui/src/components/ToggleSwitch/theme.ts |
Updated toggleSwitchTheme to include after:rounded-full after:bg-white in the base style. |
🐇 In the land of code and light, A switch now shines so bright, Rounded corners, pure and white, Toggle on, with all your might. ✨🖱️
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The toggle switch was not working properly due to missing a class inside the (packages/ui/src/components/ToggleSwitch/theme.ts). I just added two classes inside the toggle.base
Docs: Toggle Switch #1321
Summary by CodeRabbit