Dark scheme
Global configuration:
or local configuration
undefined
is a default option.
Options
undefined
class
You would need to add CSS, something like this:
media
Strategy vs dark scheme
class | media | |
---|---|---|
inline | maybe (1) | no |
data-url | yes | yes |
file | yes | yes |
(1) - for example, works for Mermaid, but doesn’t work for D2 (check with light mode):