In short, Sheer is a customizable and extendable CSS framework. It is a collection of modular .css files, which are processed with PostCSS and its eco system to generate the customized CSS.
Already there are quite a few CSS frameworks available. However most of them come with a default themed version. In order to customize, for example, brand specific color, spacing, padding, font family, font sizes, one end up overriding and bloating the CSS.
With sheer, one generates the CSS from the multiple modular, variables driven, boilerplates. So one gets, only what is desired, with out any overhead.
Not really, Sheer is completely configurable and driven by variables. One can override the variables and the generated CSS will be based on the overridden value of the variables. No extra, overridden statements.
May be. Sheer provides basic modular CSS, which might not address all the use case. One might have to hand code as per the need, and generate the combined CSS.
mkdir my-awesome-app; cd $_
npm install sarbbottam/sheer
And create the following file structure at minimum
.
|____Gruntfile.js # refer the project's Gruntfile.js
|____package.json # refer the project's package.json
|____src
| |____main.css # refer refer the project's main.css
| |____modules
| | |_____module.css
| |____variables
| | |_____variables.css
npm install
Please install grunt-cli globally, if not already installed.
grunt
Any customization required, needs be carried out at src/modules/module.css
and src/variables/variable.css
.
Should one need to create mutiple files at src/modules/
and/or src/variables/
, they need to be included at src/main.css
.