Update the default global style background and font color
[MAILPOET-6334]
This commit is contained in:
committed by
Aschepikov
parent
a617062e72
commit
1fbfcf0fb0
@@ -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",
|
||||||
|
@@ -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' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user