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 construido a partir de tokens de Instructure.

pantokenStorybookTheme devuelve un objeto plano con la forma ThemeVars (por lo que @storybook/theming permanece como un par opcional) con colores resueltos concretamente desde la IR. Pásalo al tema manager/preview de Storybook.

Alias de tipo ​

Funciones ​

Referencias ​

default ​

Renombra y vuelve a exportar pantokenStorybookTheme