import {define,union,type,literal,string,object,number,enums,optional,array,size,boolean}from'superstruct';import k from'color-string';var F=Object.defineProperty;var x=(r,d)=>F(r,"name",{value:d,configurable:true});function T(r){if(typeof r!="string")return  false;try{return !!k.get(r)}catch{return  false}}x(T,"isColor");var w=define("ColorStringStruct",r=>typeof r=="string"&&T(r)),c=union([type({type:literal("value"),colorValue:w}),type({type:literal("design-token"),tokenName:string()})]);type({type:literal("design-token"),tokenName:string()});var I=["h1","h2","h3","h4","h5","h6"],u=object({unit:enums(["rem","px"]),value:number()}),h=union([string(),number()]),V=(y=>(y.woff2="woff2",y.woff="woff",y))(V||{}),v=enums(["woff2","woff"]),N=type({format:v,type:literal("url"),path:string()}),J=type({family:optional(string()),weight:optional(union([h,size(array(h),2)])),src:optional(array(N)),style:optional(string()),display:optional(enums(["auto","block","swap","fallback","optional"])),variationSettings:optional(string()),unicodeRange:optional(string())}),H=(l=>(l.inherit="As typed",l.capitalize="Capitalize",l.lowercase="Lowercase",l.uppercase="Uppercase",l))(H||{}),P=(n=>(n["ultra-condensed"]="Ultra-condensed",n["extra-condensed"]="Extra-condensed",n.condensed="Condensed",n["semi-condensed"]="Semi-condensed",n.normal="Normal",n["semi-expanded"]="Semi-expanded",n.expanded="Expanded",n["extra-expanded"]="Extra-expanded",n["ultra-expanded"]="Ultra-expanded",n))(P||{}),K=type({fontWeight:optional(union([string(),number()])),textColor:optional(c),hoverColor:optional(c),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"]))}),U=type({min:u,max:optional(u)}),O=type({fontSize:optional(U),lineHeight:optional(union([string(),number()])),fontWeight:optional(union([string(),number()])),letterSpacing:optional(string()),fontFamily:optional(string()),textColor:optional(c),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"]))}),o={},S={},Q={pageTitle:o,pageDescription:o,headingLarge:o,headingMedium:o,headingSmall:o,bodyText:o,link:S},Y={pageTitle:o,pageDescription:o,headingXLarge:o,headingLarge:o,headingMedium:o,headingSmall:o,headingXSmall:o,bodyText:o,link:S};export{J as FontFaceConfigStruct,v as FontFaceFormatsEnumStruct,V as FontFaceSourceFormats,N as FontFaceSourceStruct,h as FontFaceWeightStruct,U as FontSizeConfigStruct,u as FontSizeConfigValStruct,P as FontStretches,I as HeadingLevels,H as TextTransforms,O as TypographyConfigStruct,K as TypographyLinkConfigStruct,Q as pageElements,Y as pageElementsV2};//# sourceMappingURL=typography-config.mjs.map
//# sourceMappingURL=typography-config.mjs.map