Skip to content

Commit

Permalink
fix(w3c/styles): add meta[type=color-scheme] with darkMode (#4668)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Apr 8, 2024
1 parent 5f0ab54 commit eaefd0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/w3c/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ export function run(conf) {
}
</style>`
);
document.head.appendChild(
html`<meta name="color-scheme" content="light dark" />`
);
document.head.appendChild(
html`<link
rel="stylesheet"
Expand Down

0 comments on commit eaefd0d

Please sign in to comment.