Skip to content

Improve poll meter bar contrast in dark mode#6697

Open
jensfr1 wants to merge 1 commit into
WoltLab:6.2from
jensfr1:fix/poll-meter-dark-theme
Open

Improve poll meter bar contrast in dark mode#6697
jensfr1 wants to merge 1 commit into
WoltLab:6.2from
jensfr1:fix/poll-meter-dark-theme

Conversation

@jensfr1

@jensfr1 jensfr1 commented Jun 29, 2026

Copy link
Copy Markdown

What

In dark mode the poll result bar (.pollMeterValue) was filled with a
faint translucent white (rgb(255 255 255 / 34%)), which is hard to
distinguish from the underlying track. This makes it difficult to read
the relative share of votes at a glance.

This changes the dark mode fill to the accent color (--wcfContentLink),
so the filled portion is clearly visible and consistent with the
appearance of the bar in light mode.

Why

Reported in #5925 with before/after screenshots.

Notes

Single-line style change in wcfsetup/install/files/style/ui/poll.scss.
Using the --wcfContentLink variable keeps the color in sync with the
active style's accent instead of hardcoding a value.

The dark mode override used a faint translucent white (34% opacity)
that was barely distinguishable from the track. Use the accent color
(--wcfContentLink) so the filled portion is clearly visible, matching
the visibility of the light mode bar.

Resolves WoltLab#5925
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant