Crate alchemy_styles

Source
Expand description

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.

Re-exports§

Modules§

  • Implements Color. Heavily based on the Color module in Servo’s CSS parser, but tweaked for (what I believe) is a friendlier API, and to separate out the parsing into a separate module.
  • This module is included while awaiting an upstream merge in stretch proper. You should not rely on it, and consider it an implementation detail.
  • Implements a StyleSheet, which contains inner logic for determining what styles should be applied to a given widget.

Macros§

Structs§

Type Aliases§