I'm trying to make a custom dark mode stylesheet, and I started with Kuba's great DarkPackage.
The issue is how to deal with text in panels (you can barely see the white-on-white text, unless you select the element with your mouse):
My question: how to control the color of text in paneled boxes from a stylesheet definition cell?
The most common examples of this are:
- White text in values of
InformationPanel[title, {key->value, ...}]
from GeneralUtilities` (e.g. the panel used in Classify, NetTrain, Information, etc.):
- White text in headers of datasets:
- Linguistic assistant text:
These are just a few cases of this need to invert the white colors on white paneled or interactive backgrounds, but at least addressing these two would solve most of the problem.
What I've tried:
One really bad way to solve this is to set:
Cell[StyleData["Notebook"], FontColor->RGBColor[0, 0.7, 1]]
Which will fix the unreadable panels, but will affect all Text
:(
Information
makes its boxes and mess with that. $\endgroup$