Light
Projected content
A theme selector for light, dark, native, and contrast modes that applies the chosen theme to its child content. Use it around components such as cem-action, cem-field, and cem-select to compare their themed appearance.
Hover each enabled control, hold a pointer press, and use Tab for keyboard focus. States below are real component attributes. The five operational theme rows and projector variation stay fixed so you can compare the same states side by side.
The contextual ◐ icon button opens a keyboard-accessible menu. Light is the default; each example uses its own storage key and restores its last selection on reload. Current menu choices use selected-action styling. Mode and contrast provide the initial choice; the default slot preserves child content while switching.
modecontraststorage-keyvaluetheme-commandhiddenclassSlots: The default slot contains the content whose theme is controlled.
Default slot content follows the selected theme.
Select another theme and reload: the selection is restored.
Hidden by presence.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.
Projected content
Projected content
Projected content
Projected content
Projected content
White canvas and retained semantic fills.