about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-07-08 14:55:50 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-07-08 14:56:15 +0200
commit50b4d1f4134f91354ed71e6e08d91f21015a626b (patch)
tree5cef9e255e84692fbb588086423a33abfc1341ec
parent1a449dcfd25143f7e1f6b6f5ddf1c12af361e2ff (diff)
downloadrust-50b4d1f4134f91354ed71e6e08d91f21015a626b.tar.gz
rust-50b4d1f4134f91354ed71e6e08d91f21015a626b.zip
Migrate GUI colors test to original CSS color format
-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",
     }
 )