@uswds/web-components
Version:
> [!CAUTION] > Work on the next version of the Design System is happening in this repo. The code in this repository is not yet ready for production use.
29 lines (25 loc) • 558 B
JavaScript
import UswdsTheme from "./UswdsTheme";
// Global component styles.
import "../storybook/index.css";
// Theme overrides.
import "./index.css";
/** @type { import('@storybook/web-components').Preview } */
const preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
docs: {
toc: true, // Autogenerate table of contents.
theme: UswdsTheme,
canvas: {
sourceState: "shown",
},
},
},
tags: ["autodocs"],
};
export default preview;