import"./chunk-QTnfLwEv.js";import{i as e,n as t}from"./index-7yDgay5u.js";import{t as n}from"./initializeTheme-CWLBIjiT.js";import{o as r,t as i}from"./jsx-runtime-DHSfUA5-.js";import{N as a}from"./test.id-DxQrYxPk.js";import{t as o}from"./usePreference-3fMY0uE5.js";import{t as s}from"./HeaderPage-CPQpvQQw.js";import{t as c}from"./CellList-UkuVgkhN.js";r();var l=i(),u=[{label:t(`settings.followSystem`,`Follow system`),value:`auto`,testId:a.auto},{label:t(`theme.light`,`Light`),value:`light`,testId:a.option},{label:t(`theme.dark`,`Dark`),value:`dark`,testId:a.dark}];function d(){let[r,i]=o(e,{onSave:n});return(0,l.jsx)(s,{pageTestId:a.page,contentTestId:a.content,header:{title:t(`settings.theme`,`Theme`),showBack:!0},children:(0,l.jsx)(c,{items:u.map(e=>({type:`option`,key:e.value,label:e.label,selected:r===e.value,testId:e.testId,onClick:()=>void i(e.value)}))})})}export{d as SettingsThemePage};
//# sourceMappingURL=theme-CdZzHtOL.js.map