-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkitchen-sink-theme.html
More file actions
199 lines (184 loc) · 5.83 KB
/
kitchen-sink-theme.html
File metadata and controls
199 lines (184 loc) · 5.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>@sparkstone/css Kitchen Sink</title>
<link rel="stylesheet" href="./dist/reset.css" />
<link rel="stylesheet" href="./dist/theme.css" />
</head>
<body>
<main class="container">
<h1>@sparkstone/css Kitchen Sink</h1>
<section>
<h2>Typography</h2>
<p>This is a paragraph. <strong>Strong</strong> and <em>Emphasized</em> text.</p>
<p class="lead">This is a lead paragraph.</p>
<p class="small">This is small text.</p>
<p class="muted">This is muted text.</p>
<blockquote>A sample blockquote.</blockquote>
<hr />
<code>Inline code</code>
<pre><code>Preformatted block of code</code></pre>
<kbd>Ctrl</kbd> + <kbd>C</kbd> to copy
</section>
<section>
<h2>Lists</h2>
<ul>
<li>Unordered List Item</li>
<li>Another Item</li>
</ul>
<ol>
<li>Ordered List Item</li>
<li>Another Item</li>
</ol>
</section>
<section>
<h2>Table</h2>
<table>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Forms</h2>
<form>
<label>
Text input
<input type="text" placeholder="Text input" />
</label>
<label>
Email input
<input type="email" placeholder="Email input" />
</label>
<label>
Password input
<input type="password" placeholder="Password input" />
</label>
<label>
Textarea
<textarea placeholder="Textarea"></textarea>
</label>
<label>
Select menu
<select>
<option>Option 1</option>
<option>Option 2</option>
</select>
</label>
<fieldset>
<legend>Checkboxes</legend>
<label><input type="checkbox" /> Option 1</label>
<label><input type="checkbox" /> Option 2</label>
</fieldset>
<fieldset>
<legend>Radio buttons</legend>
<label><input type="radio" name="radio" /> Option 1</label>
<label><input type="radio" name="radio" /> Option 2</label>
</fieldset>
<label class="switch"> <input type="checkbox" role="switch" /> Toggle Switch </label>
<label>
Range slider
<input type="range" min="0" max="100" />
</label>
<label>
File upload
<input type="file" />
</label>
<button type="submit" class="primary">Submit Primary</button>
<button type="submit" class="secondary">Submit Secondary</button>
<button type="submit" class="contrast">Submit Contrast</button>
<button type="submit" class="outline">Submit Outline</button>
<button type="submit" class="ghost">Submit Ghost</button>
<button type="submit" class="semantic">Submit Semantic</button>
</form>
</section>
<section disabled>
<button disabled type="submit" class="primary">Submit Primary</button>
<button disabled type="submit" class="secondary">Submit Secondary</button>
<button disabled type="submit" class="contrast">Submit Contrast</button>
<button disabled type="submit" class="outline">Submit Outline</button>
<button disabled type="submit" class="ghost">Submit Ghost</button>
<button disabled type="submit" class="semantic">Submit Semantic</button>
</section>
<section>
<h2>Navigation</h2>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
</ul>
</nav>
</section>
<section>
<h2>Card</h2>
<article>
<h3>Card Title</h3>
<p>Card content. You can add any HTML inside.</p>
<footer>
<button class="secondary">Action</button>
</footer>
</article>
</section>
<section>
<h2>Dialog / Modal</h2>
<dialog id="sampleDialog">
<article>
<h3>Sample Dialog</h3>
<p>
This is a dialog/modal using the native <dialog> element styled by Pico.css.
</p>
<footer>
<button onclick="document.getElementById('sampleDialog').close()">Close</button>
</footer>
</article>
</dialog>
<button onclick="document.getElementById('sampleDialog').showModal()">Open Dialog</button>
</section>
<section>
<h2>Details / Summary</h2>
<details>
<summary>Click to expand</summary>
<p>This content is hidden by default.</p>
</details>
</section>
<section>
<h2>Progress / Meter</h2>
<progress value="70" max="100"></progress>
<meter value="0.6">60%</meter>
</section>
<section>
<h2>Grid and Layout Helpers</h2>
<div class="grid">
<div>Grid Item 1</div>
<div>Grid Item 2</div>
<div>Grid Item 3</div>
</div>
<div class="flex">
<div>Flex Item 1</div>
<div>Flex Item 2</div>
</div>
<div class="stack">
<button>Stacked Button 1</button>
<button>Stacked Button 2</button>
</div>
<div class="center">
<p>Centered Content</p>
</div>
</section>
</main>
</body>
</html>