material-colors 0.4.2

Up-to-date material-color-utilities port
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Set of themes supported by Dynamic Color.
/// Instantiate the corresponding subclass, ex. [`SchemeTonalSpot`], to create
/// colors corresponding to the theme.
///
/// [`SchemeTonalSpot`]: crate::scheme::variant::SchemeTonalSpot
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Clone)]
pub enum Variant {
    Monochrome,
    Neutral,
    TonalSpot,
    Vibrant,
    Expressive,
    Fidelity,
    Content,
    Rainbow,
    FruitSalad,
}