]> git.scottworley.com Git - vopamoi/commit - vopamoi.ts
Dark mode
authorScott Worley <scottworley@scottworley.com>
Sun, 22 Oct 2023 11:01:32 +0000 (04:01 -0700)
committerScott Worley <scottworley@scottworley.com>
Sun, 22 Oct 2023 11:01:32 +0000 (04:01 -0700)
commite26a06f9571fb259c93116b67481974bd03c31da
tree832b54e40e942c87ff9bda64093eb2661b774098
parent1b63569cace3349f099ea41de3bf1d19fdd9a630
Dark mode

Using opacity to darken tags isn't great: It grays the text too much.
But it's a lot simpler than making the tag color depend on dark-mode
state, which would require touching every tag during dark-mode switch,
which would require locking to ensure that a dark-mode switch completes
before another one is started, because tag color calculations are done
asynchronously because crypto's interface forces this.  :(
vopamoi.css
vopamoi.ts