Skip to content

Commit

Permalink
Use app theme in storybook and provide fonts - makes storybook more r…
Browse files Browse the repository at this point in the history
…epresentative of the live app
  • Loading branch information
SmileyJames committed Jul 17, 2021
1 parent 4dd1e0b commit 0fc1b18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/.storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Roboto&display=swap" rel="stylesheet">
4 changes: 2 additions & 2 deletions app/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import rebassPreset from "@rebass/preset";
import theme from "../src/theme";
import { MemoryRouter } from "react-router-dom";
import { withThemesProvider } from "themeprovider-storybook";

Expand All @@ -9,7 +9,7 @@ export const parameters = {
const themes = [
{
name: "Rebass Preset",
...rebassPreset,
...theme,
}
]

Expand Down

0 comments on commit 0fc1b18

Please sign in to comment.