Interface: UiSettingsData
Defined in: src/lib/classes/UiSettings/index.ts:53
The user's interface choices
Properties
locale?
optionallocale?:string
Defined in: src/lib/classes/UiSettings/index.ts:57
The language's locale tag, e.g. fr, or undefined to follow the device's languages
rendering
rendering:
"cpu"|"gpu"
Defined in: src/lib/classes/UiSettings/index.ts:62
Where canvases draw (cpu by default). Browsers fix this when a canvas is made, so a change applies the next time
the canvas starts (e.g. after reloading the page; see PaintCanvasOptions.rendering).
theme
theme:
"light"|"dark"|"system"
Defined in: src/lib/classes/UiSettings/index.ts:55
The theme (system by default)