{"version":3,"sources":["webpack:///./src/pages/installing-spark/installing-fonts.mdx","webpack:///./src/components/layouts/InstallingSparkLayout.js"],"names":["_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","props","mdxType","parentName","isMDXComponent","InstallingSparkLayout","children","location","initialContext"],"mappings":"0RAOO,IAAMA,EAAe,GAOtBC,EAAc,CAClBD,gBAEIE,EAAYC,IACH,SAASC,EAAT,GAGZ,IAFDC,EAEC,EAFDA,WACGC,E,oIACF,mBACD,OAAO,YAACJ,EAAD,iBAAeD,EAAiBK,EAAhC,CAAuCD,WAAYA,EAAYE,QAAQ,cAI5E,0DACA,uPAIA,oDACA,oKAGA,qBAAG,sBAAQC,WAAW,KAAnB,SAAH,0DACA,yBACE,qBAAOA,WAAW,SAChB,kBAAIA,WAAW,SACb,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,iBAGA,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,QAGA,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,iBAKJ,qBAAOA,WAAW,SAChB,kBAAIA,WAAW,SACb,gCAAIA,WAAW,MAAS,CACtB,MAAS,OACR,0BAAYA,WAAW,MAAvB,yBACH,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,WAGA,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,gDAEoD,sBAAQA,WAAW,MAAnB,SAFpD,gCAE+H,0BAAYA,WAAW,MAAvB,SAF/H,OAEyL,0BAAYA,WAAW,MAAvB,QAFzL,4BAIF,kBAAIA,WAAW,SACb,gCAAIA,WAAW,MAAS,CACtB,MAAS,OACR,0BAAYA,WAAW,MAAvB,uBACH,gCAAIA,WAAW,MAAS,CACtB,MAAS,OACR,sBAAQA,WAAW,MAAnB,cAFH,WAGA,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,+DAEmE,sBAAQA,WAAW,MAAnB,SAFnE,qBAEmI,0BAAYA,WAAW,MAAvB,QAFnI,8GAEmS,0BAAYA,WAAW,MAAvB,QAFnS,8BAEmX,0BAAYA,WAAW,MAAvB,gBAFnX,kCAE+c,+BAAGA,WAAW,MAAS,CACle,KAAQ,6EADmc,QAF/c,MAMF,kBAAIA,WAAW,SACb,gCAAIA,WAAW,MAAS,CACtB,MAAS,OACR,0BAAYA,WAAW,MAAvB,mBACH,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,aAGA,gCAAIA,WAAW,MAAS,CACtB,MAAS,OADX,iEAEqE,sBAAQA,WAAW,MAAnB,SAFrE,uHAMN,qCAAoB,0BAAYA,WAAW,KAAvB,kBAApB,8CACA,uBAAK,kCAAMA,WAAW,OAAU,CAC5B,UAAa,wBADZ,+uBAiCL,6CACA,wGACA,sBACE,kBAAIA,WAAW,MAAK,+BAAGA,WAAW,MAAS,CACvC,KAAQ,uFADQ,SAGpB,kBAAIA,WAAW,MAAK,+BAAGA,WAAW,MAAS,CACvC,KAAQ,2FADQ,YAGpB,kBAAIA,WAAW,MAAK,+BAAGA,WAAW,MAAS,CACvC,KAAQ,yFADQ,WAItB,gGACF,+BAAGA,WAAW,KAAQ,CAChB,KAAQ,gCADd,aADE,KAIA,yCACA,sBACE,kBAAIA,WAAW,MAAf,+CAAoE,sBAAQA,WAAW,MAAnB,cAApE,8BAAkJ,sBAAQA,WAAW,MAAnB,UAAlJ,KACA,kBAAIA,WAAW,MAAf,gHAMNJ,EAAWK,gBAAiB,E,uGCpJ5B,qCAGA,SAASC,EAAT,GAAwD,IAAvBC,EAAsB,EAAtBA,SAAUC,EAAY,EAAZA,SACzC,OACE,kBAAC,IAAD,CAAQC,eAAgB,mBAAoBD,SAAUA,GAAWD,G,+EAItDD","file":"component---src-pages-installing-spark-installing-fonts-mdx-6fddc6985826afe4b26d.js","sourcesContent":["import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsx mdx */\n\nimport DefaultLayout from \"/opt/build/repo/src/components/layouts/InstallingSparkLayout.js\";\nimport { SprkTable } from \"@sparkdesignsystem/spark-react\";\nexport const _frontmatter = {};\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n return
;\n};\n\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return{`As part of Spark, our design system includes functionality\nfor applying web fonts. It allows you to configure your font\nsetup using Sass variables which will be included in the\nSpark CSS bundle when you build your site.`}
\n{`There are unique Sass variables that allow you to\nconfigure Spark fonts for your build. Refer to the\ndescriptions to learn what they are.`}
\n{`Note:`}{` They must be set in your Sass before importing Spark.`}
\n{`Sass Variable`} | \n{`Type`} | \n{`Description`} | \n
---|---|---|
{`boolean`} | \n{`Informs Spark that webfonts will be applied. `}{`Note:`}{` Change default setting from `} | \n |
{`(Optional)`}{` string`} | \n{`Controls behavior of the text while fonts are being loaded. `}{`Note:`}{` Default value is `} | \n |
{`Sass List`} | \n{`Expects a Sass List containing one or more nested Sass Lists. `}{`Note:`}{` The nested lists should contain the font’s URL, name and weight. It does require a series of font declarations.`} | \n
{`A full valid `}
{`$sprk-using-webfonts: true;\n$sprk-webfonts:\n(\n (\n url('https://www.example.com/MyFont-Bold.woff2') format('woff2'),\n url('https://www.example.com/MyFont-Bold.woff') format('woff')\n ),\n MyFont, 700\n),\n(\n (\n url('https://www.example.com/MyFont-Medium.woff2') format('woff2'),\n url('https://www.example.com/MyFont-Medium.woff') format('woff')\n ),\n MyFont, 500\n),\n(\n (\n url('https://www.example.com/MyFont-Regular.woff2') format('woff2'),\n url('https://www.example.com/MyFont-Regular.woff') format('woff')\n ),\n MyFont, 400\n),\n(\n (\n url('https://www.example.com/MyFont-Light.woff2') format('woff2'),\n url('https://www.example.com/MyFont-Light.woff') format('woff')\n ),\n MyFont, 300\n);\n`}
\n {`Check out these completed font setup examples supported by Spark to learn more:`}
\n{`Internal users can access a directory of our CDN resources by clicking\n`}{`this link`}{`.`}
\n