'use strict';var superstruct=require('superstruct'),k=require('color-string');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var k__default=/*#__PURE__*/_interopDefault(k);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__default.default.get(r)}catch{return  false}}x(T,"isColor");var w=superstruct.define("ColorStringStruct",r=>typeof r=="string"&&T(r)),c=superstruct.union([superstruct.type({type:superstruct.literal("value"),colorValue:w}),superstruct.type({type:superstruct.literal("design-token"),tokenName:superstruct.string()})]);superstruct.type({type:superstruct.literal("design-token"),tokenName:superstruct.string()});var I=["h1","h2","h3","h4","h5","h6"],u=superstruct.object({unit:superstruct.enums(["rem","px"]),value:superstruct.number()}),h=superstruct.union([superstruct.string(),superstruct.number()]),V=(y=>(y.woff2="woff2",y.woff="woff",y))(V||{}),v=superstruct.enums(["woff2","woff"]),N=superstruct.type({format:v,type:superstruct.literal("url"),path:superstruct.string()}),J=superstruct.type({family:superstruct.optional(superstruct.string()),weight:superstruct.optional(superstruct.union([h,superstruct.size(superstruct.array(h),2)])),src:superstruct.optional(superstruct.array(N)),style:superstruct.optional(superstruct.string()),display:superstruct.optional(superstruct.enums(["auto","block","swap","fallback","optional"])),variationSettings:superstruct.optional(superstruct.string()),unicodeRange:superstruct.optional(superstruct.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=superstruct.type({fontWeight:superstruct.optional(superstruct.union([superstruct.string(),superstruct.number()])),textColor:superstruct.optional(c),hoverColor:superstruct.optional(c),underline:superstruct.optional(superstruct.boolean()),textTransform:superstruct.optional(superstruct.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:superstruct.optional(superstruct.enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),U=superstruct.type({min:u,max:superstruct.optional(u)}),O=superstruct.type({fontSize:superstruct.optional(U),lineHeight:superstruct.optional(superstruct.union([superstruct.string(),superstruct.number()])),fontWeight:superstruct.optional(superstruct.union([superstruct.string(),superstruct.number()])),letterSpacing:superstruct.optional(superstruct.string()),fontFamily:superstruct.optional(superstruct.string()),textColor:superstruct.optional(c),textTransform:superstruct.optional(superstruct.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:superstruct.optional(superstruct.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};exports.FontFaceConfigStruct=J;exports.FontFaceFormatsEnumStruct=v;exports.FontFaceSourceFormats=V;exports.FontFaceSourceStruct=N;exports.FontFaceWeightStruct=h;exports.FontSizeConfigStruct=U;exports.FontSizeConfigValStruct=u;exports.FontStretches=P;exports.HeadingLevels=I;exports.TextTransforms=H;exports.TypographyConfigStruct=O;exports.TypographyLinkConfigStruct=K;exports.pageElements=Q;exports.pageElementsV2=Y;//# sourceMappingURL=typography-config.js.map
//# sourceMappingURL=typography-config.js.map