diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 1892022c..af1e80b3 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -8,9 +8,9 @@ import docsTheme from './theme' import './tailwind.css' const CUSTOM_THEME = { - text100: 'rgba(255, 255, 255, 1)', - text80: 'rgba(200, 200, 255, 1)', - text50: 'rgba(150, 150, 200, 1)', + textPrimary: 'rgba(255, 255, 255, 1)', + textSecondary: 'rgba(200, 200, 255, 1)', + textMuted: 'rgba(150, 150, 200, 1)', backgroundPrimary: 'pink', backgroundSecondary: 'navy', } diff --git a/src/components/Breadcrumbs/Breadcrumbs.tsx b/src/components/Breadcrumbs/Breadcrumbs.tsx index 352e47e0..c31efc2b 100644 --- a/src/components/Breadcrumbs/Breadcrumbs.tsx +++ b/src/components/Breadcrumbs/Breadcrumbs.tsx @@ -58,7 +58,7 @@ const BreadcrumbSegment = (props: BreadcrumbSegmentProps) => { const { path, active, renderLink = defaultRenderLink } = props return active ? ( - + {path.label} ) : ( @@ -68,7 +68,7 @@ const BreadcrumbSegment = (props: BreadcrumbSegmentProps) => { { {path.label} )} - + {' / '} diff --git a/src/components/Card/Card.stories.tsx b/src/components/Card/Card.stories.tsx index befdd6cb..c7d340de 100644 --- a/src/components/Card/Card.stories.tsx +++ b/src/components/Card/Card.stories.tsx @@ -16,10 +16,10 @@ export const Default: Story = { children: ( <>
- + Card - + Description
@@ -34,10 +34,10 @@ export const Clickable: Story = { children: ( <>
- + Card - + Description
@@ -52,10 +52,10 @@ export const Disabled: Story = { children: ( <>
- + Card - + Description
@@ -69,10 +69,10 @@ export const Outlined: Story = { children: ( <>
- + Card - + Description
diff --git a/src/components/Collapsible/Collapsible.stories.tsx b/src/components/Collapsible/Collapsible.stories.tsx index 4c023d63..68c85517 100644 --- a/src/components/Collapsible/Collapsible.stories.tsx +++ b/src/components/Collapsible/Collapsible.stories.tsx @@ -26,7 +26,7 @@ const CollapsibleStory = () => { onOpenChange={open => setIsOpen(open)} > {[1, 2, 3, 4, 5].map(x => ( - +

Item {x}

))} @@ -38,7 +38,7 @@ export const Default: Story = { args: { label: 'My Heading', children: [1, 2, 3, 4, 5].map(x => ( - +

Item {x}

)), diff --git a/src/components/Collapsible/Collapsible.tsx b/src/components/Collapsible/Collapsible.tsx index e70ee481..c1e55703 100644 --- a/src/components/Collapsible/Collapsible.tsx +++ b/src/components/Collapsible/Collapsible.tsx @@ -57,7 +57,7 @@ export const Collapsible = (props: CollapsibleProps) => { transition={{ ease: 'easeOut', duration: 0.3 }} > - +
{label}
{ {label && (