appearance.fontScale
The text size multiplier the user chose: 1 by default.
Usage
Read the current color scheme.
// Read the current color scheme.
import { appearance, watch } from 'kuito';
appearance.colorScheme.value; // 'light' | 'dark' | null
appearance.fontScale.value; // 1 by default
watch(appearance.fontScale, (scale) => console.log(scale)); // in a componentProperties and methods 1
| Name | Type | Required | Description |
|---|---|---|---|
valuereadonly | number | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.