@pchmn/expo-material3-theme
Version:
Manage Material 3 theme in your React Native App
16 lines • 656 B
TypeScript
import { Material3Theme, SystemScheme } from '../ExpoMaterial3Theme.types';
export interface Material3ThemeOptions {
/**
* Enable color fidelity for the theme.
*
* https://m3.material.io/styles/color/advanced/adjust-existing-colors#cb49eeb4-3bbd-4521-9612-0856c27f91ef
* @default false
* */
colorFidelity?: boolean;
}
export declare function createThemeFromSystemSchemes(schemes: {
light: SystemScheme;
dark: SystemScheme;
}): Material3Theme;
export declare function createThemeFromSourceColor(sourceColor: string, options?: Material3ThemeOptions): Material3Theme;
//# sourceMappingURL=createMaterial3Theme.d.ts.map