Declare a dark color scheme
Firefox has no cross-document view transitions and paints its default white canvas between pages; color-scheme makes that frame dark. Native controls (checkboxes, scrollbars) now use their dark variants too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content" />
|
||||||
|
<!-- Dark from the first frame: browsers without cross-document view
|
||||||
|
transitions (Firefox) otherwise flash their default white canvas
|
||||||
|
between pages, before style.css applies. -->
|
||||||
|
<meta name="color-scheme" content="dark" />
|
||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
<link rel="icon" href="{{asset "favicon.ico"}}" />
|
<link rel="icon" href="{{asset "favicon.ico"}}" />
|
||||||
<link rel="preload" href="/_/fonts/IosevkaEtoile.woff2" as="font" type="font/woff2" crossorigin />
|
<link rel="preload" href="/_/fonts/IosevkaEtoile.woff2" as="font" type="font/woff2" crossorigin />
|
||||||
|
|||||||
Reference in New Issue
Block a user