dtmt/crates/dtmm/src/ui/theme/keys.rs

13 lines
668 B
Rust

use druid::{Color, Insets, Key};
pub const KEY_BUTTON_BG: Key<Color> = Key::new("dtmm.button.bg");
pub const KEY_BUTTON_BG_HOT: Key<Color> = Key::new("dtmm.button.bg-hot");
pub const KEY_BUTTON_BG_ACTIVE: Key<Color> = Key::new("dtmm.button.bg-active");
pub const KEY_BUTTON_BG_DISABLED: Key<Color> = Key::new("dtmm.button.bg-disabled");
pub const KEY_BUTTON_FG: Key<Color> = Key::new("dtmm.button.fg");
pub const KEY_BUTTON_FG_DISABLED: Key<Color> = Key::new("dtmm.button.fg-disabled");
pub const KEY_BUTTON_PADDING: Key<Insets> = Key::new("dtmm.button.padding");
pub const KEY_MOD_LIST_ITEM_BG_COLOR: Key<Color> = Key::new("dtmm.mod-list.item.background-color");