app.res.style
Provides access to style.varl
. To configure, see this guide. To understand the concept of color palete, see Material Design Color Guide.
#
ConstantsName | Type | Description |
---|---|---|
primaryColor | number | Default value: 0x5c6bc0 |
primaryLightColor | number | Default value: 0x8e99f3 |
primaryDarkColor | number | Default value: 0x26418f |
onPrimaryColor | number | Default value: 0xffffff |
secondaryColor | number | Default value: 0x4caf50 |
secondaryLightColor | number | Default value: 0x80e27e |
secondaryDarkColor | number | Default value: 0x087f23 |
onSecondaryColor | number | Default value: 0xffffff |
errorColor | number | Default value: 0xb00020 |
onErrorColor | number | Default value: 0xffffff |
textColor | number | Default value: 0x000000 |
foregroundColor | number | Default value: 0x000000 |
backgroundColor | number | Default value: 0xffffff |
stageBackgroundColor | number | Default value: 0xdfdfdf |
displayTextSize | number or string | Default value: "48sp" |
titleTextSize | number or string | Default value: "38sp" |
headerTextSize | number or string | Default value: "32sp" |
bodyTextSize | number or string | Default value: "12sp" |
controlTextSize | number or string | Default value: "24sp" |