Skip to content

Commit

Permalink
fix(storybook): use theme component
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed May 21, 2024
1 parent 8ace659 commit efedafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import type { Preview } from "@storybook/react";
import "@radix-ui/themes/styles.css";
import { Theme } from "@radix-ui/themes";
import { Theme } from "../src/components/Theme";

const preview: Preview = {
parameters: {
Expand All @@ -16,7 +16,7 @@ const preview: Preview = {
},
decorators: [
(Page) => (
<Theme>
<Theme accentColor="gray">
<Page />
</Theme>
),
Expand Down

0 comments on commit efedafa

Please sign in to comment.