This package has been deprecated

Author message:

This package has been deprecated.

@brightlayer-ui/storybook-themes
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Brightlayer UI themes for Storybook applications

This package contains theming support for Storybook applications built using Angular or React. It is primarily used to give these applications a Brightlayer UI look and feel. Integrating this theme into your storybook application will change the appearance of the storybook container and any Markdown notes found within the @storybook/addon-notes add-on.

Installation

This theme package depends on @brightlayer-ui/colors and the @storybook/theming add-on. To begin, install all three by running:

yarn add @brightlayer-ui/colors @storybook/theming @brightlayer-ui/storybook-themes

Usage

To integrate the theme into your storybook app, add the following code to your config:

import { bluiTheme } from '@brightlayer-ui/storybook-themes';
import { addParameters } from '@storybook/react';

addParameters({
    options: {
        theme: bluiTheme,
    },
});

For additional help while integrating storybook themes, see the storybook docs.

Demos

You can see this theme in action in the documentation for Brightlayer UI component libraries at brightlayer-ui-components.github.io.

Package Sidebar

Install

npm i @brightlayer-ui/storybook-themes

Weekly Downloads

3

Version

1.1.0

License

BSD-3-Clause

Unpacked Size

8.99 kB

Total Files

8

Last publish

Collaborators

  • brightlayerui