diff --git a/stories/Button.stories.ts b/stories/Button.stories.ts index b10a536..1e52673 100644 --- a/stories/Button.stories.ts +++ b/stories/Button.stories.ts @@ -85,9 +85,6 @@ export const CustomStyle: Story = { args: { label: "Button", variant: "primary", - style: { - "--codex-color-primary": "red", - "--codex-button-color-box-shadow": "#f85723", - }, + }, }; diff --git a/stories/ButtonIcon.stories.ts b/stories/ButtonIcon.stories.ts index 7a6827d..f89a591 100644 --- a/stories/ButtonIcon.stories.ts +++ b/stories/ButtonIcon.stories.ts @@ -60,8 +60,5 @@ export const CustomStyle: Story = { args: { Icon: Plus, variant: "big", - style: { - "--codex-button-icon-background": "red", - }, }, }; diff --git a/stories/Card.stories.ts b/stories/Card.stories.ts index a57fc22..7d174c5 100644 --- a/stories/Card.stories.ts +++ b/stories/Card.stories.ts @@ -26,6 +26,5 @@ export const CustomStyle: Story = { args: { title: "Hello", children: React.createElement("div", {}, "Hello World !"), - style: { "--codex-border-radius": "0px" }, }, }; diff --git a/stories/Dropdown.stories.tsx b/stories/Dropdown.stories.tsx index 2155d76..d13f95b 100644 --- a/stories/Dropdown.stories.tsx +++ b/stories/Dropdown.stories.tsx @@ -82,7 +82,6 @@ export const CustomStyle: Story = { args: { placeholder: "Select your file", options: [], - style: { "--codex-input-border": "1px solid red" }, value: "", id: "dropdown", label: "Dropdown", diff --git a/stories/Select.stories.ts b/stories/Select.stories.ts index 284c90a..6f32b4f 100644 --- a/stories/Select.stories.ts +++ b/stories/Select.stories.ts @@ -30,17 +30,7 @@ export const Default: Story = { ["value 1", "Text 1"], ["value 2", "Text 2"], ], + value: "value 1" }, }; -export const CustomStyle: Story = { - args: { - id: "select", - label: "Select", - options: [ - ["value 1", "Text 1"], - ["value 2", "Text 2"], - ], - style: { "--codex-select-border": "1px solid red" }, - }, -}; diff --git a/stories/SimpleText.stories.ts b/stories/SimpleText.stories.ts deleted file mode 100644 index 681577a..0000000 --- a/stories/SimpleText.stories.ts +++ /dev/null @@ -1,58 +0,0 @@ -import type { Meta, StoryObj } from "@storybook/react"; -import { SimpleText } from "../src/components/SimpleText/SimpleText"; - -const meta = { - title: "Components/SimpleText", - component: SimpleText, - parameters: { - layout: "centered", - }, - tags: ["autodocs"], - argTypes: {}, -} satisfies Meta; - -export default meta; -type Story = StoryObj; - -export const Normal: Story = { - args: { - variant: "normal", - children: "Normal message.", - }, -}; - -export const Light: Story = { - args: { - variant: "light", - children: "Light message.", - }, -}; - -export const Success: Story = { - args: { - variant: "primary", - children: "Primary message.", - }, -}; - -export const Error: Story = { - args: { - variant: "error", - children: "Error message.", - }, -}; - -export const Warning: Story = { - args: { - variant: "warning", - children: "Warning message.", - }, -}; - -export const CustomStyle: Story = { - args: { - variant: "normal", - children: "Normal message.", - style: { "--codex-color": "red" }, - }, -};