Skip to content

Commit

Permalink
deploy: 8ba92b3
Browse files Browse the repository at this point in the history
  • Loading branch information
nanarino committed Jan 10, 2025
1 parent d2712e4 commit fa5dc92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ background: hsla(
calc(240 - 6 * @x * @y),
70%, 68%, @r.8
)
`,e={light:s,dark:t};function o(){const n=document.querySelector("css-doodle");n&&(n.innerHTML=e[window.theme])}o();document.addEventListener("astro:after-swap",o);window.addEventListener(`${d}-theme`,n=>{const r=document.querySelector("css-doodle");r&&r.update(e[n.detail])});
`,o={light:s,dark:t};function e(n=o[window.theme]){const r=document.querySelector("css-doodle");r&&(r.compiled?r.update(n):r.innerHTML=n)}e();document.addEventListener("astro:after-swap",()=>e());window.addEventListener(`${d}-theme`,n=>e(o[n.detail]));
Loading

0 comments on commit fa5dc92

Please sign in to comment.