From 8e5dff1d382098cb1d9e547c0c2dc92c7fd4b547 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 3 Sep 2023 12:49:22 +0200 Subject: [PATCH] Migrate GUI colors test to original CSS color format --- tests/rustdoc-gui/code-color.goml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/rustdoc-gui/code-color.goml b/tests/rustdoc-gui/code-color.goml index cfc997d6517..92bdfb25b00 100644 --- a/tests/rustdoc-gui/code-color.goml +++ b/tests/rustdoc-gui/code-color.goml @@ -21,16 +21,16 @@ define-function: ( call-function: ("check-colors", { "theme": "ayu", - "doc_code_color": "rgb(230, 225, 207)", - "doc_inline_code_color": "rgb(255, 180, 84)", + "doc_code_color": "#e6e1cf", + "doc_inline_code_color": "#ffb454", }) call-function: ("check-colors", { "theme": "dark", - "doc_code_color": "rgb(221, 221, 221)", - "doc_inline_code_color": "rgb(221, 221, 221)", + "doc_code_color": "#ddd", + "doc_inline_code_color": "#ddd", }) call-function: ("check-colors", { "theme": "light", - "doc_code_color": "rgb(0, 0, 0)", - "doc_inline_code_color": "rgb(0, 0, 0)", + "doc_code_color": "black", + "doc_inline_code_color": "black", })