1use gpui2::geometry::AbsoluteLength;
2use gpui2::{hsla, Hsla};
3
4#[derive(Clone, Copy)]
5pub struct Token {
6 pub list_indent_depth: AbsoluteLength,
7 pub default_panel_size: AbsoluteLength,
8 pub state_hover_background: Hsla,
9 pub state_active_background: Hsla,
10}
11
12impl Default for Token {
13 fn default() -> Self {
14 Self {
15 list_indent_depth: AbsoluteLength::Rems(0.5),
16 default_panel_size: AbsoluteLength::Rems(16.),
17 state_hover_background: hsla(0.0, 0.0, 0.0, 0.08),
18 state_active_background: hsla(0.0, 0.0, 0.0, 0.16),
19 }
20 }
21}
22
23pub fn token() -> Token {
24 Token::default()
25}