appearance.ColorSchemeName
The user's color scheme, 'light' or 'dark', as appearance.colorScheme reports it.
Usage
Read the current color scheme.
This type is used by appearance.colorScheme
// 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 componentType declaration
export type ColorSchemeName = Scheme;Type
"light" | "dark"Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.