From 1fbfcf0fb0dae595ea5ff8a24f9f4ecc2ecf4f33 Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Wed, 18 Dec 2024 15:20:29 +0100 Subject: [PATCH] Update the default global style background and font color [MAILPOET-6334] --- packages/php/email-editor/src/Engine/theme.json | 4 ++-- .../tests/integration/Engine/Theme_Controller_Test.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/php/email-editor/src/Engine/theme.json b/packages/php/email-editor/src/Engine/theme.json index 731259679c..d645c08e25 100644 --- a/packages/php/email-editor/src/Engine/theme.json +++ b/packages/php/email-editor/src/Engine/theme.json @@ -221,8 +221,8 @@ } }, "color": { - "background": "#f0f0f0", - "text": "#000000" + "background": "#ffffff", + "text": "#1e1e1e" }, "typography": { "fontFamily": "Arial, 'Helvetica Neue', Helvetica, sans-serif", diff --git a/packages/php/email-editor/tests/integration/Engine/Theme_Controller_Test.php b/packages/php/email-editor/tests/integration/Engine/Theme_Controller_Test.php index f1de05bb60..4a5533c107 100644 --- a/packages/php/email-editor/tests/integration/Engine/Theme_Controller_Test.php +++ b/packages/php/email-editor/tests/integration/Engine/Theme_Controller_Test.php @@ -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() { $theme = $this->theme_controller->get_base_theme(); - verify( $theme->get_raw_data()['styles']['color']['background'] )->equals( '#f0f0f0' ); - verify( $theme->get_raw_data()['styles']['color']['text'] )->equals( '#000000' ); + verify( $theme->get_raw_data()['styles']['color']['background'] )->equals( '#ffffff' ); + verify( $theme->get_raw_data()['styles']['color']['text'] )->equals( '#1e1e1e' ); } /**