Skip to content

Commit d980b49

Browse files
committed
fix: fix storybook background color
1 parent c905fbe commit d980b49

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/component-library/.storybook/preview.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ const preview = {
1515
cellSize: 4,
1616
cellAmount: 4,
1717
},
18-
options: [
19-
{ name: "Primary", value: "var(--primary-background)" },
20-
{ name: "Secondary", value: "var(--secondary-background)" },
21-
],
18+
options: {
19+
primary: { name: "Primary", value: "var(--primary-background)" },
20+
secondary: { name: "Secondary", value: "var(--secondary-background)" },
21+
},
2222
},
2323
actions: { argTypesRegex: "^on[A-Z].*" },
2424
},
2525
initialGlobals: {
26-
backgrounds: { value: "Primary" },
26+
backgrounds: { value: "primary" },
2727
},
2828
} satisfies Preview;
2929

0 commit comments

Comments
 (0)