From 79125b00653f5337ec287333679518f678b1888b Mon Sep 17 00:00:00 2001 From: Shelby Kay Date: Fri, 29 Oct 2021 21:47:54 +0200 Subject: [PATCH] Add xs size prop to button --- src/style/atoms/_button.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/style/atoms/_button.scss b/src/style/atoms/_button.scss index 1896bee..80eec1e 100644 --- a/src/style/atoms/_button.scss +++ b/src/style/atoms/_button.scss @@ -38,6 +38,18 @@ /* ** Size variants */ + // XSmall + &--xsmall { + height: 32px; + padding: 0 6px; + + @include bp (sm) { + height: 32px; + padding: 0 16px; + font-size: rem(14px); + } + } + // Small &--small { height: 40px;