From 884247ab73e396c22eebe06cd9f6bb5d9e28f7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Mon, 10 Jun 2024 15:49:10 +0200 Subject: [PATCH] Make donation button background color more dark in dark mode --- docs/.vuepress/styles/palette.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/styles/palette.scss b/docs/.vuepress/styles/palette.scss index ab9014d..239b8af 100644 --- a/docs/.vuepress/styles/palette.scss +++ b/docs/.vuepress/styles/palette.scss @@ -95,10 +95,14 @@ h1, h2, h3, h4 { } .theme-hope-content Button.donate-button { - background-color: $theme-color !important; + background-color: $theme-color; opacity: 0.85 !important; border: 0 !important; color: white !important; + + html[data-theme="dark"] & { + background-color: rgba($theme-color, 0.75) !important; + } }; .theme-hope-content Button.donate-button:hover {