hecking Dark mode with black background on new themes

Forum rules
Please DO NOT POST BUGS on this forum. Please report (and vote) bugs on : https://boardgamearena.com/bugs
Post Reply
User avatar
mrbass
Posts: 60
Joined: 05 March 2015, 10:26

hecking Dark mode with black background on new themes

Post by mrbass »

Anyone able to hack Tichu css for black background? The new themes are great but none are for dark mode unfortunately. Eye killers.

This is the original code that used to work

Code: Select all

.bgagame-tichu .whiteblock {
  background: #2c2c2c;
}
.bgagame-tichu .whiteblock.lastComboPlayer {
  background-color: rgba(255, 255, 0, 0.5);
}
I know it's the --bg-color-play-area but not sure how to specify for theme0

Code: Select all

.bgagame-tichu .theme0, html.theme0 {
--bg-color-play-area:#242424;
}
User avatar
dashwood314
Posts: 15
Joined: 26 July 2023, 12:42

Re: hecking Dark mode with black background on new themes

Post by dashwood314 »

You can try this:

Code: Select all

.theme0,html.theme0 {
--bg-color-html:#000;
--bg-color-play-area:#333;
--bg-color-lighter:#666;
}
Also, once you are satisfied with a dark color theme, let me know. I can then make them one of the official themes.

FWIW, I did not yet look deeper into dark mode, because I thought that I would then also have to change the color of the fonts, which is a bit more tricky to get right in all places. But if you are happy with the font colors and just need some darker backgrounds, then the above should work fine.
Post Reply

Return to “Tichu”