mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 12:03:31 +08:00
When the dark mode is on or when the light mode is on, the [data-scheme="light"] or [data-scheme="dark"], respectively, will be placed in the <html> tag. Allowing us to access the dark and light color schemes from the <html> to change the vertical scrollbar styles according to the current color scheme. |
||
---|---|---|
.. | ||
_default | ||
page | ||
partials | ||
post | ||
shortcodes | ||
404.html | ||
index.html | ||
rss.xml |