appearance.fontScale
The text size multiplier the user chose: 1 by default.
Utilização
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 componentPropriedades e métodos 1
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
valuesó de leitura | number | Sim | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.