diff --git a/.storybook/theming/decorator.ts b/.storybook/theming/decorator.ts index 0891f02..c9ca4fc 100644 --- a/.storybook/theming/decorator.ts +++ b/.storybook/theming/decorator.ts @@ -3,13 +3,13 @@ import { withThemeFromJSXProvider } from '@storybook/addon-themes'; import { light, dark } from '@devoinc/genesys-brand-devo'; import { ThemeProvider } from 'styled-components'; -import { PREFER_THEME } from './constants'; +// import { PREFER_THEME } from './constants'; export const themeDecorator = withThemeFromJSXProvider({ themes: { light, dark, }, - defaultTheme: PREFER_THEME, + defaultTheme: 'light', // PREFER_THEME, Provider: ThemeProvider, }); diff --git a/.storybook/theming/ui.tsx b/.storybook/theming/ui.tsx index ef866c8..2803e6a 100644 --- a/.storybook/theming/ui.tsx +++ b/.storybook/theming/ui.tsx @@ -1,6 +1,6 @@ import { create } from '@storybook/theming/create'; -import { PREFER_THEME } from './constants'; +// import { PREFER_THEME } from './constants'; const uiLightTheme = create({ base: 'light', @@ -21,4 +21,4 @@ export const uiThemeMap = { dark: uiDarkTheme, }; -export const PREFER_UI_THEME = uiThemeMap[PREFER_THEME]; +export const PREFER_UI_THEME = uiThemeMap.light; // uiThemeMap[PREFER_THEME];