diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-05-04 12:51:02 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-05-04 14:41:19 +0200 |
commit | 4c71d8f8a418c1b2a2a1679b1f0fb2b8e221f651 (patch) | |
tree | c8b4eb5f8ccbe456ad1aad6e5afa85e2be1f919b /apps/theming/tests | |
parent | b603a3eac7962dde4e34abc54980cdff02f02b53 (diff) | |
download | nextcloud-server-4c71d8f8a418c1b2a2a1679b1f0fb2b8e221f651.tar.gz nextcloud-server-4c71d8f8a418c1b2a2a1679b1f0fb2b8e221f651.zip |
fix(theming): replace elementColor dark value with better contrast `#8c8c8c`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r-- | apps/theming/tests/CapabilitiesTest.php | 4 | ||||
-rw-r--r-- | apps/theming/tests/UtilTest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php index 1de439a70e9..1c968383d53 100644 --- a/apps/theming/tests/CapabilitiesTest.php +++ b/apps/theming/tests/CapabilitiesTest.php @@ -111,7 +111,7 @@ class CapabilitiesTest extends TestCase { 'color-text' => '#ffffff', 'color-element' => '#000000', 'color-element-bright' => '#000000', - 'color-element-dark' => '#555555', + 'color-element-dark' => '#8c8c8c', 'logo' => 'http://localhost/logo5', 'background' => '#000000', 'background-plain' => true, @@ -127,7 +127,7 @@ class CapabilitiesTest extends TestCase { 'color-text' => '#ffffff', 'color-element' => '#000000', 'color-element-bright' => '#000000', - 'color-element-dark' => '#555555', + 'color-element-dark' => '#8c8c8c', 'logo' => 'http://localhost/logo5', 'background' => '#000000', 'background-plain' => true, diff --git a/apps/theming/tests/UtilTest.php b/apps/theming/tests/UtilTest.php index 8f6d972a2fc..789107d9fdf 100644 --- a/apps/theming/tests/UtilTest.php +++ b/apps/theming/tests/UtilTest.php @@ -112,7 +112,7 @@ class UtilTest extends TestCase { public function testElementColorOnDarkBackground() { $elementColor = $this->util->elementColor("#000000", false); - $this->assertEquals('#555555', $elementColor); + $this->assertEquals('#8c8c8c', $elementColor); } public function testElementColorOnBrightBackground() { |