1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{pfKO:function(e,t,a){"use strict";a.r(t),a.d(t,"_frontmatter",(function(){return b})),a.d(t,"default",(function(){return q}));a("mXGw");var n=a("/FXl"),b={},r=function(e){return function(t){return console.warn("Component "+e+" was not imported, exported, or provided by MDXProvider as global scope"),Object(n.b)("div",t)}},l=r("Container"),c=r("Box"),s=r("Divider"),i=r("Flex"),o=r("Label"),p=r("Grid"),m=r("Button"),j=r("Text"),d=r("Heading"),O=r("Link"),h=r("Image"),g=r("Card"),u=r("Input"),x=r("Checkbox"),y=r("Radio"),N=r("Select"),T=r("Textarea"),v=r("Slider"),w=r("Field"),k=r("Progress"),f=r("Donut"),B=r("Spinner"),L=r("Avatar"),C=r("Badge"),H=r("Close"),D=r("Alert"),M=r("Embed"),I=r("AspectRatio"),A=r("AspectImage"),S=r("NavLink"),F=r("Message"),R=r("IconButton"),_=r("MenuButton"),E={_frontmatter:b};function q(e){var t=e.components,a=function(e,t){if(null==e)return{};var a,n,b={},r=Object.keys(e);for(n=0;n<r.length;n++)a=r[n],t.indexOf(a)>=0||(b[a]=e[a]);return b}(e,["components"]);return Object(n.b)("wrapper",Object.assign({},E,a,{components:t,mdxType:"MDXLayout"}),Object(n.b)(l,{mdxType:"Container"},Object(n.b)(c,{sx:{pt:4},mdxType:"Box"},Object(n.b)("h1",null,"Apple Store Style Guide"),Object(n.b)(s,{variant:"styles.spacer.lg",mdxType:"Divider"}),Object(n.b)("h4",null,"Here you'll find all styles for all Theme UI components and Markdown spec"),Object(n.b)("hr",null),Object(n.b)("h2",null,"Markdown"),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet"}),"Markdown-Cheatsheet")),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#headings"}),"Headings")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"# h1\n\n## h2\n\n### h3\n\n#### h4\n\n##### h5\n\n###### h6\n")),Object(n.b)("h1",null,"h1"),Object(n.b)("h2",null,"h2"),Object(n.b)("h3",null,"h3"),Object(n.b)("h4",null,"h4"),Object(n.b)("h5",null,"h5"),Object(n.b)("h6",null,"h6"),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#emphasis"}),"Emphasis")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Emphasis, aka italics, with _asterisks_ or _underscores_.\n\nStrong emphasis, aka bold, with **asterisks** or **underscores**.\n\nCombined emphasis with **asterisks and _underscores_**.\n\nStrikethrough uses two tildes. ~~Scratch this.~~\n")),Object(n.b)("p",null,"Emphasis, aka italics, with ",Object(n.b)("em",{parentName:"p"},"asterisks")," or ",Object(n.b)("em",{parentName:"p"},"underscores"),"."),Object(n.b)("p",null,"Strong emphasis, aka bold, with ",Object(n.b)("strong",{parentName:"p"},"asterisks")," or ",Object(n.b)("strong",{parentName:"p"},"underscores"),"."),Object(n.b)("p",null,"Combined emphasis with ",Object(n.b)("strong",{parentName:"p"},"asterisks and ",Object(n.b)("em",{parentName:"strong"},"underscores")),"."),Object(n.b)("p",null,"Strikethrough uses two tildes. ",Object(n.b)("del",{parentName:"p"},"Scratch this.")),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#lists"}),"Lists")),Object(n.b)("p",null,"(In this example, leading and trailing spaces are shown with with dots: â
)"),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"1. First ordered list item\n2. Another item\n3. Actual numbers don't matter, just that it's a number\n4. And another item.\n\n- Unordered list can use asterisks\n\n* Or minuses\n\n- Or pluses\n")),Object(n.b)("ol",null,Object(n.b)("li",{parentName:"ol"},"First ordered list item"),Object(n.b)("li",{parentName:"ol"},"Another item"),Object(n.b)("li",{parentName:"ol"},"Actual numbers don't matter, just that it's a number"),Object(n.b)("li",{parentName:"ol"},"And another item.")),Object(n.b)("ul",null,Object(n.b)("li",{parentName:"ul"},"Unordered list can use asterisks")),Object(n.b)("ul",null,Object(n.b)("li",{parentName:"ul"},"Or minuses")),Object(n.b)("ul",null,Object(n.b)("li",{parentName:"ul"},"Or pluses")),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#links"}),"Links")),Object(n.b)("p",null,"There are two ways to create links."),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"[I'm an inline-style link](https://www.google.com)\n\n[I'm an inline-style link with title](https://www.google.com \"Google's Homepage\")\n\n[I'm a reference-style link][arbitrary case-insensitive reference text]\n\n[I'm a relative reference to a repository file](../blob/master/LICENSE)\n\n[You can use numbers for reference-style link definitions][1]\n\nOr leave it empty and use the [link text itself].\n\nURLs and URLs in angle brackets will automatically get turned into links.\nhttp://www.example.com or <http://www.example.com> and sometimes\nexample.com (but not on Github, for example).\n\nSome text to show that the reference links can follow later.\n\n[arbitrary case-insensitive reference text]: https://www.mozilla.org\n[1]: http://slashdot.org\n[link text itself]: http://www.reddit.com\n")),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"https://www.google.com"}),"I'm an inline-style link")),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"https://www.google.com",title:"Google's Homepage"}),"I'm an inline-style link with title")),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"https://www.mozilla.org"}),"I'm a reference-style link")),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"../blob/master/LICENSE"}),"I'm a relative reference to a repository file")),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"http://slashdot.org"}),"You can use numbers for reference-style link definitions")),Object(n.b)("p",null,"Or leave it empty and use the ",Object(n.b)("a",Object.assign({parentName:"p"},{href:"http://www.reddit.com"}),"link text itself"),"."),Object(n.b)("p",null,"URLs and URLs in angle brackets will automatically get turned into links.\n",Object(n.b)("a",Object.assign({parentName:"p"},{href:"http://www.example.com"}),"http://www.example.com")," or ",Object(n.b)("a",Object.assign({parentName:"p"},{href:"http://www.example.com"}),"http://www.example.com")," and sometimes\nexample.com (but not on Github, for example)."),Object(n.b)("p",null,"Some text to show that the reference links can follow later."),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#images"}),"Images")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Here's a kitten (hover to see the title text):\n\nInline-style:\n\n\nReference-style:\n![alt text][logo]\n\n[logo]: https://placedog.net/50/50 'Purr'\n")),Object(n.b)("p",null,"Here's our logo (hover to see the title text):"),Object(n.b)("p",null,"Inline-style:\n",Object(n.b)("img",Object.assign({parentName:"p"},{src:"https://placedog.net/50/50",alt:"alt text",title:"Meow"}))),Object(n.b)("p",null,"Reference-style:\n",Object(n.b)("img",Object.assign({parentName:"p"},{src:"https://placedog.net/50/50",alt:"alt text",title:"Purr"}))),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#code-highlighting"}),"Code Highlighting")),Object(n.b)("p",null,"Code blocks are part of the Markdown spec, but syntax highlighting isn't."),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Inline `code` has `back-ticks` around it.\n")),Object(n.b)("p",null,"Inline ",Object(n.b)("inlineCode",{parentName:"p"},"code")," has ",Object(n.b)("inlineCode",{parentName:"p"},"back-ticks")," around it."),Object(n.b)("p",null,"Blocks of code are either fenced by lines with three back-ticks ```, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting, but you must provide a language or none"),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),'```javascript\nvar s = \'JavaScript syntax highlighting\'\nalert(s)\n```\n\n```python\ns = "Python syntax highlighting"\nprint s\n```\n\n```html\n<div>HTML syntax highlighting</div>\n```\n\n```none\nvar s = "JavaScript syntax highlighting"\nalert(s)\n```\n')),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"var s = 'JavaScript syntax highlighting'\nalert(s)\n")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-python"}),'s = "Python syntax highlighting"\nprint s\n')),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-html"}),"<div>HTML syntax highlighting</div>\n")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-none"}),'var s = "JavaScript syntax highlighting"\nalert(s)\n')),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#tables"}),"Tables")),Object(n.b)("p",null,"Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application."),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Colons can be used to align columns.\n\n| Tables | Are | Cool |\n| ------------- | :-----------: | -----: |\n| col 3 is | right-aligned | \\$1600 |\n| col 2 is | centered | \\$12 |\n| zebra stripes | are neat | \\$1 |\n\nThere must be at least 3 dashes separating each header cell.\nThe outer pipes (|) are optional, and you don't need to make the\nraw Markdown line up prettily. You can also use inline Markdown.\n\n| Markdown | Less | Pretty |\n| -------- | --------- | ---------- |\n| _Still_ | `renders` | **nicely** |\n| 1 | 2 | 3 |\n")),Object(n.b)("p",null,"Colons can be used to align columns."),Object(n.b)("table",null,Object(n.b)("thead",{parentName:"table"},Object(n.b)("tr",{parentName:"thead"},Object(n.b)("th",Object.assign({parentName:"tr"},{align:null}),"Tables"),Object(n.b)("th",Object.assign({parentName:"tr"},{align:"center"}),"Are"),Object(n.b)("th",Object.assign({parentName:"tr"},{align:"right"}),"Cool"))),Object(n.b)("tbody",{parentName:"table"},Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"col 3 is"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"center"}),"right-aligned"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"right"}),"\\$1600")),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"col 2 is"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"center"}),"centered"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"right"}),"\\$12")),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"zebra stripes"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"center"}),"are neat"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:"right"}),"\\$1")))),Object(n.b)("p",null,"There must be at least 3 dashes separating each header cell.\nThe outer pipes (|) are optional, and you don't need to make the\nraw Markdown line up prettily. You can also use inline Markdown."),Object(n.b)("table",null,Object(n.b)("thead",{parentName:"table"},Object(n.b)("tr",{parentName:"thead"},Object(n.b)("th",Object.assign({parentName:"tr"},{align:null}),"Markdown"),Object(n.b)("th",Object.assign({parentName:"tr"},{align:null}),"Less"),Object(n.b)("th",Object.assign({parentName:"tr"},{align:null}),"Pretty"))),Object(n.b)("tbody",{parentName:"table"},Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),Object(n.b)("em",{parentName:"td"},"Still")),Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),Object(n.b)("inlineCode",{parentName:"td"},"renders")),Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),Object(n.b)("strong",{parentName:"td"},"nicely"))),Object(n.b)("tr",{parentName:"tbody"},Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"1"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"2"),Object(n.b)("td",Object.assign({parentName:"tr"},{align:null}),"3")))),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#blockquotes"}),"Blockquotes")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"> Blockquotes are very handy in email to emulate reply text.\n> This line is part of the same quote.\n\nQuote break.\n\n> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote.\n")),Object(n.b)("blockquote",null,Object(n.b)("p",{parentName:"blockquote"},"Blockquotes are very handy in email to emulate reply text.\nThis line is part of the same quote.")),Object(n.b)("p",null,"Quote break."),Object(n.b)("blockquote",null,Object(n.b)("p",{parentName:"blockquote"},"This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can ",Object(n.b)("em",{parentName:"p"},"put")," ",Object(n.b)("strong",{parentName:"p"},"Markdown")," into a blockquote.")),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#horizontal-rule"}),"Horizontal Rule")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Three or more...\n\n---\n\nHyphens\n\n---\n\nAsterisks\n\n---\n\nUnderscores\n")),Object(n.b)("p",null,"Three or more..."),Object(n.b)("hr",null),Object(n.b)("p",null,"Hyphens"),Object(n.b)("hr",null),Object(n.b)("p",null,"Asterisks"),Object(n.b)("hr",null),Object(n.b)("p",null,"Underscores"),Object(n.b)("hr",null),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#line-breaks"}),"Line Breaks")),Object(n.b)("p",null,"My basic recommendation for learning how line breaks work is to experiment and discover -- hit ",Object(n.b)("inlineCode",{parentName:"p"},"<Enter>"),' once (i.e., insert one newline), then hit it twice (i.e., insert two new lines), see what happens. You\'ll soon learn to get what you want. "Mar
1kdown Toggle" is your friend.'),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-markdown"}),"Here's a line for us to start with.\n\nThis line is separated from the one above by two newlines, so it will be a _separate paragraph_.\n\nThis line is also a separate paragraph, but...\nThis line is only separated by a single newline, so it's a separate line in the _same paragraph_.\n")),Object(n.b)("hr",null),Object(n.b)("h2",null,"Components"),Object(n.b)("p",null,Object(n.b)("a",Object.assign({parentName:"p"},{href:"https://theme-ui.com/components"}),"theme-ui/components")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#colors"}),"Colors")),Object(n.b)(i,{sx:{flexWrap:"wrap"},mdxType:"Flex"},Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"text"),Object(n.b)(c,{sx:{backgroundColor:"text",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"primary"),Object(n.b)(c,{sx:{backgroundColor:"primary",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"secondary"),Object(n.b)(c,{sx:{backgroundColor:"secondary",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"muted"),Object(n.b)(c,{sx:{backgroundColor:"muted",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"highlight"),Object(n.b)(c,{sx:{backgroundColor:"highlight",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"grayLight"),Object(n.b)(c,{sx:{backgroundColor:"grayLight",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"grayMid"),Object(n.b)(c,{sx:{backgroundColor:"grayMid",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"grayDark"),Object(n.b)(c,{sx:{backgroundColor:"grayDark",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"accent"),Object(n.b)(c,{sx:{backgroundColor:"accent",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"darken"),Object(n.b)(c,{sx:{backgroundColor:"darken",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"primaryLight"),Object(n.b)(c,{sx:{backgroundColor:"primaryLight",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"primaryMid"),Object(n.b)(c,{sx:{backgroundColor:"primaryMid",p:3,mb:3,width:"100%"},mdxType:"Box"}),Object(n.b)(o,{sx:{color:"text"},mdxType:"Label"},"primaryDark"),Object(n.b)(c,{sx:{backgroundColor:"primaryDark",p:3,mb:3,width:"100%"},mdxType:"Box"})),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#box"}),"Box")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Box p={4} color="white" bg="primary">\n Beep\n</Box>\n')),Object(n.b)(c,{p:4,color:"white",bg:"primary",mdxType:"Box"},"Beep"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#flex"}),"Flex")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Flex>\n <Box p={2} bg="primary" color="white" sx={{ flex: \'1 1 auto\' }}>\n Flex\n </Box>\n <Box p={2} bg="highlight">\n Box\n </Box>\n</Flex>\n')),Object(n.b)(i,{mdxType:"Flex"},Object(n.b)(c,{p:2,bg:"primary",color:"white",sx:{flex:"1 1 auto"},mdxType:"Box"},"Flex"),Object(n.b)(c,{p:2,bg:"highlight",mdxType:"Box"},"Box")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#grid"}),"Grid")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Grid gap={2} columns={[2, \'1fr 2fr\']}>\n <Box p={2} bg="primary" color="white">\n Box\n </Box>\n <Box p={2} bg="highlight">\n Box\n </Box>\n</Grid>\n')),Object(n.b)(p,{gap:2,columns:[2,"1fr 2fr"],mdxType:"Grid"},Object(n.b)(c,{p:2,bg:"primary",color:"white",mdxType:"Box"},"Box"),Object(n.b)(c,{p:2,bg:"highlight",mdxType:"Box"},"Box")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#button"}),"Button")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Button mr={2}>primary</Button>\n<Button mr={2} variant='secondary'>secondary</Button>\n<Button mr={2} variant='accent'>secondary</Button>\n")),Object(n.b)(m,{mr:2,mdxType:"Button"},"primary"),Object(n.b)(m,{mr:2,variant:"secondary",mdxType:"Button"},"secondary"),Object(n.b)(m,{mr:2,variant:"accent",mdxType:"Button"},"accent"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#text"}),"Text")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Text>Hello</Text>\n<Text variant='styles.p'>Hello</Text>\n<Text variant='styles.small'>Hello</Text>\n")),Object(n.b)(j,{mdxType:"Text"},"Hello"),Object(n.b)(j,{variant:"styles.p",mdxType:"Text"},"Hello"),Object(n.b)(j,{variant:"styles.small",mdxType:"Text"},"Hello"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#heading"}),"Heading")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Heading variant='styles.h1'>h1</Heading>\n<Heading variant='styles.h2'>h2</Heading>\n<Heading variant='styles.h3'>h3</Heading>\n<Heading variant='styles.h4'>h4</Heading>\n<Heading variant='styles.h5'>h5</Heading>\n<Heading variant='styles.h6'>h6</Heading>\n")),Object(n.b)(d,{variant:"styles.h1",mdxType:"Heading"},"h1"),Object(n.b)(d,{variant:"styles.h2",mdxType:"Heading"},"h2"),Object(n.b)(d,{variant:"styles.h3",mdxType:"Heading"},"h3"),Object(n.b)(d,{variant:"styles.h4",mdxType:"Heading"},"h4"),Object(n.b)(d,{variant:"styles.h5",mdxType:"Heading"},"h5"),Object(n.b)(d,{variant:"styles.h6",mdxType:"Heading"},"h6"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#link"}),"Link")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Link href="#!">Hello</Link>\n')),Object(n.b)(O,{href:"#!",mdxType:"Link"},"Hello"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#image"}),"Image")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Image src="https://placedog.net/400/400" />\n')),Object(n.b)(h,{src:"https://placedog.net/400/400",mdxType:"Image"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#card"}),"Card")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Card\n sx={{\n maxWidth: 400,\n }}\n>\n <Image src="https://placedog.net/800/600" />\n <Box p={3}>\n <Heading variant="styles.h4">Heading</Heading>\n <Text>Text</Text>\n </Box>\n</Card>\n')),Object(n.b)(g,{sx:{maxWidth:400},mdxType:"Card"},Object(n.b)(h,{src:"https://placedog.net/800/600",mdxType:"Image"}),Object(n.b)(c,{p:3,mdxType:"Box"},Object(n.b)(d,{variant:"styles.h4",mdxType:"Heading"},"Heading"),Object(n.b)(j,{mdxType:"Text"},"Text"))),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#forms"}),"Forms")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Box as="form">\n <Label htmlFor="input">Input</Label>\n <Input name="username" mb={3} />\n\n <Label mb={3}>\n <Checkbox />\n Checkbox\n </Label>\n\n <Label mb={3}>\n <Radio name="radio" /> Radio A\n </Label>\n <Label mb={3}>\n <Radio name="radio" /> Radio B\n </Label>\n\n <Label htmlFor="select">Select</Label>\n <Select name="select" mb={3}>\n <option>Beep</option>\n <option>Boop</option>\n <option>Blip</option>\n </Select>\n\n <Label htmlFor="textarea">Text Area</Label>\n <Textarea name="textarea" rows="6" mb={3} />\n</Box>\n')),Object(n.b)(c,{as:"form",mdxType:"Box"},Object(n.b)(o,{htmlFor:"input",mdxType:"Label"},"Input"),Object(n.b)(u,{name:"username",mb:3,mdxType:"Input"}),Object(n.b)(o,{mb:3,mdxType:"Label"},Object(n.b)(x,{mdxType:"Checkbox"}),"Checkbox"),Object(n.b)(o,{mb:3,mdxType:"Label"},Object(n.b)(y,{name:"radio",mdxType:"Radio"})," Radio A"),Object(n.b)(o,{mb:3,mdxType:"Label"},Object(n.b)(y,{name:"radio",mdxType:"Radio"})," Radio B"),Object(n.b)(o,{htmlFor:"select",mdxType:"Label"},"Select"),Object(n.b)(N,{name:"select",mb:3,mdxType:"Select"},Object(n.b)("option",null,"Beep"),Object(n.b)("option",null,"Boop"),Object(n.b)("option",null,"Blip")),Object(n.b)(o,{htmlFor:"textarea",mdxType:"Label"},"Text Area"),Object(n.b)(T,{name:"textarea",rows:"6",mb:3,mdxType:"Textarea"})),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#label"}),"Label")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Label htmlFor="input">Label</Label>\n')),Object(n.b)(o,{htmlFor:"input",mdxType:"Label"},"Label"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#input"}),"Input")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Input name="username" />\n')),Object(n.b)(u,{name:"username",mdxType:"Input"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#select"}),"Select")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Select defaultValue="Hello">\n <option>Hello</option>\n <option>Hi</option>\n <option>Beep</option>\n <option>Boop</option>\n</Select>\n')),Object(n.b)(N,{defaultValue:"Hello",mdxType:"Select"},Object(n.b)("option",null,"Hello"),Object(n.b)("option",null,"Hi"),Object(n.b)("option",null,"Beep"),Object(n.b)("option",null,"Boop")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#text-area"}),"Textarea")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Textarea defaultValue="Hello" rows={8} />\n')),Object(n.b)(T,{defaultValue:"Hello",rows:8,mdxType:"Textarea"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#radio"}),"Radio")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Label mb={1}>\n <Radio\n name='dark-mode'\n value='true'\n defaultChecked={true}\n />\n Dark Mode\n</Label>\n<Label mb={1}>\n <Radio\n name='dark-mode'\n value='false'\n />\n Light Mode\n</Label>\n")),Object(n.b)(o,{mb:1,mdxType:"Label"},Object(n.b)(y,{name:"dark-mode",value:"true",defaultChecked:!0,mdxType:"Radio"}),"Dark Mode"),Object(n.b)(o,{mb:1,mdxType:"Label"},Object(n.b)(y,{name:"dark-mode",value:"false",mdxType:"Radio"}),"Light Mode"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#checkbox"}),"Checkbox")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Label>\n <Checkbox />\n Checkbox\n</Label>\n")),Object(n.b)(o,{mdxType:"Label"},Object(n.b)(x,{mdxType:"Checkbox"}),"Checkbox"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#slider"}
1),"Slider")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Slider defaultValue={25} />\n")),Object(n.b)(v,{defaultValue:25,mdxType:"Slider"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#field"}),"Field")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Field label="Email" name="email" defaultValue="" />\n')),Object(n.b)(w,{label:"Email",name:"email",defaultValue:"",mdxType:"Field"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#progress"}),"Progress")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Progress max={1} value={1/2}> 50% </Progress>\n<Progress max={1} value={1/2} variant='styles.progress.secondary'> 50% </Progress>\n")),Object(n.b)(k,{max:1,value:.5,sx:{mb:4},mdxType:"Progress"},"50%"),Object(n.b)(k,{max:1,value:.5,variant:"styles.progress.secondary",sx:{mb:4},mdxType:"Progress"},"50%"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#donut"}),"Donut")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Donut value={1/2}/>\n<Donut value={1/2} variant='styles.donut.secondary'/>\n")),Object(n.b)(f,{value:.5,mdxType:"Donut"}),Object(n.b)(f,{value:.5,variant:"styles.donut.secondary",mdxType:"Donut"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#spinner"}),"Spinner")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Spinner />\n<Spinner variant='styles.spinner.secondary'/>\n")),Object(n.b)(B,{mdxType:"Spinner"}),Object(n.b)(B,{variant:"styles.spinner.secondary",mdxType:"Spinner"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#avatar"}),"Avatar")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Avatar src="https://placedog.net/50/50" />\n')),Object(n.b)(L,{src:"https://placedog.net/50/50",mdxType:"Avatar"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#badge"}),"Badge")),Object(n.b)("p",null,"Badges need a variant, the default can't be styled at the moment"),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Badge variant='primary' mb={2} mr={2}>\n Beep boop, this is an badge!\n</Badge>\n\n<Badge variant='secondary' mb={2} mr={2}>\n Beep boop, this is an badge!\n</Badge>\n\n")),Object(n.b)(C,{variant:"primary",mb:2,mr:2,mdxType:"Badge"},"Beep boop, this is an badge!"),Object(n.b)(C,{variant:"secondary",mb:2,mr:2,mdxType:"Badge"},"Beep boop, this is an badge!"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#close"}),"Close")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Close />\n")),Object(n.b)(H,{mdxType:"Close"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#alert"}),"Alert")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Alert variant='primary' mb={2}>\n Beep boop, this is an alert!\n</Alert>\n\n<Alert variant='secondary' mb={2}>\n Beep boop, this is an alert!\n</Alert>\n")),Object(n.b)(D,{variant:"primary",mb:2,mdxType:"Alert"},"Beep boop, this is an alert!"),Object(n.b)(D,{variant:"secondary",mb:2,mdxType:"Alert"},"Beep boop, this is an alert!"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#divider"}),"Divider")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Divider />\n")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#embed"}),"Embed")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Embed src="https://www.youtube.com/embed/GNCd_ERZvZM" />\n')),Object(n.b)(M,{src:"https://www.youtube.com/embed/GNCd_ERZvZM",mdxType:"Embed"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#aspect-ratio"}),"AspectRatio")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<AspectRatio ratio={16 / 9}>\n <Image\n src=\"https://placedog.net/1200/1200\"\n sx={{\n objectFit: 'cover',\n }}\n />\n</AspectRatio>\n")),Object(n.b)(I,{ratio:16/9,mdxType:"AspectRatio"},Object(n.b)(h,{src:"https://placedog.net/1200/1200",sx:{objectFit:"cover"},mdxType:"Image"})),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#aspect-image"}),"AspectImage")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<AspectImage ratio={4 / 3} src="https://placedog.net/1200/1200" />\n')),Object(n.b)(A,{ratio:4/3,src:"https://placedog.net/1200/1200",mdxType:"AspectImage"}),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#container"}
1),"Container")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Container p={4} bg="muted">\n Centered container\n</Container>\n')),Object(n.b)(l,{p:4,bg:"muted",mdxType:"Container"},"Centered container"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#nav-link"}),"NavLink")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<Flex as="nav">\n <NavLink href="#!" p={2}>\n Home\n </NavLink>\n <NavLink href="#!" p={2}>\n Blog\n </NavLink>\n <NavLink href="#!" p={2}>\n About\n </NavLink>\n</Flex>\n')),Object(n.b)(i,{as:"nav",mdxType:"Flex"},Object(n.b)(S,{href:"#!",p:2,mdxType:"NavLink"},"Home"),Object(n.b)(S,{href:"#!",p:2,mdxType:"NavLink"},"Blog"),Object(n.b)(S,{href:"#!",p:2,mdxType:"NavLink"},"About")),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#message"}),"Message")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),"<Message variant='primary' mb={2}>\n This is just a message for someone to read\n</Message>\n\n<Message variant='secondary' mb={2}>\n This is just a message for someone to read\n</Message>\n")),Object(n.b)(F,{variant:"primary",mb:2,mdxType:"Message"},"This is just a message for someone to read"),Object(n.b)(F,{variant:"secondary",mb:2,mdxType:"Message"},"This is just a message for someone to read"),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#icon-button"}),"IconButton")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<IconButton aria-label="Toggle dark mode">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n viewBox="0 0 24 24"\n width="24"\n height="24"\n fill="currentcolor"\n >\n <circle\n r={11}\n cx={12}\n cy={12}\n fill="none"\n stroke="currentcolor"\n strokeWidth={2}\n />\n </svg>\n</IconButton>\n')),Object(n.b)(R,{"aria-label":"Toggle dark mode",mdxType:"IconButton"},Object(n.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentcolor"},Object(n.b)("circle",{r:11,cx:12,cy:12,fill:"none",stroke:"currentcolor",strokeWidth:2}))),Object(n.b)(s,{mdxType:"Divider"}),Object(n.b)("h3",null,Object(n.b)("a",Object.assign({parentName:"h3"},{href:"#menu-button"}),"MenuButton")),Object(n.b)("pre",null,Object(n.b)("code",Object.assign({parentName:"pre"},{className:"language-javascript"}),'<MenuButton aria-label="Toggle Menu" />\n')),Object(n.b)(_,{"aria-label":"Toggle Menu",mdxType:"MenuButton"}),Object(n.b)(s,{variant:"styles.spacer.lg",mdxType:"Divider"}))))}q.isMDXComponent=!0}}]); 2//# sourceMappingURL=component---src-pages-index-mdx-16b515095a4b9cbe6c23.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.