-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
129 lines (126 loc) · 4.54 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>DesignKit</title>
<meta name="description" content="A declarative syntax for the web." />
<meta property="og:title" content="DesignKit" />
<meta
property="og:description"
content="A declarative syntax for the web."
/>
<meta property="og:image" content="https://kit.design/images/og.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="DesignKit" />
<meta
name="twitter:description"
content="A declarative syntax for the web."
/>
<meta name="twitter:image" content="https://kit.design/images/og.png" />
<link href="lib/main.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="images/favicon.png" />
</head>
<body>
<vstack alignment="leading" padding>
<hstack>
<text font="headline">DesignKit</text>
<text foreground="gray">Preview</text>
</hstack>
<text font="subheadline" foreground="gray"
>A declarative syntax for the web. No frameworks, just plug and
play.</text
>
<divider></divider>
<list padding>
<text font="headline">Elements</text>
<hstack>
<text font="headline">vstack</text>
<text foreground="gray">A vertical stack of elements.</text>
</hstack>
<hstack>
<text font="headline">hstack</text>
<text foreground="gray">A horizontal stack of elements.</text>
</hstack>
<hstack>
<text font="headline">zstack</text>
<text foreground="gray">An overlaid stack of elements.</text>
</hstack>
<hstack>
<text font="headline">list</text>
<text foreground="gray">A list of elements.</text>
</hstack>
<hstack>
<text font="headline">button</text>
<text foreground="gray">A button.</text>
</hstack>
</list>
<list padding>
<text font="headline">Attributes</text>
<hstack alignment="top">
<text font="headline">padding</text>
<text foreground="gray"
>top, bottom, leading, trailing, horizontal, vertical</text
>
</hstack>
<hstack alignment="top">
<text font="headline">alignment</text>
<text foreground="gray"
>top, center, bottom, leading, center, trailing</text
>
</hstack>
<hstack alignment="top">
<text font="headline">font</text>
<a href="#fonts" foreground="gray">See fonts</a>
</hstack>
<hstack>
<text font="headline">foreground</text>
<a href="#colors" foreground="gray">See colors</a>
</hstack>
<hstack>
<text font="headline">background</text>
<a href="#colors" foreground="gray">See colors</a>
</hstack>
</list>
<list padding id="fonts">
<text font="headline">Fonts</text>
<text font="caption2">caption2</text>
<text font="caption1">caption1</text>
<text font="subheadline">subheadline</text>
<text font="body">body</text>
<text font="headline">headline</text>
<text font="title3">title3</text>
<text font="title2">title2</text>
<text font="title1">title1</text>
<text font="large-title">large title</text>
</list>
<list padding id="colors">
<text font="headline">Colors</text>
<text foreground="gray">Gray</text>
<text foreground="gray2">Gray 2</text>
<text foreground="gray3">Gray 3</text>
<text foreground="gray4">Gray 4</text>
<text foreground="gray5">Gray 5</text>
<text foreground="gray6">Gray 6</text>
<text foreground="red">Red</text>
<text foreground="orange">Orange</text>
<text foreground="yellow">Yellow</text>
<text foreground="green">Green</text>
<text foreground="blue">Blue</text>
<text foreground="indigo">Indigo</text>
<text foreground="purple">Purple</text>
<text foreground="pink">Pink</text>
</list>
<divider></divider>
<hstack alignment="center">
<a href="https://github.com/lil-software/designkit" class="button"
>GitHub</a
>
<a href="https://twitter.com/lildotinc" class="button">Twitter</a>
</hstack>
<a href="https://lil.software" font="caption1" foreground="gray"
>Made by lil</a
>
</vstack>
</body>
</html>