theme for storybook

This commit is contained in:
Peer Richelsen 2023-02-06 15:15:26 +01:00
parent 5b8ed9c3ef
commit 43a044d59e
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import { create } from "@storybook/theming";
export default create({
base: "light",
colorPrimary: "#111827",
colorSecondary: "#111827",
appContentBg: "#F9FAFC",
brandTitle: "Cal.com UI",
brandUrl: "https://cal.com",
brandImage: "https://cal.com/logo.svg",
brandTarget: "_self",
});

View File

@ -0,0 +1,7 @@
import { addons } from "@storybook/addons";
import yourTheme from "./YourTheme";
addons.setConfig({
theme: yourTheme,
});