<p></p>
<p>Maybe detecting system theme is not the right way then? Instead you could have a button to toggle between default and dark mode. It would require a little bit of JavaScript, but you need it anyway to change map colors in Leaflet.</p>
<p>Since Bootstrap doesn't have a dark theme, is it possible to not use custom CSS?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3028#issuecomment-756072660">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM2FOXU7F3MA226NF3SYWOSNANCNFSM4VQTNSCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLOZLMS56PNFEVFJ7KDSYWOSNA5CNFSM4VQTNSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFUIMBVA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3028#issuecomment-756072660",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3028#issuecomment-756072660",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>