This document is to experiment with dark mode (#551).
The author of this document has indicated to UAs it is compatible with
dark mode as well as light mode
(with a preference for dark mode)
using
<meta name="color-scheme" content="dark light">
,
allowing the UA to render this document with an appropriate color scheme.
The <map-layer media=(prefers-color-scheme: dark)>
is used
to identify the layer to use either mode. While a linked CSS
stylesheet can be selected using the <map-link media="(prefers-color-scheme: dark)"
declaration, this technique has not yet been implemented for stylesheet
modules for pmtiles archives. Open an issue if you would like to see this
implemented.
References
<meta name="color-scheme">
color-scheme
property
prefers-color-scheme
media feature