Colors
in package
uses
Immutable
Read onlyYes
FinalYes
Colours used by the PDF template.
Table of Contents
Properties
- $muted : string
- $primary : string
- $secondary : string|null
- $text : string
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$muted
public
string
$muted
= '#5f6470'
$primary
public
string
$primary
= '#2741d9'
$secondary
public
string|null
$secondary
= null
$text
public
string
$text
= '#15171c'
Methods
__construct()
public
__construct([string $primary = '#2741d9' ][, string $text = '#15171c' ][, string $muted = '#5f6470' ][, string|null $secondary = null ]) : mixed
Parameters
- $primary : string = '#2741d9'
- $text : string = '#15171c'
- $muted : string = '#5f6470'
- $secondary : string|null = null
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>