1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 16:15:33 -04:00

consolidate theme context/provider types

This commit is contained in:
2022-04-08 12:36:19 -04:00
parent a8c1a3ba3c
commit d09cf7ab26
6 changed files with 56 additions and 64 deletions

View File

@@ -12,9 +12,6 @@ export const themeColors = {
dark: darkTheme.colors.backgroundOuter?.value,
};
// default to a simple light or dark binary option
export const colorSchemes = ["light", "dark"];
// https://web.dev/prefers-color-scheme/#the-prefers-color-scheme-media-query
export const darkModeQuery = "(prefers-color-scheme: dark)";