Skip to content

Commit 1e68fa8

Browse files
authored
Merge pull request #521 from xwp/fix/508-secondary-color-contrast
Update baseline secondary color
2 parents 597f593 + e63614a commit 1e68fa8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

php/customizer/class-controls.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ public function get_design_styles() {
855855
'baseline' => [
856856
'primary_color' => '#6200ee',
857857
'on_primary_color' => '#ffffff',
858-
'secondary_color' => '#03dac6',
858+
'secondary_color' => '#018786',
859859
'on_secondary_color' => '#000000',
860860
'surface_color' => '#ffffff',
861861
'on_surface_color' => '#000000',

tests/phpunit/php/customizer/class-test-controls.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ public function test_get_frontend_css() {
585585
$this->assertContains( ':root {', $css );
586586
$this->assertContains( '--mdc-theme-primary: #6200ee;', $css );
587587
$this->assertContains( '--mdc-theme-primary-rgb: 98,0,238;', $css );
588-
$this->assertContains( '--mdc-theme-secondary: #03dac6;', $css );
589-
$this->assertContains( '--mdc-theme-secondary-rgb: 3,218,198;', $css );
588+
$this->assertContains( '--mdc-theme-secondary: #018786;', $css );
589+
$this->assertContains( '--mdc-theme-secondary-rgb: 1,135,134;', $css );
590590
$this->assertContains( '--mdc-theme-on-primary: #ffffff;', $css );
591591
$this->assertContains( '--mdc-theme-on-primary-rgb: 255,255,255;', $css );
592592
$this->assertContains( '--mdc-theme-on-secondary: #000000;', $css );

0 commit comments

Comments
 (0)