-
Notifications
You must be signed in to change notification settings - Fork 0
/
design-system.html
171 lines (146 loc) · 6.77 KB
/
design-system.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700&family=Bellefair&family=Barlow:wght@400;700&display=swap"
rel="stylesheet">
<link href="index.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="uppercase">Design system</h1>
<section id="colors">
<h2 class="numbered-title"><span>01 </span>colors</h2>
<div class="flex">
<div style="flex-grow: 1;">
<div class="bg-dark" style="padding: 3rem 1rem 1rem; border: 1px solid white">
#0B0D17
</div>
<p><span class="text-accent">RGB 11, 13, 23</span></p>
<p><span class="text-accent">HSL 230°, 35%, 7%</span></p>
</div>
<div style="flex-grow: 1;">
<div class="text-dark bg-accent" style="padding: 3rem 1rem 1rem; border: 1px solid white">
#0B0D17
</div>
<p><span class="text-accent">RGB 11, 13, 23</span></p>
<p><span class="text-accent">HSL 230°, 35%, 7%</span></p>
</div>
<div style="flex-grow: 1;">
<div class="bg-white text-dark" style="padding: 3rem 1rem 1rem; border: 1px solid white">
#0B0D17
</div>
<p><span class="text-accent">RGB 11, 13, 23</span></p>
<p><span class="text-accent">HSL 230°, 35%, 7%</span></p>
</div>
</div>
</section>
<section id="typography" style="margin: 4rem 0">
<h2><span>02 </span>Typography</h2>
<div class="flex">
<div class="flow" style="flex-basis: 100%; --flow-space: 4rem">
<div>
<p class="text-accent">Heading 1 - Bellefair Regular - 150px</p>
<p class="fs-900 ff-serif uppercase">Earth</p>
</div>
<div>
<p class="text-accent">Heading 2 - Bellefair Regular - 100px</p>
<p class="fs-800 ff-serif uppercase"> Venus</p>
</div>
<div>
<p class="text-accent">Heading 3 - Bellefair Regular - 56px</p>
<p class="fs-700 ff-sans-cond uppercase">Jupiter & Saturn</p>
</div>
<div>
<p class="text-accent">Heading 4 - Bellefair Regular - 32px</p>
<p class="fs-600 ff-serif uppercase">Uranus, Neptune, & Pluto</p>
</div>
<div>
<p class="text-accent">Heading 5 - Barlow Condensed Regular - 28px - 4.75 Character Space</p>
<p class="text-accent fs-500 ff-sans-cond uppercase letter-spacing-1">So, you want to travel to space</p>
</div>
</div>
<div class="flow" style="flex-basis: 100%; --flow-space: 4rem">
<div>
<p class="text-accent">Subheading 1 - Bellefair Regular - 28px</p>
<p>384,400 km</p>
</div>
<div>
<p class="text-accent">Subheading 2 - Barlow Condensed Regular - 14px - 2.35 Character Space</p>
<p>Avg. Distance</p>
</div>
<div>
<p>Nav Text - Barlow Condensed Regular - 16px - 2.7 Character Space</p>
<p>Europa</p>
</div>
<div>
<p class="text-accent">Body Text</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh
nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin
laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo.
Suspendisse potenti.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit.
Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium,
ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam
mollis. Ut justo. Suspendisse potenti.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus
hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi.
</p>
</div>
</div>
</div>
</section>
<section id="interactive-elements" class="flow">
<h2 class="numbered-title"><span>03 </span> Interactive elemenets</h2>
<!-- navigation -->
<div>
<nav>
<ul class="primary-navigation underline-indicators flex">
<li class="active"><a class="uppercase text-white letter-spacing-2" href="#"><span>00</span>Active</a>
<li><a class="uppercase text-white letter-spacing-2" href="#"><span>01</span>Hovered</a>
<li><a class="uppercase text-white letter-spacing-2" href="#"><span>02</span>Idle</a>
</ul>
</nav>
</div>
<div class="flex">
<div style="margin-top: 5rem">
<!-- explore button -->
<a href="#" class="large-button uppercase ff-serif fs-600 text-dark bg-accent">Explore</a>
</div>
<div class="flow" style="margin-bottom: 50vh; --flow-space: 4rem;">
<!-- tabs -->
<div class="tab-list underline-indicators flex">
<button aria-selected="true"
class="uppercase text-accent bg-dark ff-sans-cond letter-spacing-2">Moon</button>
<button aria-selected="false"
class="uppercase text-accent bg-dark ff-sans-cond letter-spacing-2">Mars</button>
<button aria-selected="false"
class="uppercase text-accent bg-dark ff-sans-cond letter-spacing-2">Europa</button>
</div>
<!-- dots -->
<div class="dot-indicators flex">
<button aria-selected="true" class="active"> <span class="sr-only">Slide title</span></button>
<button aria-selected="false" class=""><span class="sr-only">Slide title</span></button>
<button aria-selected="false" class=""><span class="sr-only">Slide title</span></button>
</div>
<!-- numbers -->
</div>
</div>
<div class="flex">
<div style="margin-top: 5rem">
<a href="#" class="large-button uppercase ff-serif fs-600 text-dark bg-accent">Explore</a>
</div>
<div class="number-indicators grid">
<button aria-selected="true" class="uppercase ff-serif fs-500">1</button>
<button aria-selected="false" class="uppercase ff-serif fs-500">2</button>
<button aria-selected="false" class="uppercase ff-serif fs-500">3</button>
</div>
</div>
</section>
</div>
</body>
</html>