pub fn init_component_theme(initial: Scheme, scale: f32, cx: &mut App) -> boolExpand description
Enable the Component theme bridge after gpui_kit::init, before opening a
window or returning its content builder. Initialize from the final startup
palette and scale, including capture overrides, so the first Root preparation
sees the correct colors and rem size. Returns false when Component is absent.
No transition is started for this initial paint. The bridge owns the sans
family from Material’s current body type scale, its base size and projected
colors. The projection does not own monospace fonts or unrelated geometry;
Component mode configurations retain their normal behavior for those fields.