aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/theme-toggle.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-106/+0
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-7/+5
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* fix(settings): avoid cropped tooltip on small devicesArmand Philippot2022-06-091-1/+1
| | | | | | I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement.
* fix: ensure radio buttons are accessibleArmand Philippot2022-06-021-2/+12
| | | | | It seems I cannot use the SVG title as label. So I removed the title and added a visually hidden span to set the radio buttons label.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-011-1/+1
|
* chore: replace the toggle componentArmand Philippot2022-06-011-21/+52
|
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-251-1/+4
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* chore: handle settings changeArmand Philippot2022-05-181-5/+15
|
* refactor: support React 18Armand Philippot2022-04-161-4/+4
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* refactor(toggle): use Checkbox component and move it to moleculesArmand Philippot2022-04-091-3/+3
|
* chore: add a Settings modal componentArmand Philippot2022-04-081-3/+5
|
* chore: add a PrismThemeToggle componentArmand Philippot2022-04-071-6/+6
|
* chore: add a ThemeToggle componentArmand Philippot2022-04-061-0/+52