Mohammad,

Thanks! I managed to spoil a working code again during publishing. Since I 
can't edit the original post (another negative in the new Google Groups 
interface), I'm copying the *fixed code*.

<$vars
  currentTime=<<now "hhmm">>
  nightStart="2000"
  nightEnd="800"
>
  <$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>

*singing* *Do not shaaare untested cooode even if you adding only 
commeeeeeeents...*

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/263e5c32-dd7a-4dc9-9fe4-ce0faa96d9f3n%40googlegroups.com.

Reply via email to