A user, LlamaSensei, reported an issue with text selection visibility when quoting posts using the Material Dark color palette on their forum. The highlight color was nearly indistinguishable from the background, making it hard to see selected text. After testing, they confirmed the issue didn’t occur on Meta’s default Dark theme, narrowing it down to their installed Graceful theme. awesomerobot, the theme developer, acknowledged they had overridden the browser’s default highlight colors — a decision they reconsidered — and promptly removed the override. After updating the theme, LlamaSensei confirmed the issue was resolved and expressed gratitude for the fast fix. The problem was specific to the Graceful theme’s CSS and not a general Discourse or browser issue. david helped by verifying the behavior on Meta’s Dark theme, which worked correctly, confirming the issue was theme-specific. This thread highlights how custom theme CSS can unintentionally break standard UI behaviors — like text selection — and how quick developer responses can resolve such issues effectively.
We are using the Material Dark color palette on our website & have an issue with highlighting texts in posts & replies that I cannot seem to resolve. I’ve tried on a few dark color palettes to the same effect. Below is 2 sets of text. The one below is selected so that the user can “quote” that text. It’s almost impossible to see any difference between it & the non-selected text.
Any thoughts? I can’t seem to find anything here on the forums. I’ve played with the color palette to no avail.
That’s accurate, I’m overriding the browser’s highlight colors in the theme… which in retrospect is probably not a good idea. I just removed it… so if you update the theme it should be resolved.