Editor Theme & Customization
The editor uses a VS Code-inspired dark theme applied via the ApplyEditorTheme() function. All colors are converted from sRGB hex values to linear float4 using HexToLinear() for correct rendering on linear framebuffers.
Color Palette
Backgrounds & Surfaces
Text
Interactive Elements
Tabs
Borders & Separators
Accents
Component Icon Colors
Components in the Inspector use colored header accents:
Style Values
How It Works
ApplyEditorTheme() is called once during editor initialization. It sets all ImGui style colors and values. The HexToLinear() helper converts sRGB hex strings (e.g., #264f78) to linear-space ImVec4 values, which is necessary because the editor renders to a linear framebuffer.