mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-05 07:05:40 -05:00
detatch theme provider from stitches logic
This commit is contained in:
@@ -153,11 +153,8 @@ export const globalStyles = globalCss(
|
||||
}
|
||||
);
|
||||
|
||||
// theme classnames are generated dynamically by stitches, so have ThemeProvider pull them from there
|
||||
export const themeClassNames = {
|
||||
// theme classnames are generated dynamically by stitches, so have ThemeProvider pull them from here
|
||||
export const classNames = {
|
||||
light: theme.className,
|
||||
dark: darkTheme.className,
|
||||
};
|
||||
|
||||
// local storage key
|
||||
export const themeStorageKey = "theme";
|
||||
|
||||
Reference in New Issue
Block a user