Skip to content

Commit a9996c0

Browse files
committed
Add official dark mode stylesheet
1 parent d8ff02e commit a9996c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/md2html/md2html.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function preface(title,options) {
149149
preface += '<h2>Status of This Document</h2>';
150150
preface += 'The source-of-truth for this specification is the HTML file referenced above as <em>This version</em>.';
151151
preface += '</section>';
152+
preface += '<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)">';
152153

153154
return preface;
154155
}

0 commit comments

Comments
 (0)