Use styles from settings controller in preview

[MAILPOET-5638]
This commit is contained in:
Jan Lysý
2024-02-29 16:09:26 +01:00
committed by Jan Lysý
parent db8dac03d2
commit 698c41b77b
3 changed files with 178 additions and 150 deletions

View File

@ -113,10 +113,18 @@ class SettingsController {
],
],
'colors' => [
'background' => '#000000',
'background' => '#ffffff',
],
'typography' => [
],
// Value are only for purpose of displaying in the preview component in style sidebar
'elements' => [
'h1' => [
'color' => '#000000',
'fontWeight' => 'bold',
'fontFamily' => "Arial, 'Helvetica Neue', Helvetica, sans-serif",
],
],
];
}