diff --git a/tools/ui-components/src/button.css b/tools/ui-components/src/button.css index 727755ad95..b14322f672 100644 --- a/tools/ui-components/src/button.css +++ b/tools/ui-components/src/button.css @@ -3,21 +3,11 @@ .storybook-button { font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; - border: 0; - border-radius: 3em; cursor: pointer; display: inline-block; line-height: 1; } -.storybook-button--primary { - color: white; - background-color: #1ea7fd; -} -.storybook-button--secondary { - color: #333; - background-color: transparent; - box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset; -} + .storybook-button--small { font-size: 12px; padding: 10px 16px; @@ -31,6 +21,9 @@ padding: 12px 24px; } -.fcc-style { - @apply bg-fccSecondary; +.button-default-style { + @apply bg-default-background-quaternary; + @apply border-default-foreground-secondary; + @apply text-default-foreground-secondary; + @apply border-2; } diff --git a/tools/ui-components/src/button.stories.tsx b/tools/ui-components/src/button.stories.tsx index f192808803..6b885bdeeb 100644 --- a/tools/ui-components/src/button.stories.tsx +++ b/tools/ui-components/src/button.stories.tsx @@ -7,11 +7,27 @@ const story = { title: 'Example/Button', component: Button, argTypes: { - backgroundColor: { control: 'color' } + theme: { + options: ['dark', 'light'], + control: { type: 'radio' }, + defaultValue: 'light' + } } }; -const Template: Story = args =>