about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-04 15:55:30 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-04 15:55:30 +0200
commitd67e00eb2660614354f8016f6311cdc17ec7ae44 (patch)
treef05b18e59803113334bc02bcef97e1976b4c5b15
parent100db9946b69ddebb7925f0a57ee5a944b239030 (diff)
downloadrust-d67e00eb2660614354f8016f6311cdc17ec7ae44.tar.gz
rust-d67e00eb2660614354f8016f6311cdc17ec7ae44.zip
Migrate GUI colors test to original CSS color format
-rw-r--r--tests/rustdoc-gui/sidebar-mobile.goml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rustdoc-gui/sidebar-mobile.goml b/tests/rustdoc-gui/sidebar-mobile.goml
index 3b022c7e9d0..4b8337ace3a 100644
--- a/tests/rustdoc-gui/sidebar-mobile.goml
+++ b/tests/rustdoc-gui/sidebar-mobile.goml
@@ -73,16 +73,16 @@ define-function: (
 
 call-function: ("check-colors", {
     "theme": "ayu",
-    "color": "rgb(197, 197, 197)",
-    "background": "rgb(20, 25, 31)",
+    "color": "#c5c5c5",
+    "background": "#14191f",
 })
 call-function: ("check-colors", {
     "theme": "dark",
-    "color": "rgb(221, 221, 221)",
-    "background": "rgb(80, 80, 80)",
+    "color": "#ddd",
+    "background": "#505050",
 })
 call-function: ("check-colors", {
     "theme": "light",
-    "color": "rgb(0, 0, 0)",
-    "background": "rgb(245, 245, 245)",
+    "color": "black",
+    "background": "#F5F5F5",
 })