Skip to content

Commit

Permalink
separate story for plus canvas
Browse files Browse the repository at this point in the history
otherwise, since both the options icon and the controls both reference the Default story, any changes via controls affect the options icon, as well. I'd rather keep the options all neat and tidy, equal size and black, even if the user is messing around.
  • Loading branch information
rachelmarconi committed Aug 28, 2024
1 parent 4d366cf commit 2ad62c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/lib/Icons/IconPlus.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@

<Story name="Default" />

<Story name="ForCanvas" />

<Story name="WithColor">
<IconPlus fill={urbanColors.blue} />
</Story>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Icons/Icons.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ These are the current possible icon components included with this library.

## Default

<Canvas of={PlusStories.Default} />
<Canvas of={PlusStories.ForCanvas} />

<Controls of={PlusStories.Default} />
<Controls of={PlusStories.ForCanvas} />

## With color change

Expand Down

0 comments on commit 2ad62c4

Please sign in to comment.