fix(editor): Respect user's dark-mode preference even before the application is loaded (no-changelog) (#11530)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-11-04 13:07:06 +01:00 committed by GitHub
parent d1153f51e8
commit e10968b26f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<style>@media (prefers-color-scheme: dark) { body { background-color: rgb(45, 46, 46) } }</style>
<script type="text/javascript"> <script type="text/javascript">
window.BASE_PATH = '/{{BASE_PATH}}/'; window.BASE_PATH = '/{{BASE_PATH}}/';
window.REST_ENDPOINT = '{{REST_ENDPOINT}}'; window.REST_ENDPOINT = '{{REST_ENDPOINT}}';