FG UI 1.3 development

Theme Inheritance 1.3

Phase 2 component inheritance across local Light and Dark semantic surfaces.

PHASE 2
ACTIVE FG UI 1.3 DEVELOPMENT

FG UI 1.2.0 remains Stable. This page exercises additive 1.3 theme-composition work against the live /dev runtime.

FG UI 1.3 · Phase 3A

Zero-Flash Theme Startup

The declared site default is resolved before the stylesheet, then a saved visitor preference may override it. System mode resolves through the operating-system colour preference.

PASS

Preference hierarchy

This page declares Hybrid as its site default. Choose another mode, reload, then clear the saved preference to return to Hybrid.

Declared default: data-fgui-theme-default="hybrid"

FGUI.theme.clear() clears the visitor override and reapplies the declared default.

Hybrid default region

The page remains Light-first in Hybrid mode.

Hybrid dark region

This region becomes Dark when Hybrid is active.

No-JavaScript contract

Light, Dark, Hybrid and System site defaults remain valid declaratively. The startup runtime adds persistence and pre-paint preference resolution rather than making the base appearance depend on JavaScript.

<html data-fgui-theme-default="dark"><script src="fgui.js"></script><link rel="stylesheet" href="fgui.css">
Next: Phase 4 exercises Hybrid application shells and the deliberate Dark → Light → Dark theme stress test.