From 7441f21b182b61f6a64309c7429a8a99ba6de364 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Wed, 3 Sep 2025 14:34:29 +0200 Subject: [PATCH] [Glitch] Add new plain (text-only) button variant Port bc952ebde914e9dfd9ab4d88f4b994388ac90bef to glitch-soc Signed-off-by: Claire --- .../glitch/components/button/index.tsx | 3 ++ .../flavours/glitch/styles/components.scss | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app/javascript/flavours/glitch/components/button/index.tsx b/app/javascript/flavours/glitch/components/button/index.tsx index 2ca7ff12bc..4ef61e1e14 100644 --- a/app/javascript/flavours/glitch/components/button/index.tsx +++ b/app/javascript/flavours/glitch/components/button/index.tsx @@ -9,6 +9,7 @@ interface BaseProps extends Omit, 'children'> { block?: boolean; secondary?: boolean; + plain?: boolean; compact?: boolean; dangerous?: boolean; loading?: boolean; @@ -35,6 +36,7 @@ export const Button: React.FC = ({ disabled, block, secondary, + plain, compact, dangerous, loading, @@ -62,6 +64,7 @@ export const Button: React.FC = ({