aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/prism-theme-toggle
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): extract SettingsForm component form SettingsModalArmand Philippot2023-11-114-110/+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.
* refactor(providers,hooks): rewrite PrismThemeProvider & usePrismThemeArmand Philippot2023-11-111-22/+5
| | | | | | * reuse Theme provider logic * move DOM mutation from provider to hook * add a script to init theme before page load
* 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/+119