I just tried this, it seems to change only the story view and tiddler area. Any way for it to apply to the whole TiddlyWiki view?
On Sunday, November 22, 2020 at 8:50:10 PM UTC-5 TW Tones wrote: > Bimlas, > > Nice share. I am playing with it now, to understand how it works, it > restores to day when I close the tiddler. > > Using this filter invert gives me the clue I was looking for, a way to get > Icons to be given contrasting colors. Without even knowing the color one > can use its rotated hue. > > > - Somehow I feel this feature could be built into svg display or > designs to allow a primary colour to be selected freely knowing its > background as an example will contrast. > - my interest is to allow designers to use alternate colors on > available icons when adding a new button feature, but we always have the > issue of "other themes", changes in background color etc... > - This may also apply to svgs from the icon source Mohammad shared > recently > > Nice work > Tones > > On Friday, 20 November 2020 at 09:29:33 UTC+11 bimlas wrote: > >> To set automatic night mode (dark mode), create a new tiddler and add the >> $:/tags/PageTamplate tag. >> >> <$vars >> currentTime=<<now "hhmm">> >> nightStart="2000" <!-- 20:00 --> >> nightEnd="800" <!-- 8:00 --> >> > >> <$list filter="[<currentTime>compare:number:gteq<nightStart>] >> [<currentTime>compare:number:lt<nightEnd>]"> >> <!-- Code taken from >> https://dev.to/akhilarjun/one-line-dark-mode-using-css-24li --> >> <style> >> html { >> filter: invert(1) hue-rotate(180deg); >> } >> html img { >> filter: invert(1) hue-rotate(180deg); >> } >> </style> >> </$list> >> </$vars> >> > -- 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/5a58cc19-648f-44c9-beee-23d32b1ae159n%40googlegroups.com.

