Remove templates and compiled theme assets

Delete prebuilt template pages and their compiled theme assets under templates/: removes templates/*.html and the templates/assets files (Layout CSS, ThemeSwitcher, client runtime and bundled runtime). Cleans up generated/compiled template artifacts so they no longer ship with the repository.
This commit is contained in:
Ryan Wang
2026-04-07 22:52:41 +08:00
parent cf680c4d17
commit 63d640eaac
13 changed files with 3 additions and 111 deletions
+3 -1
View File
@@ -21,4 +21,6 @@ pnpm-debug.log*
.DS_Store .DS_Store
# jetbrains setting folder # jetbrains setting folder
.idea/ .idea/
templates/
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
import{c as r,a as l,b as s,d,o as c,r as u,e as i}from"./runtime-core.esm-bundler.25dbJ6OW.js";const x=(a,t)=>{const e=a.__vccOpts||a;for(const[n,o]of t)e[n]=o;return e},v=d({__name:"ThemeSwitcher",setup(a,{expose:t}){t();const e=u(!1);c(()=>{e.value=document.documentElement.classList.contains("dark")});function n(){e.value=!e.value,document.documentElement.classList.toggle("dark",e.value),localStorage.setItem("theme",e.value?"dark":"light")}const o={isDark:e,toggle:n};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),_=["aria-label"],h={key:0,xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},m={key:1,xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"};function y(a,t,e,n,o,k){return i(),r("button",{class:"theme-toggle",type:"button","aria-label":n.isDark?"Switch to light mode":"Switch to dark mode",onClick:n.toggle},[n.isDark?(i(),r("svg",m,[...t[1]||(t[1]=[s('<circle cx="12" cy="12" r="5" data-v-976d6eb8></circle><line x1="12" y1="1" x2="12" y2="3" data-v-976d6eb8></line><line x1="12" y1="21" x2="12" y2="23" data-v-976d6eb8></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64" data-v-976d6eb8></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78" data-v-976d6eb8></line><line x1="1" y1="12" x2="3" y2="12" data-v-976d6eb8></line><line x1="21" y1="12" x2="23" y2="12" data-v-976d6eb8></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36" data-v-976d6eb8></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22" data-v-976d6eb8></line>',9)])])):(i(),r("svg",h,[...t[0]||(t[0]=[l("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"},null,-1)])]))],8,_)}const g=x(v,[["render",y],["__scopeId","data-v-976d6eb8"]]);export{g as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long