From af0ab8b1a1bdb184ff5492ac129b1940afcbbf6e Mon Sep 17 00:00:00 2001 From: Craig Yu Date: Tue, 24 Dec 2024 19:56:36 -0800 Subject: [PATCH] fix: mode toggle --- .storybook/preview.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 479ed1d..ff330c7 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,7 +1,6 @@ import React from 'react'; import {Provider} from '@react-spectrum/provider'; import theme from 'fds-theme'; -import {theme as adobeTheme} from '@react-spectrum/theme-default' import type {Preview} from '@storybook/react'; import { action } from '@storybook/addon-actions'; @@ -30,8 +29,6 @@ const preview: Preview = { document.body.classList.remove('spectrum--light', 'spectrum--dark'); document.body.classList.add(isDarkMode ? 'spectrum--dark' : 'spectrum--light'); - console.log("my: ", theme) - console.log("adobe ", adobeTheme) // Use React Spectrum's Provider for additional context return (