From 44c8dfe042c40ae8b41bfa0fd0922bfeebf169c7 Mon Sep 17 00:00:00 2001 From: Craig Yu Date: Tue, 24 Dec 2024 20:16:37 -0800 Subject: [PATCH] fix: remove adobe --- .storybook/preview.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index ff330c7..d6b7250 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,6 +1,7 @@ import React from 'react'; import {Provider} from '@react-spectrum/provider'; import theme from 'fds-theme'; +import 'fds-theme/dist/style.css'; import type {Preview} from '@storybook/react'; import { action } from '@storybook/addon-actions'; @@ -47,11 +48,8 @@ export const globalTypes = { description: 'Global theme for components', defaultValue: 'light', // Default theme toolbar: { - icon: 'circlehollow', // Default icon; will update based on selection - items: [ - { value: 'light', icon: 'sun', title: 'Light Mode' }, - { value: 'dark', icon: 'moon', title: 'Dark Mode' }, - ], + icon: 'circlehollow', // Toolbar icon in Storybook + items: ['light', 'dark'], // Available options showName: true, // Display the selected option name }, },