ColorSchemeName
The platform's color scheme, 'light' or 'dark', as appearance.colorScheme reports it.
Verwendung
Read the current color scheme.
Dieser Typ wird verwendet von 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 componentTypdeklaration
export type ColorSchemeName = Scheme;Typ
"light" | "dark"Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.