From 38d14b00f5d423d2a78d0ae82685da11c14fdc5a Mon Sep 17 00:00:00 2001 From: futurouz Date: Sat, 1 Oct 2022 17:29:13 +0700 Subject: [PATCH 1/5] fix: typo outline button hover style --- src/Button/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Button/styles.ts b/src/Button/styles.ts index c586faa0d58..2068f2a44bd 100644 --- a/src/Button/styles.ts +++ b/src/Button/styles.ts @@ -132,7 +132,7 @@ export const getVariantStyles = (variant: VariantType = 'default', theme?: Theme '&:hover:not([disabled])': { color: 'btn.outline.hoverText', backgroundColor: 'btn.outline.hoverBg', - borderColor: 'outline.hoverBorder', + borderColor: 'btn.outline.hoverBorder', boxShadow: `${theme?.shadows.btn.outline.hoverShadow}`, '[data-component=ButtonCounter]': { backgroundColor: 'btn.outline.hoverCounterBg', From 50937999d18ea5f9fabbb35bddd84599e9133d16 Mon Sep 17 00:00:00 2001 From: futurouz Date: Sat, 1 Oct 2022 17:30:35 +0700 Subject: [PATCH 2/5] chore: update storybook of Button to support outline variant --- src/Button/Button.stories.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Button/Button.stories.tsx b/src/Button/Button.stories.tsx index 655f0ec2c77..538d83f4ed5 100644 --- a/src/Button/Button.stories.tsx +++ b/src/Button/Button.stories.tsx @@ -63,6 +63,14 @@ export const invisibleButton = (args: ButtonProps) => { ) } +export const OutlineButton = (args: ButtonProps) => { + return ( + + ) +} + export const iconBeforeButton = (args: ButtonProps) => { return (