mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-10-30 14:54:15 +00:00
20 lines
467 B
JavaScript
20 lines
467 B
JavaScript
import { addons } from '@storybook/manager-api';
|
|
import { themes } from '@storybook/theming';
|
|
|
|
// Configure the manager UI
|
|
addons.setConfig({
|
|
theme: themes.dark, // Use dark theme for the manager UI
|
|
sidebar: {
|
|
showRoots: true,
|
|
collapsedRoots: ['other'],
|
|
},
|
|
// Customize the manager UI
|
|
selectedPanel: 'controls',
|
|
initialActive: 'sidebar',
|
|
// Improve the overall appearance
|
|
panelPosition: 'bottom',
|
|
showNav: true,
|
|
showPanel: true,
|
|
showToolbar: true,
|
|
});
|