-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (62 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/styles.css" />
<title>Color Scheme Generator</title>
</head>
<body>
<main>
<section class="input-container" id="input-container">
<div class="toggle">
<input type="checkbox" id="toggle" />
<label
for="toggle"
tabindex="0"
role="switch"
aria-checked="false"
></label>
</div>
<h1 class="input-title">Color Scheme Generator</h1>
<section class="select-color-container">
<!-- Select seed color -->
<div class="seed-color-container">
<input
type="color"
class="seed-color"
id="seed-color"
name="head"
value="#e66465"
aria-label="Select Seed Color"
/>
</div>
<!-- Select color scheme -->
<select
name="color-scheme"
class="color-scheme-selector"
id="color-scheme-selector"
aria-label="Select color scheme"
>
<option value="monochrome" selected>Monochrome</option>
<option value="monochrome-dark">Monochrome-dark</option>
<option value="monochrome-light">Monochrome-light</option>
<option value="analogic">Analogic</option>
<option value="complement">Complement</option>
<option value="analogic-complement">Analogic-complement</option>
<option value="triad">Triad</option>
</select>
<!-- Fetch color scheme -->
<button class="select-btn" id="select-btn">Get color scheme</button>
</section>
</section>
<!-- Display color scheme and hex codes -->
<section id="scheme-container" class="scheme-container">
<!-- JavaScript generated code -->
</section>
</main>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
<script async src="index.js"></script>
</body>
</html>