← All modules

Accessibility

Built Singleton

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

Module type accessibility
Default expression ID acc
Refresh rate On configuration change

Declaration

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

Properties

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

Name Description Example Format arg
fontScale System font scale multiplier 1.0
darkMode System dark mode enabled true
screenWidthDp Screen width in dp 412
screenHeightDp Screen height in dp 892
densityDpi Display density in DPI 420

Events

Trigger Description
On dark mode change System switches between light and dark mode
On font scale change User changes system font size