Nativescript UI Material Components
Nativescript Doc
Preparing search index...
@nativescript-community/ui-material-core
Themer
Class Themer
Index
Constructors
constructor
Methods
create
Shape
get
Accent
Color
get
App
Color
Scheme
get
On
Primary
Color
get
On
Surface
Color
get
Orcreate
App
Color
Scheme
get
Primary
Color
get
Primary
Color
Variant
get
Secondary
Color
get
Shape
get
Surface
Color
set
Accent
Color
set
On
Primary
Color
set
On
Surface
Color
set
Primary
Color
set
Primary
Color
Variant
set
Secondary
Color
set
Surface
Color
Constructors
constructor
new
Themer
()
:
Themer
Returns
Themer
Methods
create
Shape
createShape
(
key
:
string
,
options
:
ShapeProperties
)
:
any
Parameters
key
:
string
options
:
ShapeProperties
Returns
any
get
Accent
Color
getAccentColor
()
:
string
|
Color
Returns
string
|
Color
get
App
Color
Scheme
getAppColorScheme
()
:
any
Returns
any
get
On
Primary
Color
getOnPrimaryColor
()
:
string
|
Color
Returns
string
|
Color
get
On
Surface
Color
getOnSurfaceColor
()
:
string
|
Color
Returns
string
|
Color
get
Orcreate
App
Color
Scheme
getOrcreateAppColorScheme
()
:
any
Returns
any
get
Primary
Color
getPrimaryColor
()
:
string
|
Color
Returns
string
|
Color
get
Primary
Color
Variant
getPrimaryColorVariant
()
:
string
|
Color
Returns
string
|
Color
get
Secondary
Color
getSecondaryColor
()
:
string
|
Color
Returns
string
|
Color
get
Shape
getShape
(
key
:
string
)
:
any
Parameters
key
:
string
Returns
any
get
Surface
Color
getSurfaceColor
()
:
string
|
Color
Returns
string
|
Color
set
Accent
Color
setAccentColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
On
Primary
Color
setOnPrimaryColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
On
Surface
Color
setOnSurfaceColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
Primary
Color
setPrimaryColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
Primary
Color
Variant
setPrimaryColorVariant
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
Secondary
Color
setSecondaryColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
set
Surface
Color
setSurfaceColor
(
value
:
string
|
Color
)
:
any
Parameters
value
:
string
|
Color
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Shape
get
Accent
Color
get
App
Color
Scheme
get
On
Primary
Color
get
On
Surface
Color
get
Orcreate
App
Color
Scheme
get
Primary
Color
get
Primary
Color
Variant
get
Secondary
Color
get
Shape
get
Surface
Color
set
Accent
Color
set
On
Primary
Color
set
On
Surface
Color
set
Primary
Color
set
Primary
Color
Variant
set
Secondary
Color
set
Surface
Color
Nativescript Doc
Nativescript UI Material Components
Loading...