Highlighted forum post has contrast problem in dark mode
- Status
- Open
- Subject
- Highlighted forum post has contrast problem in dark mode
- Version
- 27.x
master - Category
- Usability
- Developer Training
- Feature
- Accessibility
Forum - Resolution status
- New
- Submitted by
- Gary Cunningham-Lee
- Lastmod by
- Gary Cunningham-Lee
- Rating
- Description
In dark color mode, the page background is dark and foreground text is a light color, but when a new post is added in Tiki's forums, it is highlighted like this:
<article class="card post commentStyle_plain mb-3" id="threadId11" style="background-color: rgb(255, 255, 255);">That inline CSS produces a white background, making it impossible to read the light-colored text in the post. Instead of inline CSS, a class or a CSS variable, like
style="background-color: var(--bs-primary-bg-subtle);"should be used, so the color will be appropriate in light or dark (or other) color mode.
- Importance
- 9
- Easy to solve?
- 6
- Priority
- 54
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8648
- Created
- Saturday 13 July, 2024 07:16:07 UTC
by Gary Cunningham-Lee - LastModif
- Saturday 13 July, 2024 07:16:07 UTC