Render Flow - Theme implementation basics
[Load HTML] -> [Load CSS variables] -> [Apply variables to elements] -> [Render colors and fonts] -> [Paint theme styles] -> [Composite final page]
The browser loads the HTML, then reads CSS custom properties (variables) that define theme colors and fonts. It applies these variables to elements, paints the styles, and composites the final themed page.