import{u as e}from"./vnfPGOYn.js";import{a as s,c as a}from"./DvCYfmwJ.js";import{_ as t}from"./BFZw6eDS.js";import{D as c,g as o,E as r,c as l,a as d,b as i,w as n,j as m,F as p,s as u,o as h,d as y,n as x,C as f,G as g,t as k}from"./nMEF9Rpo.js";const v=s("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]),b=s("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),j=s("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),w={class:"flex-1 space-y-8 p-6 pb-16 max-w-4xl mx-auto"},M={class:"space-y-6"},_={class:"ml-6 space-y-6"},C={class:"space-y-3"},z={class:"grid max-w-md grid-cols-3 gap-3"},D=["onClick"],S={class:"space-y-2"},q={class:"flex items-center space-x-2"},L={class:"text-sm font-medium"},A={class:"text-xs text-muted-foreground"},E=o({__name:"settings",setup(s){const o=c("color-mode").value;e(),r();const E=[{value:"light",label:"Light",description:"Light mode",icon:j},{value:"dark",label:"Dark",description:"Dark mode",icon:b},{value:"auto",label:"System",description:"Use system setting",icon:v}];return(e,s)=>(h(),l("div",w,[s[3]||(s[3]=d("div",{class:"space-y-0.5"},[d("h2",{class:"text-2xl font-bold tracking-tight"},"Settings"),d("p",{class:"text-muted-foreground"}," Manage your account settings and preferences. ")],-1)),d("div",M,[s[2]||(s[2]=d("div",{class:"space-y-2"},[d("h3",{class:"text-lg font-medium"},"Appearance"),d("p",{class:"text-sm text-muted-foreground"},"Customize the look and feel of the interface.")],-1)),d("div",_,[d("div",C,[i(m(t),{class:"text-base"},{default:n(()=>s[0]||(s[0]=[y("Theme")])),_:1,__:[0]}),s[1]||(s[1]=d("p",{class:"text-sm text-muted-foreground"}," Select the theme for the dashboard. ",-1)),d("div",z,[(h(),l(p,null,u(E,e=>d("div",{key:e.value,onClick:s=>m(o).preference=e.value,class:x(m(a)("cursor-pointer rounded-lg border-2 p-3 hover:bg-accent",m(o).preference===e.value?"border-primary":"border-muted"))},[d("div",S,[d("div",q,[(h(),f(g(e.icon),{class:"h-4 w-4"})),d("span",L,k(e.label),1)]),d("p",A,k(e.description),1)])],10,D)),64))])])])])]))}});export{E as default};
