ADD story

This commit is contained in:
Norbert de Langen 2020-02-27 14:54:54 +01:00
parent 9715a27e54
commit 1af3f2ca53
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -0,0 +1,27 @@
import { Meta, ColorPalette, ColorItem } from '@storybook/addon-docs/blocks';
<Meta title="Docs/ColorPalette" />
<ColorPalette>
<ColorItem
title="theme.color.greyscale"
subtitle="Some of the greys"
colors={{ White: '#FFFFFF', Alabaster: '#F8F8F8', Concrete: '#F3F3F3' }}
/>
<ColorItem
title="theme.color.primary"
subtitle="Coral"
colors={{ WildWatermelon: '#FF4785' }}
/>
<ColorItem title="theme.color.secondary" subtitle="Ocean" colors={{ DodgerBlue: '#1EA7FD' }} />
<ColorItem
title="theme.color.positive"
subtitle="Green"
colors={{
Apple: 'rgba(102,191,60,1)',
Apple80: 'rgba(102,191,60,.8)',
Apple60: 'rgba(102,191,60,.6)',
Apple30: 'rgba(102,191,60,.3)',
}}
/>
</ColorPalette>