aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components/ui')
-rw-r--r--packages/instant/src/components/ui/button.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/button.tsx b/packages/instant/src/components/ui/button.tsx
index fe0b7e6c7..b90221bf4 100644
--- a/packages/instant/src/components/ui/button.tsx
+++ b/packages/instant/src/components/ui/button.tsx
@@ -29,10 +29,9 @@ export const Button = styled(PlainButton)`
&& {
all: initial;
box-sizing: border-box;
- font-size: 15px;
+ font-size: ${props => props.fontSize};
font-family: 'Inter UI', sans-serif;
font-weight: 600;
- font-size: ${props => props.fontSize};
color: ${props => props.fontColor && props.theme[props.fontColor]};
cursor: ${props => (props.isDisabled ? 'default' : 'pointer')};
transition: background-color, opacity 0.5s ease;