Filter: gk/gravityview/theme/overrides
GravityView's site-wide theme colour overrides, applied to every View.
A map of the View's overridden tokens keyed by dot-namespaced token id (<category>.<slug>); tokens left at their registry default are absent. The colour keys this resolver reads are color.text, color.link, color.surface, color.entry_border_color_alias, color.row_divider, color.field_label and color.text_secondary (see {@see \self::tokens()}). Values are sanitised strings — usually a hex colour, but possibly a CSS var()/color-mix() or theme.json preset, which {@see \self::resolve_palette()} discards in favour of the token fallback since mPDF can't resolve them.
Parameters
| Name | Type | Description |
|---|---|---|
| $overrides | array<string,string> | Token id => value map. |
Since
- 2.0
Source
Defined in src/Pdf/Theme/AbstractTheme.php at line 142