From 05f1dfc6896d3affa7c494a1b955f230d836a4b7 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 27 Oct 2023 18:07:45 +0200 Subject: feat: replace next-themes with a custom ThemeProvider 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. --- src/utils/constants.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils/constants.ts') diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 62acca5..0c64f3a 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -34,4 +34,5 @@ export const ROUTES = { export const STORAGE_KEY = { ACKEE: 'ackee-tracking', MOTION: 'reduced-motion', + THEME: 'theme', } as const; -- cgit v1.2.3