check
Code copied to clipboard.
close
menu
menu_open
menu

ThemeColors

Describes the current theme colors object.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

interface ThemeColors {

 primary: string;

 onPrimary: string;

 primaryContainer: string;

 onPrimaryContainer: string;

 secondary: string;

 onSecondary: string;

 secondaryContainer: string;

 onSecondaryContainer: string;

 tertiary: string;

 onTertiary: string;

 tertiaryContainer: string;

 onTertiaryContainer: string;

 error: string;

 onError: string;

 errorContainer: string;

 onErrorContainer: string;

 background: string;

 onBackground: string;

 surface: string;

 onSurface: string;

 surfaceVariant: string;

 onSurfaceVariant: string;

 outline: string;

 outlineVariant: string;

 shadow: string;

 scrim: string;

 inverseSurface: string;

 inverseOnSurface: string;

 inversePrimary: string;

 surfaceDim: string;

 surfaceBright: string;

 surfaceContainerLowest: string;

 surfaceContainerLow: string;

 surfaceContainer: string;

 surfaceContainerHigh: string;

 surfaceContainerHighest: string;

 warning: string;

 onWarning: string;

 warningContainer: string;

 onWarningContainer: string;

 success: string;

 onSuccess: string;

 successContainer: string;

 onSuccessContainer: string;

 info: string;

 onInfo: string;

 infoContainer: string;

 onInfoContainer: string;

 [key: string]: string; // Add index signature for string keys

}

Related Components

Components that use this type.

No items found.

Related Types

Types with similar roles.

No items found.