trait HasColor (View source)

Properties

protected string $color
protected string $defaultColor

Methods

color(string|array|Closure|null $color)

No description

defaultColor(string|array|Closure|null $color)

No description

string|array|null
getColor()

No description

Details

HasColor color(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasColor

HasColor defaultColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

HasColor

string|array|null getColor()

No description

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null