Storybook Skeleton for the PicoCSS Default Theme.
You need NPM and Yarn installed on your machine to work with Storybook. On macOS, you can install them both with brew brew install npm yarn.
Additionally, PHP and Twig are used to compile Stories. On macOS PHP is installed with brew install php.
Storybook is a great tool to develop and test components in isolation. It is also a great tool to document components. This repository is a skeleton for the PicoCSS Default Theme. It is a starting point to develop your own designs based on PicoCSS and document components.
The goal of this repository is to provide a starting point for developing PicoCSS Themes and Color Schemes. Starting off with a component library utilizing the PicoCSS Default Theme.
To get started, first clone this repository.
git clone [email protected]:vardumper/picocss-storybook.git
cd picocss-storybookAnd run:
composer install
# merge PicoCSS sepcification into the HTML5 specification
php bin/console picocss
# render stories for storybook (to be replaced with generators in extended-htmldocument)
php bin/console storybook
yarn install
yarn storybookThis will install Composer and Yarn dependencies, build the storybook, and finally start Storybook for you.