Backend\Models\BrandSetting\HasPalettes

Overview

HasPalettes for brand settings


Protected Properties

protected array $presets

protected array|null $presetCache


Public Methods

public getPaletteColors()

public getPaletteColors($preset = null): array 

public getPaletteColorsFor()

public getPaletteColorsFor($preset, $mode): array 

public getPaletteDefinitions()

public getPaletteDefinitions(): array 

public getPaletteOptions()

public getPaletteOptions(): array 

public getPaletteStyleVarsFor()

public getPaletteStyleVarsFor($preset, $mode, $customColors = []): array 

getPaletteStyleVarsFor returns variables for use within a LESS compiler

Protected Methods

protected getPalettePresets()

protected getPalettePresets(): void