about summary refs log tree commit diff
path: root/users/tazjin/rlox/src/bytecode/opcode.rs
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-10-14T16·52-0400
committersmitop <me@smitop.com>2021-10-20T19·52+0000
commit4ea7fc392a562fac2158973191ad626baca16644 (patch)
treed9d7de365aebd07b87f41122562d00a55916eb06 /users/tazjin/rlox/src/bytecode/opcode.rs
parent263260bbdf04ba595f993dbb19d9c66452f36d64 (diff)
feat(web/panettone): support dark mode r/2984
When the system is set to dark mode, this is detected through
prefers-color-scheme and the color scheme is adjusted accordingly. This
fixes #18.

The colors are set using CSS variables on the body that are overrridden
based on the current color scheme.

Change-Id: Id2f95dee4d6968e1b62ce37534f623e489fabde4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3722
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/tazjin/rlox/src/bytecode/opcode.rs')
0 files changed, 0 insertions, 0 deletions