Skip to content

Commit

Permalink
fix: remove adobe
Browse files Browse the repository at this point in the history
  • Loading branch information
craigyu committed Dec 25, 2024
1 parent af0ab8b commit 44c8dfe
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -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
},
},
Expand Down

0 comments on commit 44c8dfe

Please sign in to comment.