In the setup page of the Discourse Free Plan, the options are quite hard to read:
AI-generated summary
In the Discourse Free Plan setup, NateDhaliwal reported that options are difficult to read in dark mode on Chrome for Windows 10. derek initially could not reproduce the issue on macOS and identified a missing CSS variable, pushing a fix via PR #37722. Despite this, NateDhaliwal confirmed the problem persisted on their instance. darkpixlz suggested checking for cache issues or browser extensions, but the user ruled these out. NateDhaliwal provided detailed technical analysis via DevTools, identifying that the --wizard-primary-900 variable was undefined and causing incorrect background rendering. derek hypothesized the issue stemmed from PostCSS compilation of the light/dark mode variables and noted that the previously deployed fix had not yet reached the userās instance. He confirmed the fix should now be live and requested further testing.
@derek Tried to find this page, but youāll be faster no doubt
Hey @NateDhaliwal! I couldnāt reproduce this in Chrome, Safari, and FF on MacOS in dark mode:
However, I did find a missing CSS variable on the dark mode background for those toggles that might be the culprit. Just pushed a fix:
Hi @derek , Iām still repo-ing this on Chrome, Windows 10.
Are you sure this isnāt a cache problem? Have you tried a hard (Ctrl+Shift+R) reload? Do you have dark reader installed?
Yup, just tried that, no change. No errors in the browser console (though I doubt it would appear there).
I just checked on my phone (iOS/Orion) and it looks as intended. Try going to /wizard on the site with a different browser, preferably one that hasnāt visited it before
@NateDhaliwal I just tried this in Chrome on Windows 10 no luck reproducing it. Are you seeing this locally or on a hosted instance?
Could you inspect the toggle element in DevTools(Right click ā Inspect) and share what you see in the styles pane?
Iāve looked through the styles and this seems like the key part:
The --1e94960e-csstools-light-dark-toggle--2 variable is controlling the background color here.
From what I can tell, the --wizard-primary-900 variable is undefined, and the --csstools-color-scheme--light variable definition looks like this:

If one changes the background-color, or adding the variables and putting random colors like green or yellow, then things look more ācorrectā (though frankly, I have no idea why green or yellow donāt show up: I suspect itās an incorrect syntax?):
Thanks for the details @NateDhaliwal. My hunch is that itās related to that missing CSS var when light/dark mode is involved, and how itās compiled via PostCSS. It looks like the browser may be falling back to the light mode background color, which is odd since I canāt reproduce this.
Judging by the screenshots, my fix hadnāt been deployed to your instance yet. It should be deployed there now, so give it another try and let me know if you still notice anything off.
No reproduction.





