WIP: Add parameter-based color customization to template backend #80
@@ -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 . ';';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user