about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-08-05 12:47:05 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-08-05 12:47:05 +0200
commit9625fc583949e42234f11377cefa2f6115f18c11 (patch)
tree13cd5608baf59b5db777af9f40598c5f4191d970
parent67626b8e89ff57269f1d67cb9bc037088c058b42 (diff)
downloadrust-9625fc583949e42234f11377cefa2f6115f18c11.tar.gz
rust-9625fc583949e42234f11377cefa2f6115f18c11.zip
Migrate GUI colors test to original CSS color format
-rw-r--r--tests/rustdoc-gui/scrape-examples-toggle.goml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rustdoc-gui/scrape-examples-toggle.goml b/tests/rustdoc-gui/scrape-examples-toggle.goml
index 9cec6d2bbe8..f742b3186e5 100644
--- a/tests/rustdoc-gui/scrape-examples-toggle.goml
+++ b/tests/rustdoc-gui/scrape-examples-toggle.goml
@@ -28,18 +28,18 @@ define-function: (
 
 call-function: ("check-color", {
     "theme": "ayu",
-    "toggle_line_color": "rgb(153, 153, 153)",
-    "toggle_line_hover_color": "rgb(197, 197, 197)",
+    "toggle_line_color": "#999",
+    "toggle_line_hover_color": "#c5c5c5",
 })
 call-function: ("check-color", {
     "theme": "dark",
-    "toggle_line_color": "rgb(153, 153, 153)",
-    "toggle_line_hover_color": "rgb(197, 197, 197)",
+    "toggle_line_color": "#999",
+    "toggle_line_hover_color": "#c5c5c5",
 })
 call-function: ("check-color", {
     "theme": "light",
-    "toggle_line_color": "rgb(204, 204, 204)",
-    "toggle_line_hover_color": "rgb(153, 153, 153)",
+    "toggle_line_color": "#ccc",
+    "toggle_line_hover_color": "#999",
 })
 
 // Toggling all docs will close additional examples