summaryrefslogtreecommitdiffstats
path: root/web_src/css/modules
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-04-15 19:20:32 +0200
committerGitHub <noreply@github.com>2024-04-15 17:20:32 +0000
commit2dc7e9e5fe66a361021e41046f7a88e61a45300b (patch)
tree3e87840e07202ed418dd13c947cbb1498f5003e3 /web_src/css/modules
parentc63060b130d34e3f03f28f4dccbf04d381a95c17 (diff)
downloadgitea-2dc7e9e5fe66a361021e41046f7a88e61a45300b.tar.gz
gitea-2dc7e9e5fe66a361021e41046f7a88e61a45300b.zip
Fix button color on red and green buttons (#30500)
Previously these colors were provided by fomantic css. I missed them. Fixes: https://github.com/go-gitea/gitea/issues/30499 Regressed by: https://github.com/go-gitea/gitea/pull/30475
Diffstat (limited to 'web_src/css/modules')
-rw-r--r--web_src/css/modules/button.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/css/modules/button.css b/web_src/css/modules/button.css
index 47f55df7fa..87b9ddf292 100644
--- a/web_src/css/modules/button.css
+++ b/web_src/css/modules/button.css
@@ -249,6 +249,7 @@
.ui.red.button,
.ui.red.buttons .button {
+ color: var(--color-white);
background: var(--color-red);
}
@@ -283,6 +284,7 @@
.ui.green.button,
.ui.green.buttons .button {
+ color: var(--color-white);
background: var(--color-green);
}