Skip to content

Commit

Permalink
docs: custom light and dark backgrounds for API examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Dec 17, 2024
1 parent abbb194 commit e48299f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/api/.storybook/preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ import "@versini/ui-pill/dist/style.css";

const preview = {
parameters: {
backgrounds: {
values: [
{ name: "Dark", value: "rgb(100 116 139)" },
{ name: "Light", value: "#f0f0f0" },
],
default: "Light",
},

options: {
storySort: {
order: [
Expand Down

0 comments on commit e48299f

Please sign in to comment.