mirror of
https://github.com/kognise/water.css.git
synced 2025-08-12 16:14:34 +02:00
docs: correctly document default theme as "light"
This commit is contained in:
@@ -41,7 +41,7 @@ const updateTheme = () => {
|
|||||||
|
|
||||||
if (theme === 'auto') {
|
if (theme === 'auto') {
|
||||||
table.theme.innerHTML = `
|
table.theme.innerHTML = `
|
||||||
Defaults to dark, but respects user-defined theme settings.<br>
|
Defaults to light, but respects user-defined theme settings.<br>
|
||||||
(detected via <a style="--links: var(--code)" href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme" target="_blank" rel="noopener"><code>prefers-color-scheme</code></a>)
|
(detected via <a style="--links: var(--code)" href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme" target="_blank" rel="noopener"><code>prefers-color-scheme</code></a>)
|
||||||
`
|
`
|
||||||
table.browserSupport.innerHTML = `
|
table.browserSupport.innerHTML = `
|
||||||
|
Reference in New Issue
Block a user