Skip to content

Commit

Permalink
Automatically add color-scheme meta, and include the W3C's darkmode s…
Browse files Browse the repository at this point in the history
…tylesheet.
  • Loading branch information
tabatkins committed Mar 8, 2024
1 parent bd6bca6 commit 1232e02
Show file tree
Hide file tree
Showing 486 changed files with 808 additions and 0 deletions.
1 change: 1 addition & 0 deletions bikeshed/Spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def processDocument(self) -> Spec:
caniuse.addCanIUsePanels(self)
highlight.addSyntaxHighlighting(self)
boilerplate.addBikeshedBoilerplate(self)
boilerplate.addDarkmodeIndicators(self)
fingerprinting.addTrackingVector(self)
u.fixIntraDocumentReferences(self)
u.fixInterDocumentReferences(self)
Expand Down
35 changes: 35 additions & 0 deletions bikeshed/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1206,3 +1206,38 @@ def formatBiblioTerm(linkText: str) -> str:
if linkText.islower():
return linkText.upper()
return linkText


def addDarkmodeIndicators(doc: t.SpecT) -> None:
# Unless otherwise indicated, Bikeshed docs are assumed
# to be darkmode-aware.
if not doc.md.darkMode:
return

# If a boilerplate already contains a color-scheme,
# assume they know what they're doing.
# Otherwise, add the color-scheme meta to indicate darkmode-ness.
existingColorScheme = h.find('meta[name="color-scheme"]', doc)
if existingColorScheme is not None:
return
h.appendChild(
doc.head,
h.E.meta({"name": "color-scheme", "content": "dark light"}),
)

# Specs using the Bikeshed stylesheet will get darkmode colors
# automatically, but W3C specs don't. Instead, auto-add their
# darkmode styles.
w3cStylesheet = h.find('link[href^="https://www.w3.org/StyleSheets/TR"]', doc)
if w3cStylesheet is not None:
h.appendChild(
doc.head,
h.E.link(
{
"rel": "stylesheet",
"href": "https://www.w3.org/StyleSheets/TR/2021/dark.css",
"type": "text/css",
"media": "(prefers-color-scheme: dark)",
},
),
)
1 change: 1 addition & 0 deletions tests/abstract001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/adjacent-boilerplate/adjacent-boilerplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/advisement001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Advisements</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/algorithm001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/basic001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio002.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio003.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio004.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio005.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio006.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/biblio007.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/boilerplate-substitution001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/caniuse001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/comments001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/conditional001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/conditional002.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/conditional003.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/css-production-range001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/dict-type.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/elementdef001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint002.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint003.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint004.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint005.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/fingerprint006.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/force-crossorigin001.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Foo</title>
<link crossorigin href="http://example.com/foo" rel="canonical">
<meta content="dark light" name="color-scheme">
<link crossorigin href="foo">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/WebApiDevice/managed_config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/WebApiDevice/managed_config" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/aom/spec/custom-element-semantics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-UD" rel="stylesheet">
<link href="https://wicg.github.io/aom" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/aom/spec/input-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-UD" rel="stylesheet">
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<link href="https://wicg.github.io/aom/spec/input-events.html" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/app-history/spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/app-history/" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>
.selected-text-file-an-issue {
position: fixed;
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/background-fetch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/background-fetch/" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>
.algorithm dl {
overflow: hidden;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/background-sync/spec/PeriodicBackgroundSync-index.html" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/background-sync/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/background-sync/spec/" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/client-hints-infrastructure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/client-hints-infrastructure" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>
table, th, td { border: 1px black solid; }
thead {background-color: yellow; }
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/compression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/compression/" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
1 change: 1 addition & 0 deletions tests/github/WICG/construct-stylesheets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,7 @@
}
</style>
<link href="https://wicg.github.io/construct-stylesheets/" rel="canonical">
<meta content="dark light" name="color-scheme">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/contact-api/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-UD" rel="stylesheet">
<link href="https://wicg.github.io/contact-api/spec" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/container-queries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<link href="https://github.com/ResponsiveImagesCG/container-queries" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/content-index/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<link href="https://wicg.github.io/content-index/spec/" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>
.algorithm dl {
overflow: hidden;
Expand Down
2 changes: 2 additions & 0 deletions tests/github/WICG/conversion-measurement-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<link href="https://wicg.github.io/conversion-measurement-api" rel="canonical">
<meta content="dark light" name="color-scheme">
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down
Loading

0 comments on commit 1232e02

Please sign in to comment.