update theme-toggle

This commit is contained in:
Geoff Doty 2025-03-22 17:37:54 -04:00
parent 326ae7cbda
commit 0db179bc06
1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
class ThemeToggle extends HTMLElement {
constructor() {
super();
// this.attachShadow({ mode: 'open' });
this.isLight = true;
}
@ -19,9 +18,8 @@ class ThemeToggle extends HTMLElement {
render() {
this.innerHTML = `
<style>
:host {
theme-toggle:hover {
cursor: pointer;
display: inline-block;
}
</style>
${this.isLight