"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p={spacing:{unit:4},typography:{fontFamily:'"Martian Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontFamilyContent:'"Lora", "Palatino Linotype", "Book Antiqua", Georgia, serif',fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem","4xl":"2.5rem"},fontWeight:{normal:400,medium:500,semibold:600,bold:700},lineHeight:{tight:1.25,normal:1.5,relaxed:1.75}},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",none:"none"},border:{base:"2px"},borderRadius:{none:"0",round:"50%",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem",full:"9999px"},transitions:{duration:{fast:"150ms",base:"200ms",slow:"300ms",verySlow:"500ms"},easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",easeOut:"cubic-bezier(0, 0, 0.2, 1)"}},zIndex:{dropdown:1e3,sticky:1020,fixed:1030,modalBackdrop:1040,modal:1050,popover:1060,tooltip:1070}},f={...p,palette:{primary:{main:"#c05a30",hover:"#d97040",active:"#a04420",contrastText:"#ffffff"},secondary:{main:"#5a5e78",hover:"#7074a0",active:"#44485e",contrastText:"#ffffff"},error:{main:"#c0392b",hover:"#e05040",active:"#a02820",contrastText:"#ffffff"},warning:{main:"#c07820",hover:"#d49030",active:"#a06010",contrastText:"#ffffff"},success:{main:"#3a8a5c",hover:"#4da870",active:"#2c6e48",contrastText:"#ffffff"},text:{primary:"#18182a",secondary:"#5a5e78",disabled:"#9098b0"},background:{default:"#f8f6f2",accent:"#f0ece4",paper:"#ffffff"},border:{default:"#dddae8",subtle:"#eeebf4",strong:"#c8c4d8"}}},i={...p,palette:{primary:{main:"#e8855a",hover:"#f5a07a",active:"#c96b40",contrastText:"#0f1015"},secondary:{main:"#8890a8",hover:"#a0a8c0",active:"#707888",contrastText:"#0f1015"},error:{main:"#f06858",hover:"#f88878",active:"#d84838",contrastText:"#0f1015"},warning:{main:"#f0a830",hover:"#f8c050",active:"#d08820",contrastText:"#0f1015"},success:{main:"#5ab888",hover:"#78d0a0",active:"#409868",contrastText:"#0f1015"},text:{primary:"#e8e4dc",secondary:"#8890a8",disabled:"#4a5068"},background:{default:"#0f1015",accent:"#1f2230",paper:"#17191f"},border:{default:"#2c3048",subtle:"#1e2238",strong:"#404868"}}};function u(e){return e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function x(e){return`--${e.join("-")}`}function l(e,t,r){if(e!=null){if(typeof e=="string"||typeof e=="number"||typeof e=="boolean"){const a=x(t);r[a]=String(e);return}if(Array.isArray(e)){e.forEach((a,n)=>{l(a,[...t,String(n)],r)});return}typeof e=="object"&&Object.entries(e).forEach(([a,n])=>{const o=u(a);l(n,[...t,o],r)})}}function s(e){const t={};return l(e,[],t),t}function m(e,t){if(t==null)return e;if(typeof t!="object"||Array.isArray(t)||typeof e!="object"||Array.isArray(e))return t;const r={...e};return Object.keys(t).forEach(a=>{const n=t[a],o=e[a];n!=null&&typeof n=="object"&&!Array.isArray(n)&&typeof o=="object"&&!Array.isArray(o)&&o!==null?r[a]=m(o,n):r[a]=n}),r}function d(e,t){return m(e,t)}function c(e){return Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}function b(e){const t=c(s(f)),r=c(s(i));if(e==="light"||e==="dark")return`[data-theme="light"]{${t}}[data-theme="dark"]{${r}}`;const a=e?e&&typeof e=="object"&&"palette"in e&&e.palette&&"primary"in e.palette?e:d(i,e):i,o=(a===f?"light":a===i?"dark":"custom")==="custom"?`[data-theme="custom"]{${c(s(a))}}`:"";return`[data-theme="light"]{${t}}[data-theme="dark"]{${r}}${o}`}exports.baseTheme=p;exports.darkTheme=i;exports.getCriticalThemeCss=b;exports.lightTheme=f;exports.mergeTheme=d;exports.themeToCssVars=s;
//# sourceMappingURL=server.cjs.js.map
