Skip to main content

Module derive

Module derive 

Source
Expand description

Shade derivation helpers for hover/active states.

Provides functions to derive interactive state colors (hover, active/pressed) from base colors. Uses the Colorize trait from gpui-component for lightness adjustments.

Functionsยง

active_color
Derive an active/pressed state from a base color.
hover_color
Derive a hover state from a base color.