From 8f0db08d0f9b3d1a57e2fa6149a38075878cb5fc Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Tue, 3 Feb 2026 10:02:18 -0700 Subject: [PATCH] Update button components --- app/components-preview/page.tsx | 34 ++--- .../AskOrganizer/AskOrganizer.view.tsx | 2 +- app/components/Button.tsx | 39 ++--- .../ContentLockup/ContentLockup.view.tsx | 6 +- .../HomeHeader/HomeHeader.container.tsx | 2 +- .../ModalFooter/ModalFooter.view.tsx | 4 +- .../NumberedCards/NumberedCards.view.tsx | 2 +- app/components/RuleStack/RuleStack.view.tsx | 2 +- app/tailwind.css | 2 +- stories/Button.stories.js | 138 ++++++------------ 10 files changed, 86 insertions(+), 145 deletions(-) diff --git a/app/components-preview/page.tsx b/app/components-preview/page.tsx index 9e3b05b..4d8e60c 100644 --- a/app/components-preview/page.tsx +++ b/app/components-preview/page.tsx @@ -50,23 +50,17 @@ export default function ComponentsPreview() { All Variants
- - - - - - - - @@ -522,7 +516,7 @@ export default function ComponentsPreview() {
{/* Large button for md and lg breakpoints */}
-
{/* XLarge button for xl breakpoint */}
-
diff --git a/app/components/HomeHeader/HomeHeader.container.tsx b/app/components/HomeHeader/HomeHeader.container.tsx index dd21d02..4fb1e8f 100644 --- a/app/components/HomeHeader/HomeHeader.container.tsx +++ b/app/components/HomeHeader/HomeHeader.container.tsx @@ -150,7 +150,7 @@ const HomeHeaderContainer = memo(() => { return (
@@ -47,7 +47,7 @@ export function ModalFooterView({ {showNextButton && (
diff --git a/app/components/RuleStack/RuleStack.view.tsx b/app/components/RuleStack/RuleStack.view.tsx index 671385f..a735e46 100644 --- a/app/components/RuleStack/RuleStack.view.tsx +++ b/app/components/RuleStack/RuleStack.view.tsx @@ -82,7 +82,7 @@ export function RuleStackView({ {/* See all templates button */}
-
diff --git a/app/tailwind.css b/app/tailwind.css index 7642f27..7d7b680 100644 --- a/app/tailwind.css +++ b/app/tailwind.css @@ -662,7 +662,7 @@ --color-surface-default-brand-lavender: var(--color-lavender-lavender200); --color-surface-default-brand-lighter-accent: var(--color-yellow-yellow100); --color-surface-default-brand-lime: var(--color-lime-lime100); - --color-surface-default-brand-primary: var(--color-yellow-yellow100); + --color-surface-default-brand-primary: var(--color-yellow-yellow1000); --color-surface-default-brand-secondary: var(--color-yellow-yellow800); --color-surface-default-brand-royal: var(--color-royal-blue-royal-blue50); --color-surface-default-brand-rust: var(--color-rust-rust100); diff --git a/stories/Button.stories.js b/stories/Button.stories.js index bb1f813..efd0684 100644 --- a/stories/Button.stories.js +++ b/stories/Button.stories.js @@ -16,12 +16,10 @@ export default { variant: { control: { type: "select" }, options: [ - "default", - "secondary", - "primary", - "outlined", - "dark", - "inverse", + "filled", + "filled-inverse", + "outline", + "outline-inverse", "ghost", "ghost-inverse", "danger", @@ -61,23 +59,17 @@ export const Variants = { render: (_args) => (
- - - - - - - - - - -
-
- -
-

Secondary Variant

-
- - - - -
-

Primary Variant

+

Filled Inverse Variant

- - - - -
-

Outlined Variant

+

Outline Variant

- - - - -
-

Dark Variant

+

Outline Inverse Variant

- - - - - -
-
- -
-

Inverse Variant

-
- - - - -
@@ -370,23 +330,17 @@ export const AllVariants = {

Disabled States

- - - - - -