A fast way to install and maintain our common ui patterns and abstractions.
At the time of this repos creation, installing ui-patterns through npm gives you buttons, forms, grid, header, and typography.
You can see how these components look at http://ui-patterns.digitalsurgeonsdev.com
npm install @digitalsurgeons/ui-patterns
node_modules in your scss path:
node-sass --include-path ./node_modules scss/app.scss public_html/dist/app.css
in your scss file:
git clone firstname.lastname@example.org:digitalsurgeons/ui-patterns.gitnpm installnpm run buildnpm start
open your browser to http://localhost:8080
site=[site url here] npm run browsersync
new components can be created by making a scss partial
be sure to include all the dependencies for your new component
in the partial and also in
how to publish to npm:
npm version patch | minor | major)