1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//! Icon size constants
//!
//! Consistent icon sizing across toolbar and UI components.
// =============================================================================
// Icon Size Scale
// =============================================================================
/// Tiny icon (11px) - status indicators, compact badges
pub const TINY: f32 = 11.0;
/// Extra small icon (12px)
pub const XS: f32 = 12.0;
/// Compact icon (14px) - floating controls, compact buttons
pub const COMPACT: f32 = 14.0;
/// Small icon (16px)
pub const SM: f32 = 16.0;
/// Small-medium icon (18px) - bottom toolbar, compact btns
pub const SM_MD: f32 = 18.0;
/// Medium icon (20px)
pub const MD: f32 = 20.0;
/// Large icon (24px)
pub const LG: f32 = 24.0;
/// Extra large icon (28px) - standard toolbar icon
pub const XL: f32 = 28.0;
/// 2X large icon (32px)
pub const XXL: f32 = 32.0;
// =============================================================================
// Semantic Aliases
// =============================================================================
/// Standard toolbar icon size
pub const TOOLBAR: f32 = XL;
/// Menu item icon size
pub const MENU: f32 = MD;
/// Button icon size (small)
pub const BUTTON_SM: f32 = SM;
/// Button icon size (standard)
pub const BUTTON: f32 = MD;
/// Indicator/badge icon size
pub const INDICATOR: f32 = SM;
/// Bottom toolbar icon size
pub const BOTTOM_TOOLBAR: f32 = SM_MD;
/// Status indicator icon size (compact badges)
pub const STATUS_INDICATOR: f32 = TINY;
/// Floating control icon size (compact floating toolbars)
pub const FLOATING_CONTROL: f32 = COMPACT;
// =============================================================================
// UiExt Aliases (for extension traits)
// =============================================================================
/// Small icon size (16px) - for UiExt::small_icon
pub const SMALL: f32 = SM;
/// Medium icon size (20px) - for UiExt::medium_icon
pub const MEDIUM: f32 = MD;
/// Large icon size (24px) - for UiExt::large_icon
pub const LARGE: f32 = LG;