A modern css/scss boilerplate framework. Pix is dead simple and completely modular, designed to get projects of the ground quickly.
- Minimalistic
- Modern
- Modular
- AMP Ready
Pix is available on npm
npm i --save @jaspero/pix
You can import the entire library as css or scss.
<link rel="stylesheet" type="text/css" href="node_modules/@jaspero/pix/dist/index.min.css" />
@import "node_modules/@jaspero/pix/index.css";
Each component can also be imported separately as scss or css.
<link rel="stylesheet" type="text/css" href="node_modules/@jaspero/pix/dist/components/buttons.css" />
<link rel="stylesheet" type="text/css" href="node_modules/@jaspero/pix/dist/components/dropdown.css" />
@import "node_modules/@jaspero/pix/components/buttons.scss";
@import "node_modules/@jaspero/pix/components/dropdown.scss";
Some components like tabs and dropdown for example, require javascript to run. Generally speaking this is very simple js mostly adding and removing active classes. Examples for each of the components can be found in this repo.
However, we don't publish the js along with styles because our personal preference is having a consistent stlye sheet and using what ever freamework or vanilla javascript in a particular project for manipulating the components.
- Accordion
- Dropdown
- Modal
- Tabs
For a detailed breakdown please visit:
https://pix-css.firebaseapp.com/
CSS files are independent. Some SCSS files aren't - those that use variables and functions.
_tools.scss
and _variables.scss
are purely scss constructs and would produce no output as css files.
Nothing to showcase just yet.
MIT © Jaspero co.