You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm that dates and non-hyperlink text in "news" and "latest posts" are white-on-white (ctrl-A below)
Error messages and logs
The error message you got, with the full traceback if available. Please paste it between these triple backticks.
What operating system are you using?
Linux, Mac
Where are you seeing the problem on?
Deployed site, Running locally with Docker (docker compose)
More info
As far as I can tell, the problem is that when dark mode is disabled, some tables are given class table-dark. If I manually change table-dark to table using Inspect in Firefox, text changes from white to black. However, it does not occur when I build locally using docker compose on MacOS—text is black on white. I wonder if this is related to #1134?
The text was updated successfully, but these errors were encountered:
I have a lead on what is happening, but no understanding of why. In Firefox, if I open the site in either a private window, or on my laptop where I have set "Never remember history", tables get class table-dark even if enable darkmode: false. This also happens in Chrome and Brave, with default settings. However, it does not happen in Firefox with default settings: table text is black-on-white when enable darkmode: false. So it seems to be browser-specific, and maybe to do with privacy settings...
I'd suggest also searching in our code and check what else this setting affects. But if I am going to guess, this probably happens because of how the classes are loaded during the first load. Probably the answer to all this lies in our assets/js/theme.js.
Have you checked that your issue isn't already filed?
Bug description
When dark mode is disabled, white text is displayed on white table backgrounds
How to reproduce the bug
Steps to reproduce:
_config.yml
:enable darkmode: true
->enable darkmode: false
https://jyelland.github.io
Error messages and logs
What operating system are you using?
Linux, Mac
Where are you seeing the problem on?
Deployed site, Running locally with Docker (docker compose)
More info
As far as I can tell, the problem is that when dark mode is disabled, some tables are given class
table-dark
. If I manually changetable-dark
totable
using Inspect in Firefox, text changes from white to black. However, it does not occur when I build locally usingdocker compose
on MacOS—text is black on white. I wonder if this is related to #1134?The text was updated successfully, but these errors were encountered: