| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat: replace next-themes with a custom ThemeProvider | Armand Philippot | 2023-11-11 | 1 | -0/+9 |
| | | | | | | | | 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(hooks,provider): move reduce motion setter | Armand Philippot | 2023-11-11 | 1 | -0/+26 |
| Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration. | |||||
