Loading...
 
Skip to main content

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
(0)
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+
Demonstrate Bug (older Tiki versions)
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


Show PHP error messages