css-in-reason
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
lib
site
src
.gitignore
.watchmanconfig
README.md
bsconfig.json
package.json
rollup.config.js
tasks.json
yarn.lock

README.md

(work in progress)

nice

css-in-reason. just because.

open Nice;

let className = css([|
  Display(Flex),
  AlignItems(Center),
  Color(Red),
  Select(":hover", [Color(Blue)])
|]);

some nice features

  • pure reason
  • typed css
  • glamor-style composition
  • escape hatch - Raw(key, value)

todo

  • vendor prefixing
  • keyframes / animations
  • font-faces
  • better types
  • ~ hot reloading
  • benchmarks / tests