diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-09 11:20:03 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-09 11:20:03 +0200 |
| commit | a0aa59c9348fd54a029a1cbb7ca7ecdf80c069ab (patch) | |
| tree | 6fb2147d1112fb1e8621a9ff74a0cd212939ad13 | |
| parent | 6ec8d71f9b4160f6cf6b98eaafdb7133486b43b5 (diff) | |
| download | rust-a0aa59c9348fd54a029a1cbb7ca7ecdf80c069ab.tar.gz rust-a0aa59c9348fd54a029a1cbb7ca7ecdf80c069ab.zip | |
Migrate GUI colors test to original CSS color format
| -rw-r--r-- | tests/rustdoc-gui/help-page.goml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/rustdoc-gui/help-page.goml b/tests/rustdoc-gui/help-page.goml index 6e880302f28..84c20355500 100644 --- a/tests/rustdoc-gui/help-page.goml +++ b/tests/rustdoc-gui/help-page.goml @@ -33,21 +33,21 @@ define-function: ( call-function: ("check-colors", { "theme": "ayu", - "color": "rgb(197, 197, 197)", - "background": "rgb(49, 69, 89)", - "box_shadow": "rgb(92, 103, 115)", + "color": "#c5c5c5", + "background": "#314559", + "box_shadow": "#5c6773", }) call-function: ("check-colors", { "theme": "dark", - "color": "rgb(0, 0, 0)", - "background": "rgb(250, 251, 252)", - "box_shadow": "rgb(198, 203, 209)", + "color": "#000", + "background": "#fafbfc", + "box_shadow": "#c6cbd1", }) call-function: ("check-colors", { "theme": "light", - "color": "rgb(0, 0, 0)", - "background": "rgb(250, 251, 252)", - "box_shadow": "rgb(198, 203, 209)", + "color": "#000", + "background": "#fafbfc", + "box_shadow": "#c6cbd1", }) // This test ensures that opening the help popover without switching pages works. |
