threepointone/bs-nice

css-in-reason

OCaml

184

13 commits

updated Feb 8, 2018

See the code

README

(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

Contributors

wokalski

9 commits

lpalmes

2 commits

glennsl

1 commits

vramana

1 commits

threepointone/bs-nice

css-in-reason

OCaml

184

13 commits

updated Feb 8, 2018

See the code

README

(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

Contributors

wokalski

9 commits

lpalmes

2 commits

glennsl

1 commits

vramana

1 commits

Languages

OCaml

98.9%