import {define,union,type,literal,string,object,number,enums,optional,array,size,boolean,defaulted}from'superstruct';import w from'color-string';var P=Object.defineProperty;var N=(g,F)=>P(g,"name",{value:F,configurable:true});function _(g){if(typeof g!="string")return  false;try{return !!w.get(g)}catch{return  false}}N(_,"isColor");var f=define("ColorStringStruct",g=>typeof g=="string"&&_(g)),t=union([type({type:literal("value"),colorValue:f}),type({type:literal("design-token"),tokenName:string()})]);type({type:literal("design-token"),tokenName:string()});var D=object({unit:enums(["rem","px"]),value:number()}),L=union([string(),number()]);var O=enums(["woff2","woff"]),H=type({format:O,type:literal("url"),path:string()}),C=type({family:optional(string()),weight:optional(union([L,size(array(L),2)])),src:optional(array(H)),style:optional(string()),display:optional(enums(["auto","block","swap","fallback","optional"])),variationSettings:optional(string()),unicodeRange:optional(string())});var c=type({fontWeight:optional(union([string(),number()])),textColor:optional(t),hoverColor:optional(t),underline:optional(boolean()),textTransform:optional(enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:optional(enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),X=type({min:D,max:optional(D)}),o=type({fontSize:optional(X),lineHeight:optional(union([string(),number()])),fontWeight:optional(union([string(),number()])),letterSpacing:optional(string()),fontFamily:optional(string()),textColor:optional(t),textTransform:optional(enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:optional(enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))});var l=union([o,type({accentColor:optional(t)})]),u=union([l,type({hoverColor:optional(t),backgroundColor:optional(t)})]),x=union([l,type({backgroundColor:optional(t)})]);var se=object({version:literal(1),oldSillySidebarBgColor:f}),le=object({version:literal(2),anotherSillySidebarBgColor:f}),Ce=object({version:literal(3),sidebarBgColor:f}),ce=object({version:literal(4),primaryColor:t,darkColor:t,lightColor:t,enableSidebarIcons:optional(defaulted(boolean(),true))}),fe=object({version:literal(5),primaryColor:t,darkColor:t,lightColor:t,linkColor:t,enableSidebarIcons:optional(defaulted(boolean(),true))}),me=object({version:literal(6),primaryColor:t,darkColor:t,lightColor:t,linkColor:t,enableSidebarIcons:optional(defaulted(boolean(),true)),appearance:type({customFonts:optional(array(C)),pageElements:type({pageTitle:optional(o),pageDescription:optional(o),headingLarge:optional(o),headingMedium:optional(o),headingSmall:optional(o),bodyText:optional(o),link:optional(c)})})}),ye=object({version:literal(7),primaryColor:t,darkColor:t,lightColor:t,linkColor:t,enableSidebarIcons:optional(defaulted(boolean(),true)),appearance:type({customFonts:optional(array(C)),navigation:optional(type({primaryNav:optional(u),secondaryNav:optional(x),tabs:optional(l)})),pageElements:type({pageTitle:optional(o),pageDescription:optional(o),headingLarge:optional(o),headingMedium:optional(o),headingSmall:optional(o),bodyText:optional(o),link:optional(c)})})}),de=object({version:literal(8),primaryColor:t,darkColor:t,lightColor:t,linkColor:t,appearance:type({customFonts:optional(array(C)),navigation:optional(type({primaryNav:optional(u),secondaryNav:optional(x),tabs:optional(l)})),pageElements:type({pageTitle:optional(o),pageDescription:optional(o),headingLarge:optional(o),headingMedium:optional(o),headingSmall:optional(o),bodyText:optional(o),link:optional(c)})})}),ue=object({version:literal(9),appearance:type({customFonts:optional(array(C)),navigation:optional(type({primaryNav:optional(u),secondaryNav:optional(x),tabs:optional(l)})),pageElements:type({pageTitle:optional(o),pageDescription:optional(o),headingLarge:optional(o),headingMedium:optional(o),headingSmall:optional(o),bodyText:optional(o),link:optional(c)})})}),j=object({version:literal(10),appearance:type({customFonts:optional(array(C)),navigation:optional(type({primaryNav:optional(u),secondaryNav:optional(x),tabs:optional(l)})),pageElements:type({pageTitle:optional(o),pageDescription:optional(o),headingXLarge:optional(o),headingLarge:optional(o),headingMedium:optional(o),headingSmall:optional(o),headingXSmall:optional(o),bodyText:optional(o),link:optional(c)})})}),xe=j;export{xe as UiConfigStruct,j as UiConfigV10Struct,se as UiConfigV1Struct,le as UiConfigV2Struct,Ce as UiConfigV3Struct,ce as UiConfigV4Struct,fe as UiConfigV5Struct,me as UiConfigV6Struct,ye as UiConfigV7Struct,de as UiConfigV8Struct,ue as UiConfigV9Struct};//# sourceMappingURL=ui-config.mjs.map
//# sourceMappingURL=ui-config.mjs.map