Skip to content
Marcos Cáceres edited this page Apr 30, 2024 · 2 revisions

Dark mode

To enable dark mode in your spec, add the following to the <head> of your document:

<meta name="color-scheme" content="light dark">

Note: This is supported for W3C specs only, and makes use of official dark.css in tr-design.

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally