cosmic

Crate cosmic_theme

source
Expand description

Cosmic theme library.

Provides utilities for creating custom cosmic themes.

Modules§

  • composite colors in srgb
  • A library that makes linear color calculations and conversion easy and accessible for anyone. It uses the type system to enforce correctness and to avoid mistakes, such as mixing incompatible color types.
  • get color steps

Structs§

  • The colors for a widget of the Cosmic theme
  • Theme Container colors of a theme, can be a theme background container, primary container, or secondary container
  • Corner radii variables for the Cosmic theme
  • The palette for Cosmic Theme, from which all color properties are derived
  • built in dark palette
  • built in light palette
  • Spacing variables for the Cosmic theme
  • Cosmic Theme data structure with all colors and its name
  • Helper for building customized themes
  • The config for cosmic theme dark / light settings

Enums§

Constants§

Traits§