about summary refs log tree commit diff
path: root/src/components/Button.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-03-10 22:50:48 +0900
committerGitHub <noreply@github.com>2024-03-10 22:50:48 +0900
commit236223d02aa61d8f9011c7484c4e8827d336ecb6 (patch)
tree2e4ac0c8581a942332447a041b28dd5fa608e283 /src/components/Button.tsx
parente74c46e9ab480959c4416f83a78289e460bdeec7 (diff)
parent1aaed1cc0d59ecafa1bb3c7f57f0a323940e6317 (diff)
downloadvoidsky-236223d02aa61d8f9011c7484c4e8827d336ecb6.tar.zst
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'src/components/Button.tsx')
-rw-r--r--src/components/Button.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index 5361be963..d3bf73cc3 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -27,7 +27,7 @@ export type ButtonColor =
   | 'gradient_sunset'
   | 'gradient_nordic'
   | 'gradient_bonfire'
-export type ButtonSize = 'tiny' | 'small' | 'large'
+export type ButtonSize = 'tiny' | 'small' | 'medium' | 'large'
 export type ButtonShape = 'round' | 'square' | 'default'
 export type VariantProps = {
   /**
@@ -274,6 +274,8 @@ export function Button({
     if (shape === 'default') {
       if (size === 'large') {
         baseStyles.push({paddingVertical: 15}, a.px_2xl, a.rounded_sm, a.gap_md)
+      } else if (size === 'medium') {
+        baseStyles.push({paddingVertical: 12}, a.px_2xl, a.rounded_sm, a.gap_md)
       } else if (size === 'small') {
         baseStyles.push({paddingVertical: 9}, a.px_lg, a.rounded_sm, a.gap_sm)
       } else if (size === 'tiny') {