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
//! Default values for style, cursor, and control configurations.
//!
//! These constants are used as fallbacks when no values are provided
//! via CLI arguments, theme presets, or user overrides.
// ───────────────🎨 Style Defaults ───────────────
/// Default font size in pixels.
pub const DEFAULT_STYLE_FONT_SIZE: u32 = 18;
/// Default font family name (used in CSS `font-family`).
pub const DEFAULT_STYLE_FONT_FAMILY: &str = "Monospace";
/// Default text color in hexadecimal (e.g. white).
pub const DEFAULT_STYLE_TEXT_COLOR: &str = "#ffffff";
/// Default background color in hexadecimal (e.g. black).
pub const DEFAULT_STYLE_BACKGROUND_COLOR: &str = "#000000";
// ───────────────🖋 Cursor Defaults ───────────────
/// Default cursor character (e.g. vertical bar).
pub const DEFAULT_CURSOR_CHAR: &str = "|";
/// Horizontal cursor offset in pixels.
pub const DEFAULT_CURSOR_OFFSET_X: u32 = 20;
/// Whether cursor blinking is enabled by default.
pub const DEFAULT_CURSOR_BLINK: bool = true;
/// Default blinking interval in milliseconds.
pub const DEFAULT_CURSOR_BLINK_MS: u32 = 900;
/// Cursor opacity from 0.0 (transparent) to 1.0 (fully visible).
pub const DEFAULT_CURSOR_OPACITY: f32 = 1.0;
// ───────────────⏱ Control Defaults ───────────────
/// Delay before animation starts, in milliseconds.
pub const DEFAULT_CONTROL_START_DELAY: u32 = 600;
/// Duration of character fade-in, in milliseconds.
pub const DEFAULT_CONTROL_FADE_DURATION: u32 = 100;
/// Delay between each character during typing, in milliseconds.
pub const DEFAULT_CONTROL_FRAME_DELAY: u32 = 60;