@pchmn/expo-material3-theme
Version:
Manage Material 3 theme in your React Native App
61 lines • 1.54 kB
TypeScript
declare enum ElevationLevels {
'level0' = 0,
'level1' = 1,
'level2' = 2,
'level3' = 3,
'level4' = 4,
'level5' = 5
}
export type SystemScheme = {
primary: string;
onPrimary: string;
primaryContainer: string;
onPrimaryContainer: string;
secondary: string;
onSecondary: string;
secondaryContainer: string;
onSecondaryContainer: string;
tertiary: string;
onTertiary: string;
tertiaryContainer: string;
onTertiaryContainer: string;
background: string;
onBackground: string;
surface: string;
onSurface: string;
surfaceVariant: string;
onSurfaceVariant: string;
outline: string;
outlineVariant: string;
inverseSurface: string;
inverseOnSurface: string;
inversePrimary: string;
};
export type Material3Scheme = SystemScheme & {
error: string;
onError: string;
errorContainer: string;
onErrorContainer: string;
shadow: string;
scrim: string;
surfaceDisabled: string;
onSurfaceDisabled: string;
backdrop: string;
surfaceContainer: string;
surfaceContainerLow: string;
surfaceContainerLowest: string;
surfaceContainerHigh: string;
surfaceContainerHighest: string;
surfaceBright: string;
surfaceDim: string;
surfaceTint: string;
elevation: {
[key in keyof typeof ElevationLevels]: string;
};
};
export type Material3Theme = {
light: Material3Scheme;
dark: Material3Scheme;
};
export {};
//# sourceMappingURL=ExpoMaterial3Theme.types.d.ts.map