Websites v4 docs v12.7.0
Preparing search index...
API Reference/State
selectGlobalConfigSiteColors
Function selectGlobalConfigSiteColors
selectGlobalConfigSiteColors
(
state
:
{
config
:
ConfigState
}
,
)
:
|
Partial
<
Record
<
|
"footer"
|
"primary"
|
"primaryTint"
|
"accent"
|
"accentTint"
|
"primaryText"
|
"accentText"
|
"headerText"
|
"subHeaderText"
|
"onPrimaryText"
|
"onPrimaryTintText"
|
"onAccentText"
|
"onAccentTintText"
|
"siteHeaderBackground"
|
"navigationPrimaryBackground"
|
"navigationPrimaryTintBackground"
|
"onNavigationPrimaryText"
|
"onNavigationPrimaryTintText"
|
"navigationHoverText"
|
"navigationHamburger"
|
"secondaryNavigationText"
|
"buttonPrimary"
|
"buttonText"
|
"buttonTint"
|
"buttonTintText"
|
"siteBackground"
|
"greyAlternative"
|
"carouselAndSummaryBackground"
|
"onCarouselAndSummaryText"
|
"sidebarPodBackground"
|
"onSidebarPodText"
|
"onFooterText"
|
"custom1"
|
"custom2"
|
"custom8"
|
"custom4"
|
"custom3"
|
"custom5"
|
"custom6"
|
"custom7"
|
"custom9"
|
"custom10"
,
string
,
>
,
>
|
undefined
Parameters
state
:
{
config
:
ConfigState
}
Returns
|
Partial
<
Record
<
|
"footer"
|
"primary"
|
"primaryTint"
|
"accent"
|
"accentTint"
|
"primaryText"
|
"accentText"
|
"headerText"
|
"subHeaderText"
|
"onPrimaryText"
|
"onPrimaryTintText"
|
"onAccentText"
|
"onAccentTintText"
|
"siteHeaderBackground"
|
"navigationPrimaryBackground"
|
"navigationPrimaryTintBackground"
|
"onNavigationPrimaryText"
|
"onNavigationPrimaryTintText"
|
"navigationHoverText"
|
"navigationHamburger"
|
"secondaryNavigationText"
|
"buttonPrimary"
|
"buttonText"
|
"buttonTint"
|
"buttonTintText"
|
"siteBackground"
|
"greyAlternative"
|
"carouselAndSummaryBackground"
|
"onCarouselAndSummaryText"
|
"sidebarPodBackground"
|
"onSidebarPodText"
|
"onFooterText"
|
"custom1"
|
"custom2"
|
"custom8"
|
"custom4"
|
"custom3"
|
"custom5"
|
"custom6"
|
"custom7"
|
"custom9"
|
"custom10"
,
string
,
>
,
>
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Websites v4 docs v12.7.0
Loading...