Update the default global style background and font color

[MAILPOET-6334]
This commit is contained in:
Rostislav Wolny
2024-12-18 15:20:29 +01:00
committed by Aschepikov
parent a617062e72
commit 1fbfcf0fb0
2 changed files with 5 additions and 5 deletions

View File

@@ -221,8 +221,8 @@
} }
}, },
"color": { "color": {
"background": "#f0f0f0", "background": "#ffffff",
"text": "#000000" "text": "#1e1e1e"
}, },
"typography": { "typography": {
"fontFamily": "Arial, 'Helvetica Neue', Helvetica, sans-serif", "fontFamily": "Arial, 'Helvetica Neue', Helvetica, sans-serif",

View File

@@ -163,12 +163,12 @@ class Theme_Controller_Test extends \MailPoetTest {
} }
/** /**
* Test if the theme controller returns correct layout settings * Test if the theme controller returns correct color styles
*/ */
public function testGetBaseThemeDoesNotIncludeUserThemeData() { public function testGetBaseThemeDoesNotIncludeUserThemeData() {
$theme = $this->theme_controller->get_base_theme(); $theme = $this->theme_controller->get_base_theme();
verify( $theme->get_raw_data()['styles']['color']['background'] )->equals( '#f0f0f0' ); verify( $theme->get_raw_data()['styles']['color']['background'] )->equals( '#ffffff' );
verify( $theme->get_raw_data()['styles']['color']['text'] )->equals( '#000000' ); verify( $theme->get_raw_data()['styles']['color']['text'] )->equals( '#1e1e1e' );
} }
/** /**