Legytma Schemas

Color Scheme Schema

https://legytma.com.br/schema/color_scheme.schema.json#/properties/colorScheme
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none button_theme_data.schema.json*

colorScheme Type

object (Color Scheme)

Color Scheme Properties

Property Type Required Nullable Defined by
primary Merged Optional cannot be null Color Scheme
primaryVariant Merged Optional cannot be null Color Scheme
secondary Merged Optional cannot be null Color Scheme
secondaryVariant Merged Optional cannot be null Color Scheme
surface Merged Optional cannot be null Color Scheme
background Merged Optional cannot be null Color Scheme
error Merged Optional cannot be null Color Scheme
onPrimary Merged Optional cannot be null Color Scheme
onSecondary Merged Optional cannot be null Color Scheme
onSurface Merged Optional cannot be null Color Scheme
onBackground Merged Optional cannot be null Color Scheme
onError Merged Optional cannot be null Color Scheme
brightness string Optional cannot be null Color Scheme

primary

A number in format string or integer

Used to identify parser. Every parser can permit only one type

primary

primary Type

merged type (Color)

all of

primary Default Value

The default value is:

"0xFF000000"

primary Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

primaryVariant

A number in format string or integer

Used to identify parser. Every parser can permit only one type

primaryVariant

primaryVariant Type

merged type (Color)

all of

primaryVariant Default Value

The default value is:

"0xFF000000"

primaryVariant Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

secondary

A number in format string or integer

Used to identify parser. Every parser can permit only one type

secondary

secondary Type

merged type (Color)

all of

secondary Default Value

The default value is:

"0xFF000000"

secondary Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

secondaryVariant

A number in format string or integer

Used to identify parser. Every parser can permit only one type

secondaryVariant

secondaryVariant Type

merged type (Color)

all of

secondaryVariant Default Value

The default value is:

"0xFF000000"

secondaryVariant Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

surface

A number in format string or integer

Used to identify parser. Every parser can permit only one type

surface

surface Type

merged type (Color)

all of

surface Default Value

The default value is:

"0xFF000000"

surface Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

background

A number in format string or integer

Used to identify parser. Every parser can permit only one type

background

background Type

merged type (Color)

all of

background Default Value

The default value is:

"0xFF000000"

background Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

error

A number in format string or integer

Used to identify parser. Every parser can permit only one type

error

error Type

merged type (Color)

all of

error Default Value

The default value is:

"0xFF000000"

error Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

onPrimary

A number in format string or integer

Used to identify parser. Every parser can permit only one type

onPrimary

onPrimary Type

merged type (Color)

all of

onPrimary Default Value

The default value is:

"0xFF000000"

onPrimary Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

onSecondary

A number in format string or integer

Used to identify parser. Every parser can permit only one type

onSecondary

onSecondary Type

merged type (Color)

all of

onSecondary Default Value

The default value is:

"0xFF000000"

onSecondary Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

onSurface

A number in format string or integer

Used to identify parser. Every parser can permit only one type

onSurface

onSurface Type

merged type (Color)

all of

onSurface Default Value

The default value is:

"0xFF000000"

onSurface Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

onBackground

A number in format string or integer

Used to identify parser. Every parser can permit only one type

onBackground

onBackground Type

merged type (Color)

all of

onBackground Default Value

The default value is:

"0xFF000000"

onBackground Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

onError

A number in format string or integer

Used to identify parser. Every parser can permit only one type

onError

onError Type

merged type (Color)

all of

onError Default Value

The default value is:

"0xFF000000"

onError Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

brightness

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

brightness

brightness Type

string (Brightness)

brightness Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"dark"  
"light"