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"),