aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/theme-toggle
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): extract SettingsForm component form SettingsModalArmand Philippot2023-11-114-111/+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.
* refactor(components): make form components compliant with Eslint rulesArmand Philippot2023-11-112-3/+3
|
* 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.
* build: convert project to esmArmand Philippot2023-10-241-0/+1
|
* refactor(components): rewrite form componentsArmand Philippot2023-10-244-0/+110