Repository navigation
fix(poll): restore the dark theme on the rebuilt poll panels - #29
Merged
antobinary merged 1 commit intoOct 13, 2026
Conversation
The v4.0.x-release merge brings in the poll and polling panels rebuilt on bbb-ui-components-react. 4.0 still darkens through DarkReader, so the new code never had to follow 4.1's native dark theme, and three spots regress there: - The question textarea is the library's, painted with --color-neutral-white, which theme-dark.css leaves white on purpose. The panel sets the text to colorText, white in the dark theme, so the question is typed white on white. Give it colorWhiteSurface. - The delete-option and stop-poll buttons are BBButton tertiary, whose --color-background-blue and --color-hover-light had no dark value, so they stayed pale blue tiles. Emit both, blue-tinted like the light pair. - The vote option boxes and the poll/quiz tab selector are bordered with colorGray and colorGrayLight, which turn white in the dark theme because they are text colours. Use their border splits, colorGrayBorder and colorGrayLightBorder. The light theme is unchanged: every token used chains back to the previous value there.
|
Thank you for this contribution! |
antobinary
merged commit Oct 13, 2026
4251869
into
antobinary:merge-v4.0.x-release-into-v4.1.x-develop
33 of 34 checks passed
Owner
|
Thank you! |
antobinary
pushed a commit
that referenced
this pull request
Nov 10, 2026
Merge v4.0.x-develop into issue-26101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes three dark-theme regressions that bigbluebutton#26011 brings into 4.1 with the poll and polling panels rebuilt on bbb-ui-components-react. 4.0 still darkens through DarkReader, so the rebuilt panels never had to follow 4.1's native dark theme (
theme-dark.css).--color-neutral-white, whichtheme-dark.cssdeliberately leaves white. The panel sets the text tocolorText, which is white in the dark theme, so the question you type is invisible.PollQuestionAreanow setsbackground: colorWhiteSurface.BBButton variant="tertiary", whose--color-background-blueand--color-hover-lighthad no dark value.theme-dark.cssnow emits both, blue-tinted (#1E2B3F at rest, #243552 on hover).colorGrayandcolorGrayLight, which are text colours and turn white in the dark theme. They now use the border splits,colorGrayBorderandcolorGrayLightBorder.The light theme is unchanged: every token used chains back to the previous value there. Computed colours are identical, and a pixel diff of the light-theme screenshots shows only anti-aliasing noise.
Closes Issue(s)
None. Follow-up to bigbluebutton#26011, targeting its branch.
Motivation
Found while reviewing bigbluebutton#26011. Its follow-ups list mentions the poll panels' dark-theme tokens. These three are the visible breakages, and the textarea one makes the poll question unusable in dark mode.
How to test
userdata-bbb_prefer_dark_theme=true, or turn on dark theme in Settings.More
--color-hover-dark(#0C57A7). It is a brand token, sotheme-dark.cssdeliberately does not redefine it, and on the dark hover ground it is only about 1.7:1 contrast. "Stop poll" sits in that state right after a poll starts. Fixing that means giving the brand hover colour a dark value, which is a call for the theme's maintainers.colorBlueDarkstill has no dark override, but it is only used as a fill under white text, which is fine.