Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/threepointone/bs-nice
css-in-reason
https://github.com/threepointone/bs-nice
Last synced: about 1 month ago
JSON representation
css-in-reason
- Host: GitHub
- URL: https://github.com/threepointone/bs-nice
- Owner: threepointone
- Created: 2017-12-21T10:48:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T16:05:38.000Z (over 6 years ago)
- Last Synced: 2024-05-10T11:04:26.369Z (about 2 months ago)
- Language: OCaml
- Size: 162 KB
- Stars: 181
- Watchers: 11
- Forks: 14
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Lists
- awesome-reasonml - bs-nice - CSS-in-Reason typed CSS by Sunil Pai ([glamor](https://github.com/threepointone/glamor) author) (Reason / Libraries and Bindings)
- awesome-reasonml - bs-nice - CSS-in-Reason typed CSS by Sunil Pai ([glamor](https://github.com/threepointone/glamor) author) (Reason / Libraries and Bindings)
README
(work in progress)
## nice
css-in-reason. just because.
```reason
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