pub struct Theme {Show 22 fields
pub bg: Color,
pub panel: Color,
pub panel_edge: Color,
pub scanline: Color,
pub text: Color,
pub text_dim: Color,
pub text_faint: Color,
pub accent: Color,
pub highlight: Color,
pub favourite: Color,
pub good: Color,
pub info: Color,
pub warn: Color,
pub error: Color,
pub trough: Color,
pub type_scale: [f32; 5],
pub space: [f32; 5],
pub radius: f32,
pub scanline_pitch: u32,
pub motion_short_ms: u32,
pub motion_long_ms: u32,
pub ease: Ease,
}Expand description
The whole look. One instance, THEME; a field is a role, a step, or a
timing, and never names the surface that reads it.
Fields§
§bg: ColorThe studio’s window background. No engine surface paints it: the scene is the standalone’s background.
panel: ColorA panel’s fill, translucent so the scene reads through it.
panel_edge: ColorA panel’s 1 px lit edge.
scanline: ColorThe scanline modulation a panel carries on every Self::scanline_pitchth line.
text: ColorPrimary text.
text_dim: ColorSecondary text: headers, captions, status lines.
text_faint: ColorTertiary text: a placeholder, a control that is off.
accent: ColorThe warm accent: what the keys act on.
highlight: ColorThe fill behind a highlighted row.
favourite: ColorA marked-as-favourite item, warm but quieter than the accent.
good: ColorA healthy reading.
info: ColorA cool informational fill: a meter’s level.
warn: ColorA reading near its limit.
error: ColorA reading past its limit, or a fault.
trough: ColorA meter’s empty track.
type_scale: [f32; 5]Font sizes in px at a 1080-line target, smallest first. Declared for the
studio’s generated tokens; no engine surface reads them yet, and the
overlays still carry their own fixed sizes. A surface that adopts them
scales by target height / 1080, never by an internal grid (ADR-0037).
space: [f32; 5]Spacing steps in px at the same 1080-line reference, smallest first.
radius: f32Corner radius of a panel, px at the reference.
scanline_pitch: u32Rows between scanlines on a panel.
motion_short_ms: u32Every panel’s open and close, and every short state change.
motion_long_ms: u32A change that moves a whole view.
ease: EaseThe one easing curve.