* ✨ feat: integrate Storybook addons and enhance Tabs component - Added `@storybook/addon-designs` and `@storybook/addon-docs` to the project dependencies. - Enhanced the Tabs component stories to support dynamic tab options. - Introduced a custom theme for Storybook with a new manager configuration. - Added a new SVG logo for branding in Storybook. - Pinned the storybook and related packages version * ♻️ refactor: update Storybook manager configuration by removing unused import * ♻️ refactor: enhance Tabs story with size labels and layout adjustments * 🚨 fix: lint issues * 🚨 fix: lock file * ✏️ fix: update brand image path in Storybook manager configuration * ♻️ refactor: improve Tabs story by ensuring safe default value and enhancing content rendering
14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
import { addons } from "storybook/manager-api";
|
|
import { create } from "storybook/theming";
|
|
|
|
const planeTheme = create({
|
|
base: "dark",
|
|
brandTitle: "Plane UI",
|
|
brandUrl: "https://plane.so",
|
|
brandImage: "plane-lockup-light.svg",
|
|
brandTarget: "_self",
|
|
});
|
|
|
|
addons.setConfig({
|
|
theme: planeTheme,
|
|
});
|