dapper
v0.0.6
Published
A CSS utility toolkit library and framework
Downloads
18
Readme
Dapper
A CSS toolkit library and framework using component, rework and autoprefixer.
Manifest
%placeholders
- fixes
- flex-modal
- flex-embed
- fluid-canvas
- lists
resets
- reset
- reset-buttons
component install dappercss/dapper
Most repositories in the dappercss organization consists of CSS using placeholder selectors using rework.extend(). The benefit of this is that you can include all of these as dependencies without polluting your build, assuming there are no placeholder conflicts.
dappercss/dapper
simply includes all placeholder CSS so you don't have to depend on each individually.
CSS resets are not included.
rework.extend() and autoprefixer the build before consuming: see dapper(1)
.
dapper(1)
npm i -g dapper
A minimalist rework and autoprefixer CSS preprocessor.
When using dapper, you are expected to use your own rework setup that includes both rework.extend()
and autoprefixer
.
If you don't want to create your own CSS preprocessor,
you can always just use dapper(1)
.
dapper <input> [<output>]
input
is the input CSS file.
output
is optional and is the output CSS file.
If output
is empty or -
,
dapper
will print the result to stdout
.
Example build process:
# install dependencies
component install
# build everything
component build
# overwrite the CSS build
dapper build/build.css build/build.css
License
The MIT License (MIT)
Copyright (c) 2013 Jonathan Ong [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.