import{i as s,b as p,j as e,H as u}from"./app-CyJEXGyv.js";import{a as n}from"./utils-D3rN0LeJ.js";import{c as d}from"./createLucideIcon-DqnlFWer.js";import{S as x,H as h}from"./layout-BYA4EXmM.js";import{A as b}from"./app-layout-DbUGBUec.js";import"./heading-BLley4b9.js";import"./button-COEJSQkW.js";import"./separator-BkmnLgT6.js";import"./index-l-_2VD5G.js";import"./sheet-D9YCjyPN.js";import"./index-JbHgsFAK.js";import"./index-BiS8IM9B.js";import"./x-CEXz2EER.js";import"./index-CeYyXWc4.js";import"./index-D448AvbX.js";import"./truck-DSNzHzca.js";import"./package-Ca-wQg6n.js";import"./shopping-bag-kX2qM3ec.js";import"./app-logo-icon-bwP4qd8Q.js";import"./bluetooth-context-DlC5mQaA.js";import"./index-BtT9Eyya.js";import"./sonner-DMUJNVEP.js";/**
 * @license lucide-react v0.475.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const g=[["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"}]],f=d("Monitor",g);/**
 * @license lucide-react v0.475.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const y=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],j=d("Moon",y);/**
 * @license lucide-react v0.475.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const v=[["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"}]],k=d("Sun",v);function N({className:r="",...a}){const{appearance:t,updateAppearance:o}=s(),c=[{value:"light",icon:k,label:"Light"},{value:"dark",icon:j,label:"Dark"},{value:"system",icon:f,label:"System"}];return p.useEffect(()=>{t||o("dark")},[t,o]),e.jsx("div",{className:n("inline-flex gap-1 rounded-lg border border-border bg-card p-1 shadow-sm transition-colors",r),...a,children:c.map(({value:i,icon:m,label:l})=>e.jsxs("button",{onClick:()=>o(i),className:n("flex items-center rounded-md px-3.5 py-1.5 text-sm font-medium transition-colors",t===i?"bg-accent text-accent-foreground shadow-sm":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[e.jsx(m,{className:"mr-1.5 h-4 w-4"}),l]},i))})}const A=[{value:"split",label:"Split"},{value:"simple",label:"Simple"},{value:"card",label:"Card"}];function w(){const{authLayout:r,updateAuthLayout:a}=s();return e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 text-sm font-medium text-muted-foreground",children:"Auth Page Layout"}),e.jsx("div",{className:"inline-flex gap-1 rounded-lg border border-border bg-card p-1 shadow-sm transition-colors",children:A.map(({value:t,label:o})=>e.jsx("button",{onClick:()=>a(t),className:n("rounded-md px-3.5 py-1.5 text-sm font-medium transition-colors",r===t?"bg-accent text-accent-foreground shadow-sm":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:o},t))})]})}const L=[{value:"sidebar",label:"Sidebar"},{value:"header",label:"Header"}];function S(){const{appLayout:r,updateAppLayout:a}=s();return e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 text-sm font-medium text-muted-foreground",children:"App Page Layout"}),e.jsx("div",{className:"inline-flex gap-1 rounded-lg border border-border bg-card p-1 shadow-sm transition-colors",children:L.map(({value:t,label:o})=>e.jsx("button",{onClick:()=>a(t),className:n("rounded-md px-3.5 py-1.5 text-sm font-medium transition-colors",r===t?"bg-accent text-accent-foreground shadow-sm":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:o},t))})]})}const M=[{value:"font-sans",label:"Winky Sans"},{value:"font-inter",label:"Inter"},{value:"font-poppins",label:"Poppins"},{value:"font-roboto",label:"Roboto"},{value:"font-figtree",label:"Figtree"}];function F(){const{fontFamily:r,updateFontFamily:a}=s();return e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 text-sm font-medium text-muted-foreground",children:"Font Family"}),e.jsx("div",{className:"inline-flex gap-1 rounded-lg border border-border bg-card p-1 shadow-sm transition-colors",children:M.map(({value:t,label:o})=>e.jsx("button",{onClick:()=>a(t),className:n("rounded-md px-3.5 py-1.5 text-sm font-medium transition-colors",r===t?"bg-accent text-accent-foreground shadow-sm":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:o},t))})]})}const _=[{title:"Appearance settings",href:"/settings/appearance"}];function Y(){return e.jsxs(b,{breadcrumbs:_,children:[e.jsx(u,{title:"Appearance settings"}),e.jsx(x,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(h,{title:"Appearance settings",description:"Update your account's appearance settings"}),e.jsx(N,{}),e.jsx(w,{}),e.jsx(S,{}),e.jsx(F,{})]})})]})}export{Y as default};
