summary refs log tree commit diff
path: root/tests/rustdoc-gui/codeblock-tooltip.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-05-20 15:35:52 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-05-20 15:35:52 +0200
commit8b7c8e1f8275ed2d8db202a07d61a818e75a441d (patch)
tree453fca9691cd66e8815c3c1c5153bb84290b09e1 /tests/rustdoc-gui/codeblock-tooltip.goml
parent2d17294d18040f872e5c33e38cf9ce8da860f609 (diff)
downloadrust-8b7c8e1f8275ed2d8db202a07d61a818e75a441d.tar.gz
rust-8b7c8e1f8275ed2d8db202a07d61a818e75a441d.zip
Migrate GUI colors test to original CSS color format
Diffstat (limited to 'tests/rustdoc-gui/codeblock-tooltip.goml')
-rw-r--r--tests/rustdoc-gui/codeblock-tooltip.goml18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/rustdoc-gui/codeblock-tooltip.goml b/tests/rustdoc-gui/codeblock-tooltip.goml
index 2ed0579d314..e1c81ed79e4 100644
--- a/tests/rustdoc-gui/codeblock-tooltip.goml
+++ b/tests/rustdoc-gui/codeblock-tooltip.goml
@@ -109,19 +109,19 @@ define-function: (
 
 call-function: ("check-colors", {
     "theme": "ayu",
-    "background": "rgb(15, 20, 25)",
-    "color": "rgb(197, 197, 197)",
-    "border": "rgb(92, 103, 115)",
+    "background": "#0f1419",
+    "color": "#c5c5c5",
+    "border": "#5c6773",
 })
 call-function: ("check-colors", {
     "theme": "dark",
-    "background": "rgb(53, 53, 53)",
-    "color": "rgb(221, 221, 221)",
-    "border": "rgb(224, 224, 224)",
+    "background": "#353535",
+    "color": "#ddd",
+    "border": "#e0e0e0",
 })
 call-function: ("check-colors", {
     "theme": "light",
-    "background": "rgb(255, 255, 255)",
-    "color": "rgb(0, 0, 0)",
-    "border": "rgb(224, 224, 224)",
+    "background": "white",
+    "color": "black",
+    "border": "#e0e0e0",
 })