mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 17:55:32 -04:00
clean up stitches theme config
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import { theme, darkTheme } from "../styles/stitches.config";
|
||||
|
||||
// theme classnames are generated dynamically by stitches, so have ThemeProvider pull them from there
|
||||
export const themeClassNames = {
|
||||
light: theme.className,
|
||||
dark: darkTheme.className,
|
||||
};
|
||||
|
||||
// colors used for `<meta name="theme-color" .../>` (see components/Layout/Layout.tsx)
|
||||
export const themeColors = {
|
||||
light: theme.colors.backgroundOuter?.value,
|
||||
dark: darkTheme.colors.backgroundOuter?.value,
|
||||
};
|
||||
|
||||
// default/fallback theme
|
||||
export const themeDefault = "light";
|
||||
|
||||
// local storage key
|
||||
export const themeStorageKey = "theme";
|
Reference in New Issue
Block a user