import{jsx as t,jsxs as e}from"react/jsx-runtime";import{Head as c}from"@inertiajs/react";import{u as d}from"../app.js";import{c as a}from"./utils-CMbmcP35.js";import{Sun as u,Moon as g,Monitor as b}from"lucide-react";import{A as h,S as f,H as x}from"./layout-DaDw2XWr.js";/* empty css     */import"axios";import"sonner";import"react-dom/client";import"react";import"clsx";import"tailwind-merge";import"./app-sidebar-header-BX2s-HO_.js";import"@radix-ui/react-collapsible";import"./dropdown-menu-BP80qPHw.js";import"@radix-ui/react-dropdown-menu";import"./app-logo-icon-beRg1XGs.js";import"./fonts-CqawFh47.js";import"@radix-ui/react-slot";import"class-variance-authority";import"./button-BvFBRYHq.js";import"@radix-ui/react-dialog";import"@radix-ui/react-tooltip";import"@radix-ui/react-avatar";import"./main-CWwoxgdq.js";import"./toaster-DuLpwsc2.js";import"./separator-BDLxzoJ8.js";import"@radix-ui/react-separator";function k({className:o="",...i}){const{appearance:p,updateAppearance:n}=d(),m=[{value:"light",icon:u,label:"Light"},{value:"dark",icon:g,label:"Dark"},{value:"system",icon:b,label:"System"}];return t("div",{className:a("inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800",o),...i,children:m.map(({value:r,icon:s,label:l})=>e("button",{onClick:()=>n(r),className:a("flex items-center rounded-md px-3.5 py-1.5 transition-colors",p===r?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"),children:[t(s,{className:"-ml-1 h-4 w-4"}),t("span",{className:"ml-1.5 text-sm",children:l})]},r))})}const A=[{title:"Appearance settings",href:"/dashboard/settings/appearance"}];function Y(){return e(h,{breadcrumbs:A,children:[t(c,{title:"Appearance settings"}),t(f,{children:e("div",{className:"space-y-6",children:[t(x,{title:"Appearance settings",description:"Update your account's appearance settings"}),t(k,{})]})})]})}export{Y as default};
