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
76
77
78
79
80
/// Shared logical pixel height for uniform top-bar controls (`mobile_fps_pill`, `desktop_fps_pill`, `menu_btn_node`, and brand badge).
pub const SHELL_TOPBAR_CONTROL_HEIGHT: f32 = 32.0;
/// Desktop top header bar height in logical pixels when `top_inset == 0.0`.
pub const SHELL_DESKTOP_HEADER_HEIGHT: f32 = 44.0;
/// Compact clearance in logical pixels between a non-zero top safe-area inset and top-bar controls.
pub const SHELL_TOPBAR_SAFE_TOP_GAP: f32 = 2.0;
/// Bottom breathing gap in logical pixels below top-bar controls when a non-zero top safe-area inset is active.
pub const SHELL_TOPBAR_SAFE_BOTTOM_GAP: f32 = 6.0;
/// Fallback single-character brand mark when the app brand title is empty.
pub const SHELL_DEFAULT_INITIAL: &str = "E";
/// Accessibility label assigned to static brand logo emblems in the sidebar and drawer.
pub const SHELL_BRAND_A11Y_LABEL: &str = "Euv Studio";
/// Shared square dimension in logical pixels for the unified navbar and sidebar brand logo mark.
pub const SHELL_BRAND_BADGE_SIZE: f32 = SHELL_TOPBAR_CONTROL_HEIGHT;
/// Minimum auto-fill child width in logical pixels inside `EuvActionRow`.
pub const ACTION_ROW_MIN_BTN_WIDTH: f32 = 76.0;
/// Maximum auto-synthesized child minimum width in logical pixels inside `EuvActionRow`.
pub const ACTION_ROW_MAX_BTN_WIDTH: f32 = 210.0;
/// Minimum auto-fill width in logical pixels for compound controls (switches/checkboxes) inside `EuvActionRow`.
pub const ACTION_ROW_SWITCH_MIN_WIDTH: f32 = 136.0;
/// Compact mobile header drawer toggle button label.
pub const SHELL_MENU_LABEL: &str = "Menu";
/// Overlay stack identifier for the `EuvAppShell` compact drawer.
pub const SHELL_DRAWER_OVERLAY_NAME: &str = "EuvAppShellDrawer";
/// Fixed height in logical pixels for the floating bottom navigation capsule.
pub const SHELL_BOTTOM_NAV_HEIGHT: f32 = 60.0;
/// Vertical float offset in logical pixels above the bottom edge on compact viewports.
pub const SHELL_BOTTOM_NAV_FLOAT_COMPACT: f32 = 14.0;
/// Vertical float offset in logical pixels above the bottom edge on medium/wide viewports.
pub const SHELL_BOTTOM_NAV_FLOAT_WIDE: f32 = 18.0;
/// Minimum horizontal side margin in logical pixels on both sides of the floating dock on compact screens.
pub const SHELL_BOTTOM_NAV_SIDE_MARGIN: f32 = 20.0;
/// Maximum capsule width in logical pixels for the horizontally centered floating bottom dock.
pub const SHELL_BOTTOM_NAV_MAX_WIDTH: f32 = 436.0;
/// Status text rendered in the shell FPS pill when no active presentation frames are running.
pub const SHELL_FPS_IDLE_LABEL: &str = "Idle";
/// Accessibility label assigned to the compact live FPS telemetry pill.
pub const SHELL_FPS_A11Y_LABEL: &str = "Live FPS";
/// Minimum measured FPS threshold above which the HUD pill reports active frame rate instead of idle.
pub const SHELL_FPS_ACTIVE_THRESHOLD: f32 = 0.05;
/// Minimum vertical scroll offset in logical pixels before scrolling down auto-hides shell chrome.
pub const SHELL_AUTO_HIDE_MIN_SCROLL_Y: f32 = 48.0;
/// Downward vertical scroll hysteresis threshold in logical pixels required to auto-hide shell chrome.
pub const SHELL_AUTO_HIDE_DOWN_THRESHOLD: f32 = 16.0;
/// Upward vertical scroll hysteresis threshold in logical pixels required to reveal hidden shell chrome.
pub const SHELL_AUTO_HIDE_UP_THRESHOLD: f32 = 12.0;
/// Scroll offset threshold near the top of content in logical pixels where hidden chrome always reveals.
pub const SHELL_AUTO_HIDE_TOP_REVEAL_Y: f32 = 16.0;
/// Duration in seconds for monotonic zero-overshoot chrome auto-hide and reveal animations.
pub const SHELL_AUTO_HIDE_ANIM_SECS: f32 = 0.24;
/// Duration in seconds for the compact left drawer scrim fade-out exit transition.
pub const SHELL_DRAWER_SCRIM_EXIT_SECS: f32 = 0.20;
/// Duration in seconds for the compact left drawer panel slide-out exit transition.
pub const SHELL_DRAWER_PANEL_EXIT_SECS: f32 = 0.22;