Thank you Jeremy, So if a user change the palette in Tiddlywiki, say from "Vanilla" to "Gruv Box Dark" there is no way a third party plugin notify about this change! Am I right? If the above is correct, a plugin needs to have its own setting and dark palette/theme and lets user manually switch the plugin palette/theme to meet the Tiddlywiki palette in use.
--Mohammad On Sunday, December 6, 2020 at 2:40:48 PM UTC+3:30 [email protected] wrote: > Hi Mohammad > > Third party plugins need to distinguish between dark and light palettes to > adjust colors and other visual effects of their elements. > > In TW 5.1.23, how a plugin can find which mode is in use? Dark or Light? > Is there any state or info tiddler? > > > Beyond the ability to make dark palettes that we’ve had for a long time, > the only support for dark mode in v5.1.23 is that the operating system dark > mode setting is reflected in $:/info/darkmode. > > We opted not to implement automatic switching of palettes in this release > largely because of the backwards compatibility issues that we want to get > right. > > Best wishes > > Jeremy > > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/9d1da969-9186-4c29-8f84-5589bbbe8b6fn%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/9d1da969-9186-4c29-8f84-5589bbbe8b6fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3cbc3ab7-65ed-4c04-b045-5de63e1b51cdn%40googlegroups.com.

