about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-08 20:53:30 +0200
committerGitHub <noreply@github.com>2023-07-08 20:53:30 +0200
commitde9b9c833b5e39f4d364b1047de9743f7ff03e13 (patch)
treeb78dc1d26acaa035aea8637a7471f870040a23f0
parentdd8322876e85938a6e92551299e27ebc5ef177e6 (diff)
parent50b4d1f4134f91354ed71e6e08d91f21015a626b (diff)
downloadrust-de9b9c833b5e39f4d364b1047de9743f7ff03e13.tar.gz
rust-de9b9c833b5e39f4d364b1047de9743f7ff03e13.zip
Rollup merge of #113482 - GuillaumeGomez:migrate-gui-test-color-20, r=notriddle
Migrate GUI colors test to original CSS color format

Follow-up of https://github.com/rust-lang/rust/pull/111459.

r? ``@notriddle``
-rw-r--r--tests/rustdoc-gui/sidebar-source-code.goml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rustdoc-gui/sidebar-source-code.goml b/tests/rustdoc-gui/sidebar-source-code.goml
index 520b2c59b0f..2cb88817884 100644
--- a/tests/rustdoc-gui/sidebar-source-code.goml
+++ b/tests/rustdoc-gui/sidebar-source-code.goml
@@ -25,24 +25,24 @@ call-function: (
     "check-colors",
     {
         "theme": "ayu",
-        "color": "rgb(197, 197, 197)",
-        "background_color": "rgb(20, 25, 31)",
+        "color": "#c5c5c5",
+        "background_color": "#14191f",
     }
 )
 call-function: (
     "check-colors",
     {
         "theme": "dark",
-        "color": "rgb(221, 221, 221)",
-        "background_color": "rgb(80, 80, 80)",
+        "color": "#ddd",
+        "background_color": "#505050",
     }
 )
 call-function: (
     "check-colors",
     {
         "theme": "light",
-        "color": "rgb(0, 0, 0)",
-        "background_color": "rgb(245, 245, 245)",
+        "color": "black",
+        "background_color": "#F5F5F5",
     }
 )