|
5 | 5 | <link rel="stylesheet" type="text/css" href="bundle.css"> |
6 | 6 | </head> |
7 | 7 | <body> |
8 | | - <button class="button">Button</button> |
| 8 | + <h1>Buttons</h1> |
| 9 | + |
| 10 | + <section class="demo"> |
| 11 | + <button class="button tiny">Button tiny</button> |
| 12 | + <button class="button small">Button small</button> |
| 13 | + <button class="button">Button</button> |
| 14 | + <button class="button big">Button big</button> |
| 15 | + <button class="button large">Button large</button> |
| 16 | + </section> |
| 17 | + |
| 18 | + <hr> |
| 19 | + |
| 20 | + <h4>Button colors:</h4> |
| 21 | + |
| 22 | + <section class="demo"> |
| 23 | + <button class="button primary-contrast">Button primary</button> |
| 24 | + <button class="button secondary-contrast">Button secondary</button> |
| 25 | + <button class="button tertiary-contrast">Button tertiary</button> |
| 26 | + <button class="button quaternary-contrast">Button quaternary</button> |
| 27 | + <button class="button quinary-contrast">Button quinary</button> |
| 28 | + </section> |
| 29 | + |
| 30 | + <hr> |
| 31 | + |
| 32 | + <h4>Maybe inversed (let's call it <span class="label">contrast</span>):</h4> |
| 33 | + |
| 34 | + <section class="demo"> |
| 35 | + <button class="button primary">Button primary</button> |
| 36 | + <button class="button secondary">Button secondary</button> |
| 37 | + <button class="button tertiary">Button tertiary</button> |
| 38 | + <button class="button quaternary">Button quaternary</button> |
| 39 | + <button class="button quinary">Button quinary</button> |
| 40 | + </section> |
| 41 | + |
| 42 | + <hr> |
| 43 | + |
| 44 | + <h4>Maybe switch something between colors:</h4> |
| 45 | + <p>Color is <span class="label">secondary</span>, background is <span class="label">white</span> and border is <span class="label">quinary</span></p> |
| 46 | + <p class="coldgray-color">Note: they all work with their own pre-defined :hover and :focus states if you add an <span class="label">.interactive</span>class</p> |
| 47 | + <section class="demo"> |
| 48 | + <button class="button secondary-color white-background quinary-border">Button secondary</button> |
| 49 | + </section> |
| 50 | + |
| 51 | + <hr> |
| 52 | + |
| 53 | + <p>And the grayscale of course 💾:</p> |
| 54 | + |
| 55 | + <section class="demo"> |
| 56 | + <button class="button white">Button white</span></button> |
| 57 | + <button class="button whitegray">Button whitegray</button> |
| 58 | + <button class="button lightengray">Button lightengray</button> |
| 59 | + <button class="button lightgray">Button lightgray</button> |
| 60 | + <button class="button coldgray">Button coldgray</button> |
| 61 | + <button class="button midgray">Button midgray</button> |
| 62 | + <button class="button softgray">Button softgray</button> |
| 63 | + <button class="button darkgray">Button darkgray</button> |
| 64 | + <button class="button black">Button black</button> |
| 65 | + </section> |
| 66 | + |
| 67 | + <hr> |
| 68 | + |
| 69 | + <h1>Input fields</h1> |
| 70 | + |
| 71 | + <section class="demo"> |
| 72 | + <input class="field tiny" placeholder="Input tiny"> |
| 73 | + <input class="field small" placeholder="Input small"> |
| 74 | + <input class="field" placeholder="Input"> |
| 75 | + <input class="field big" placeholder="Input big"> |
| 76 | + <input class="field large" placeholder="Input large"> |
| 77 | + </section> |
9 | 78 |
|
10 | 79 | <script type="text/javascript" src="bundle.js"></script> |
11 | 80 | </body> |
|
0 commit comments