← All modules

Accessibility

BuiltSingleton

Display configuration for adaptive layouts — font scale, dark mode, screen dimensions.

Module typeaccessibility
Default expression IDacc
Refresh rateOn configuration change

Declaration

<module type="accessibility" id="acc" />

Properties

Reference any of these from a template via{acc:propertyName}.

NameDescriptionExampleFormat arg
fontScaleSystem font scale multiplier1.0
darkModeSystem dark mode enabledtrue
screenWidthDpScreen width in dp412
screenHeightDpScreen height in dp892
densityDpiDisplay density in DPI420

Events

TriggerDescription
On dark mode changeSystem switches between light and dark mode
On font scale changeUser changes system font size