about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJed Fox <git@jedfox.com>2023-01-05 07:34:10 -0500
committerGitHub <noreply@github.com>2023-01-05 13:34:10 +0100
commitb81b646e3bf94ebc1b86999250092e947d7bc5dc (patch)
treee5a5565487fdc2ddf210feb09ce1e738cee3975f
parent3654c945832405267e80fe24b14f7e1d74c395ba (diff)
Improve the contrast of the chart in “poll has ended” notifications (#22575)
* Improve the contrast of the chart in “poll has ended” notifications

* Further increase the contrast of non-leading poll options
-rw-r--r--app/javascript/styles/mastodon/polls.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss
index f553c5501..6812d5462 100644
--- a/app/javascript/styles/mastodon/polls.scss
+++ b/app/javascript/styles/mastodon/polls.scss
@@ -279,10 +279,10 @@
   color: $dark-text-color;
 
   &__chart {
-    background: rgba(darken($ui-primary-color, 14%), 0.2);
+    background: rgba(darken($ui-primary-color, 14%), 0.7);
 
     &.leading {
-      background: rgba($ui-highlight-color, 0.2);
+      background: rgba($ui-highlight-color, 0.5);
     }
   }
 }