feat(ui): update button variants following figma (#482)
* feat(ui): update button variants following figma * feat(ui): separate size prop to allow for regular and small sized button variants * update type to no longer include minimal-small * update uno css config to use new spacing system * add variants and sizes to file upload; update button and file upload stories * add mini button variant and update small button * specify width on icon-only regular variant * update plus buttons to be mini sizes * remove redundant classnames --------- Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
@@ -56,10 +56,10 @@ export const AreYouSure: StoryObj<PromptDialogProps> = {
|
||||
</Text>
|
||||
),
|
||||
children: [
|
||||
<Button key='yes' variant='single' color='ut-burntorange'>
|
||||
<Button key='yes' variant='minimal' color='ut-burntorange'>
|
||||
Yes
|
||||
</Button>,
|
||||
<Button key='no' variant='single' color='ut-black'>
|
||||
<Button key='no' variant='minimal' color='ut-black'>
|
||||
No
|
||||
</Button>,
|
||||
],
|
||||
@@ -76,7 +76,7 @@ export const YouHave10ActiveSchedules: StoryObj<PromptDialogProps> = {
|
||||
</Text>
|
||||
),
|
||||
children: [
|
||||
<Button key='yes' variant='single' color='ut-black'>
|
||||
<Button key='yes' variant='minimal' color='ut-black'>
|
||||
I understand
|
||||
</Button>,
|
||||
],
|
||||
@@ -94,10 +94,10 @@ export const WelcomeToUTRPV2: StoryObj<PromptDialogProps> = {
|
||||
</Text>
|
||||
),
|
||||
children: [
|
||||
<Button key='migrate' variant='single' color='ut-black'>
|
||||
<Button key='migrate' variant='minimal' color='ut-black'>
|
||||
Don't Migrate
|
||||
</Button>,
|
||||
<Button key='start-fresh' variant='single' color='ut-burntorange'>
|
||||
<Button key='start-fresh' variant='minimal' color='ut-burntorange'>
|
||||
Migrate
|
||||
</Button>,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user