From ea2af9fd98cdc868f4461a18e07215ba95f14791 Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Wed, 22 Jul 2026 14:12:41 +0500 Subject: [PATCH] theme: set button's line height to 100% for new variants Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> --- apps/web/src/app.css | 4 ---- packages/theme/src/theme/variants/button.ts | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/web/src/app.css b/apps/web/src/app.css index dccdaa67b..1c132f0c5 100644 --- a/apps/web/src/app.css +++ b/apps/web/src/app.css @@ -248,7 +248,3 @@ kbd { opacity: 1; } } - -button { - line-height: 100%; -} diff --git a/packages/theme/src/theme/variants/button.ts b/packages/theme/src/theme/variants/button.ts index 2393ae83a..a1992ae87 100644 --- a/packages/theme/src/theme/variants/button.ts +++ b/packages/theme/src/theme/variants/button.ts @@ -90,7 +90,8 @@ export const newCreateButtonVariant = ( paddingX: "spacing5", fontSize: "md", fontWeight: 600, - borderRadius: "radius2" + borderRadius: "radius2", + lineHeight: "100%" }); const newAccent = newCreateButtonVariant("accent", "accentForeground", {