PageSourceSearch

https://www.theadvocates.org/build/assets/Appearance-DDCxK0mA.js

js theadvocates.org collected 2026-10-01 11:32:36 UTC 3,362 bytes, 16 lines download raw bytes

1import{h as k}from"./index.esm-C90O2v1V.js";import{u as y}from"./useAppearance-C4QKplwY.js";import{c as s}from"./createLucideIcon-mDMhvRr8.js";import{defineComponent as m,createElementBlock as i,openBlock as t,Fragment as f,renderList as x,createElementVNode as n,createBlock as d,resolveDynamicComponent as b,toDisplayString as g,normalizeClass as v,unref as o,withCtx as l,createVNode as e}from"./vue-vendor-Dr0siaL3.js";import{_ as M,a as I,b as w}from"./Layout.vue_vue_type_script_setup_true_lang-BH5edr9I.js";import{b as A}from"./index-Avk7N8lI.js";import"./utils-Cex1bChS.js";import"./bundle-mjs-BJeS7sC5.js";import"./index-DTY0FOZV.js";import"./index-DieaR8RP.js";import"./TooltipTrigger.vue_vue_type_script_setup_true_lang-yHeSsdBI.js";import"./VisuallyHidden-DXstytXK.js";import"./Primitive-Hz6J-SMw.js";import"./index-RXipnC69.js";import"./index-CMWG4mbA.js";import"./index-DGN6WynO.js";import"./x-CrMKFBu2.js";import"./Button.vue_vue_type_script_setup_true_lang-D9nXTDxn.js";/**
2 * @license lucide-vue-next v0.468.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const C=s("MonitorIcon",[["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"}]]);/**
7 * @license lucide-vue-next v0.468.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const $=s("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
12 * @license lucide-vue-next v0.468.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const B=s("SunIcon",[["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"}]]),S={class:"inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800"},z=["onClick"],D={class:"ml-1.5 text-sm"},L=m({__name:"AppearanceTabs",setup(u){const{appearance:a,updateAppearance:c}=y(),p=[{value:"light",Icon:B,label:"Light"},{value:"dark",Icon:$,label:"Dark"},{value:"system",Icon:C,label:"System"}];return(V,j)=>(t(),i("div",S,[(t(),i(f,null,x(p,({value:r,Icon:h,label:_})=>n("button",{key:r,onClick:q=>o(c)(r),class:v(["flex items-center rounded-md px-3.5 py-1.5 transition-colors",o(a)===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"])},[(t(),d(b(h),{class:"-ml-1 h-4 w-4"})),n("span",D,g(_),1)],10,z)),64))]))}}),N={class:"space-y-6"},ae=m({__name:"Appearance",setup(u){const a=[{title:"Appearance settings",href:A().url}];return(c,p)=>(t(),d(w,{breadcrumbs:a},{default:l(()=>[e(o(k),{title:"Appearance settings"}),e(M,null,{default:l(()=>[n("div",N,[e(I,{title:"Appearance settings",description:"Update your account's appearance settings"}),e(L)])]),_:1})]),_:1}))}});export{ae as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.