1 unstable release
| 0.1.0 | Jun 6, 2019 |
|---|
#37 in #ui-layout
27 downloads per month
Used in 4 crates
185KB
4K
SLoC
This crate hoists various styles and layout parameters for implementing Flexbox in Alchemy. For all intents and purposes, you can essentially consider this to be the root crate for Alchemy, as just about everything ends up using it.
Alchemy-Styles
This crate implements CSS parsing and Flexbox layout. CSS parsing relies on the CSS Parser from Servo. Flexbox is implemented with Stretch, albeit currently a fork by msilgreith, cloned into here to serve a few small changes (a change for more thread safety, and to push appearance based styles that Flexbox doesn't concern itself with). Down the road, I could see this not including Stretch inline.
Questions, Comments?
Open an issue, or hit me up on Twitter.
Dependencies
~0.6–1.6MB
~32K SLoC