Skip to main content

Class: PaperColorAdapter

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:28

Implements

  • MD3Colors

Constructors

Constructor

new PaperColorAdapter(data): PaperColorAdapter

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:94

Parameters

data

PaperColorAdapterConstructor

Returns

PaperColorAdapter

Methods

fromAndroidDynamicColor()

static fromAndroidDynamicColor(androidDynamicColor): PaperColorAdapter

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:30

Parameters

androidDynamicColor

AndroidDynamicColor

Returns

PaperColorAdapter


fromMaterialColor()

static fromMaterialColor(materialColor): PaperColorAdapter

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:45

Parameters

materialColor

MaterialColorInterface

Returns

PaperColorAdapter

Properties

backdrop

readonly backdrop: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:91

Implementation of

MD3Colors.backdrop


background

readonly background: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:69

Implementation of

MD3Colors.background


elevation

readonly elevation: MD3ElevationColors

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:92

Implementation of

MD3Colors.elevation


error

readonly error: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:71

Implementation of

MD3Colors.error


errorContainer

readonly errorContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:72

Implementation of

MD3Colors.errorContainer


inverseOnSurface

readonly inverseOnSurface: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:87

Implementation of

MD3Colors.inverseOnSurface


inversePrimary

readonly inversePrimary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:88

Implementation of

MD3Colors.inversePrimary


inverseSurface

readonly inverseSurface: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:86

Implementation of

MD3Colors.inverseSurface


onBackground

readonly onBackground: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:70

Implementation of

MD3Colors.onBackground


onError

readonly onError: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:82

Implementation of

MD3Colors.onError


onErrorContainer

readonly onErrorContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:83

Implementation of

MD3Colors.onErrorContainer


onPrimary

readonly onPrimary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:73

Implementation of

MD3Colors.onPrimary


onPrimaryContainer

readonly onPrimaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:74

Implementation of

MD3Colors.onPrimaryContainer


onSecondary

readonly onSecondary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:75

Implementation of

MD3Colors.onSecondary


onSecondaryContainer

readonly onSecondaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:76

Implementation of

MD3Colors.onSecondaryContainer


onSurface

readonly onSurface: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:79

Implementation of

MD3Colors.onSurface


onSurfaceDisabled

readonly onSurfaceDisabled: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:81

Implementation of

MD3Colors.onSurfaceDisabled


onSurfaceVariant

readonly onSurfaceVariant: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:80

Implementation of

MD3Colors.onSurfaceVariant


onTertiary

readonly onTertiary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:77

Implementation of

MD3Colors.onTertiary


onTertiaryContainer

readonly onTertiaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:78

Implementation of

MD3Colors.onTertiaryContainer


outline

readonly outline: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:84

Implementation of

MD3Colors.outline


outlineVariant

readonly outlineVariant: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:85

Implementation of

MD3Colors.outlineVariant


primary

readonly primary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:60

Implementation of

MD3Colors.primary


primaryContainer

readonly primaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:61

Implementation of

MD3Colors.primaryContainer


scrim

readonly scrim: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:90

Implementation of

MD3Colors.scrim


secondary

readonly secondary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:62

Implementation of

MD3Colors.secondary


secondaryContainer

readonly secondaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:63

Implementation of

MD3Colors.secondaryContainer


shadow

readonly shadow: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:89

Implementation of

MD3Colors.shadow


surface

readonly surface: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:66

Implementation of

MD3Colors.surface


surfaceDisabled

readonly surfaceDisabled: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:68

Implementation of

MD3Colors.surfaceDisabled


surfaceVariant

readonly surfaceVariant: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:67

Implementation of

MD3Colors.surfaceVariant


tertiary

readonly tertiary: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:64

Implementation of

MD3Colors.tertiary


tertiaryContainer

readonly tertiaryContainer: string

Defined in: subpaths/react-native-paper/modules/paper-color-adapter/PaperColorAdapter.ts:65

Implementation of

MD3Colors.tertiaryContainer