From e48299f179733707e1073be7ba8c28168e439fc2 Mon Sep 17 00:00:00 2001 From: Arno V Date: Tue, 17 Dec 2024 18:03:08 -0500 Subject: [PATCH] docs: custom light and dark backgrounds for API examples --- packages/api/.storybook/preview.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/api/.storybook/preview.jsx b/packages/api/.storybook/preview.jsx index c0a53d7a..bde4305a 100644 --- a/packages/api/.storybook/preview.jsx +++ b/packages/api/.storybook/preview.jsx @@ -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: [