about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-01 15:02:03 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-01 20:49:41 +0200
commit4825fb198f9abb58ddc877d9bbf49c8834a68a68 (patch)
treeb6756c8f20de33ab908c81df4ada151ad25f187f
parentdd5f7bc6280ed3355fe1d2c04af7e5e59c921974 (diff)
downloadrust-4825fb198f9abb58ddc877d9bbf49c8834a68a68.tar.gz
rust-4825fb198f9abb58ddc877d9bbf49c8834a68a68.zip
Add missing CSS variables in GUI test for `custom-theme.css`
-rw-r--r--tests/rustdoc-gui/src/theme_css/custom-theme.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/theme_css/custom-theme.css b/tests/rustdoc-gui/src/theme_css/custom-theme.css
index a56c31ab9d2..366f09f22b2 100644
--- a/tests/rustdoc-gui/src/theme_css/custom-theme.css
+++ b/tests/rustdoc-gui/src/theme_css/custom-theme.css
@@ -23,6 +23,8 @@
 	--copy-path-button-color: #999;
 	--copy-path-img-filter: invert(50%);
 	--copy-path-img-hover-filter: invert(35%);
+        --code-example-button-color: #7f7f7f;
+	--code-example-button-hover-color: #a5a5a5;
 	--codeblock-error-hover-color: rgb(255, 0, 0);
 	--codeblock-error-color: rgba(255, 0, 0, .5);
 	--codeblock-ignore-hover-color: rgb(255, 142, 0);