class BasicLayoutColors

Constants

MIN_TEXT_CONTRAST

DARK_BACKGROUND_LIGHTNESS

DARK_BACKGROUND_MAX_SATURATION

FALLBACK_DARK_BACKGROUND

Methods

static array
forPrimaryColor(string $primary, string $secondary, string $darkBackground, bool $highContrast)

No description

Details

static array forPrimaryColor(string $primary, string $secondary, string $darkBackground, bool $highContrast)

Parameters

string $primary
string $secondary
string $darkBackground
bool $highContrast

Return Value

array