style: add dark theme color scheme (#7118)

hen the user's browser does not support `light-dark`, fall back to the light theme color scheme.
This commit is contained in:
qupig
2024-12-19 05:37:53 +08:00
committed by GitHub
parent db311e6ff5
commit 318c582043
5 changed files with 17 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
http-equiv="Content-Security-Policy"
content="style-src 'self'; manifest-src 'self'; img-src 'self' data:; font-src 'self' data:;"
/>
<meta name="color-scheme" content="light dark" />
<title>{{ERROR_TITLE}} - code-server</title>
<link rel="icon" href="{{CS_STATIC_BASE}}/src/browser/media/favicon-dark-support.svg" />
<link rel="alternate icon" href="{{CS_STATIC_BASE}}/src/browser/media/favicon.ico" />