Closed planetoftheweb closed 1 month ago
Related to #3
Add a dark mode option to the site.
index.html:
id="theme-toggle"
script.js:
theme-toggle
data-theme
html
style.css:
[data-theme="dark"]
README.md:
For more details, open the Copilot Workspace session.
Related to #3
Add a dark mode option to the site.
index.html:
id="theme-toggle"
.script.js:
theme-toggle
button to toggle thedata-theme
attribute on thehtml
element.style.css:
[data-theme="dark"]
attribute selector.README.md:
For more details, open the Copilot Workspace session.