From 5ef8842e07616d89b7668d9734552d88301b3e71 Mon Sep 17 00:00:00 2001 From: Bryan Cunningham Date: Fri, 9 Jan 2026 14:45:00 -0500 Subject: [PATCH] updated size stories --- libs/components/src/button/button.stories.ts | 52 +++++++++++++++++--- libs/components/tailwind.config.base.js | 2 +- 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/libs/components/src/button/button.stories.ts b/libs/components/src/button/button.stories.ts index b31f2fbd355..a7f6a170279 100644 --- a/libs/components/src/button/button.stories.ts +++ b/libs/components/src/button/button.stories.ts @@ -160,22 +160,60 @@ export const SuccessGhost: Story = { }, }; +const sizeTemplate = /*html*/ ` +
+
+ + + + +
+
+ +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+`; + export const Small: Story = { render: (args) => ({ props: args, - template: /*html*/ ` -
- - - -
- `, + template: sizeTemplate, }), args: { size: "small", }, }; +export const Large: Story = { + render: (args) => ({ + props: args, + template: sizeTemplate, + }), + args: { + size: "large", + }, +}; + export const Loading: Story = { ...Default, args: { diff --git a/libs/components/tailwind.config.base.js b/libs/components/tailwind.config.base.js index c35a2ec98ef..bd88f5471ff 100644 --- a/libs/components/tailwind.config.base.js +++ b/libs/components/tailwind.config.base.js @@ -72,7 +72,7 @@ module.exports = { code: rgba("--color-text-code"), }, background: { - DEFAULT: "var(--color-bg-primary)", + DEFAULT: rgba("--color-background"), alt: rgba("--color-background-alt"), alt2: rgba("--color-background-alt2"), alt3: rgba("--color-background-alt3"),