WIP: Add parameter-based color customization to template backend #80

Closed
Copilot wants to merge 6 commits from copilot/investigate-template-color-parameters into main
Showing only changes of commit d653134a5a - Show all commits

View File

@@ -170,7 +170,7 @@ $generateThemeCSS = function($colorMap, $theme) use ($sanitizeColor) {
$value = $this->params->get($param, ''); $value = $this->params->get($param, '');
$sanitized = $sanitizeColor($value); $sanitized = $sanitizeColor($value);
if ($sanitized !== null) { if ($sanitized !== null) {
$overrides[] = $cssVar . ': ' . $sanitized . ';'; $overrides[] = "\t" . $cssVar . ': ' . $sanitized . ';';
} }
} }