Skip to content

Commit 6077910

Browse files
authored
Merge pull request #2490 from pyth-network/cprussin/fix-storybook-background
fix: fix storybook background color
2 parents ba49373 + d980b49 commit 6077910

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)