Skip to content

pantoken-root / storybook

storybook ​

Compatibility ​

Target: Storybook theming. Current format: Storybook ThemeVars constructor accepts light and dark Pantoken themes. Minimum host version: 8.6.14. Tested through 8.6.14. Newer releases require review.

Full compatibility matrix

Experimental

@pantoken/storybook — un tema de Storybook construït a partir dels tokens d'Instructure.

pantokenStorybookTheme retorna un objecte simple amb forma de ThemeVars (així @storybook/theming es manté com un homòleg opcional) amb colors resolts concretament de l'IR. Passa'l al tema manager/preview de Storybook.

Àlies de tipus ​

Funcions ​

Referències ​

default ​

Canvia el nom i reexporta pantokenStorybookTheme