aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/theme-toggle/theme-toggle.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): extract SettingsForm component form SettingsModalArmand Philippot2023-11-111-76/+0
| | | | | | We could use an array of items and map over it instead of repeating the Switch component for each settings but with translations, it becomes quickly unreadable. So I prefer to keep separate components.
* feat: replace next-themes with a custom ThemeProviderArmand Philippot2023-11-111-11/+4
| | | | | | | To be honest, next-themes was working fine. However since I use a theme provider for Prism code blocks, some code is duplicated between this app and the library. So I prefer to use a custom Provider without the options I don't need.
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-8/+15
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-0/+76