UNPKG

patternpack-example-library

Version:
189 lines (83 loc) 4.01 kB
<!DOCTYPE html> <html> <head> <link href="../assets/css/patterns.css" rel="stylesheet" /> <link href="../assets/../theme-assets/css/patternpack-theme.css" rel="stylesheet" /> <link href="../assets/../theme-assets/css/github.css" rel="stylesheet" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Buttons</title> </head> <body> <div id="libraryContainer" class="library__container"> <header class="library__header"> <a href="/"> <img src="http://placehold.it/200x60&text=logo" class="library__header__logo"> </span> <span class="library__header__title">Pattern Library</span> </a> <div id="menuToggle" class="library__header__menu-toggle__container"> <div class="library__header__toggle">Menu</div> </div> </header> <div id="libraryContent" class="library__content"> <div class="library__content__open-overlay"></div> <div class="markdown__body"> <h2 id="buttons">Buttons</h2> <p>TODO: Describe what buttons are and how they are used in the application.</p> <h3 id="examples">Examples</h3> <div class="library__example"> <button type="button" class="button--primary">Primary</button> <button type="button" class="button--secondary">Secondary</button> <br /> <br /> <button type="button" class="button--primary button--large">Primary Large</button> <button type="button" class="button--secondary button--large">Secondary Large</button> <br /> <br /> <button type="button" class="button--primary button--small">Primary Small</button> <button type="button" class="button--secondary button--small">Secondary Small</button> </div> <h3 id="code">Code</h3> <pre><code class="language-html">&lt;button type=&quot;button&quot; class=&quot;button--primary&quot;&gt;Primary&lt;/button&gt; &lt;button type=&quot;button&quot; class=&quot;button--secondary&quot;&gt;Secondary&lt;/button&gt; &lt;button type=&quot;button&quot; class=&quot;button--primary button--large&quot;&gt;Primary Large&lt;/button&gt; &lt;button type=&quot;button&quot; class=&quot;button--secondary button--large&quot;&gt;Secondary Large&lt;/button&gt; &lt;button type=&quot;button&quot; class=&quot;button--primary button--small&quot;&gt;Primary Small&lt;/button&gt; &lt;button type=&quot;button&quot; class=&quot;button--secondary button--small&quot;&gt;Secondary Small&lt;/button&gt;</code></pre> </div> </div> </div> <nav class="library__nav"> <h2> <a href=" index.html ">Atoms</a> </h2> <ul> <li> <a href="buttons.html">Buttons</a> </li> <li> <a href="colors.html">Colors</a> </li> <li> <a href="forms.html">Forms</a> </li> <li> <a href="headings.html">Headings</a> </li> <li> <a href="typography.html">Typography</a> </li> </ul> <h2> <a href=" ../molecules/index.html ">Molecules</a> </h2> <ul> <li> <a href="../molecules/nav.html">Navigation</a> </li> </ul> <h2> <a href=" ../pages/index.html ">Pages</a> </h2> <ul> <li> <a href="../pages/article-template.html">Article Template</a> </li> <li> <a href="../pages/home-page.html">Home Page</a> </li> </ul> </nav> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js"></script> <script src="../assets/../theme-assets/js/PatternPack.Global.Navigation.js"></script> </body> </html>