pub fn set_global_color(enabled: bool)
Sets the global color preference for diagnostics and CLI output. This should be called once during application startup.