Extendable
Following strict yet simple conventions it's easy to extend funkcss to suit almost any project.
No side-effects
With immutable helpers it makes sure your style is applyed independent of context.
Handly
Following emmet naming convention: .ta-c
is text-align: center;
make it is easy to type.
Development
npm run setup
npm run watch
Other gulp comands
License
MIT © Filipe Linhares
[v0.8.0]
:package: Now you can import funkcss as a npm module with postcss-import and similar tools.
:wrench: New npm command for development:
$ npm run setup
$ npm run watch
$ npm run compile
$ npm run test
Removing font-weight
helper
Seeing from the beggining, funkcss now is a more abstract library than it was in the past. With this release we're removing the last helper (.fw-
) with a "custom style" (custom style is the style which changes between different projects and devs. Color and typography are a good example).
Why are we removing font weight helper?
- Each project has its own font family with different font weight.
- Some people prefer
font-weight
with literal values (.fw-bold
) instead of numbers (.fw-700
).
Added:
.bgpX-*
, .bgpY-*
⇢ Background position y and x.d-n
⇢ display: none
.fw-n
⇢ font-weight: none
.fxw-wr
⇢ flex-wrap: wrap-reverse
.fxw-nw
⇢ flex-wrap: nowrap
.fxd-cr
⇢ flex-direction: column-reverse
.fxd-r
⇢ flex-direction: row
.fxd-rr
⇢ flex-direction: row-reverse
Changed:
- Reorder border helpers
- Move
vertical-align
helpers to layout file .bd-n
⇢ .bds-n
Removed:
.clearfix
.fw-n
.fw-300
.fw-600
.fw-700
.fw-500