generated from chingu-voyages/voyage-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
102 lines (98 loc) · 3.48 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
<!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="styles.css" />
<title>Colour Matching App</title>
<link rel="shortcut icon" href="img/favicon_v2.svg" />
<!-- POPUP LIBRARY -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11" defer></script>
<!-- IRO.JS library -->
<script src="https://cdn.jsdelivr.net/npm/@jaames/iro@5" defer></script>
<script src="script.js" defer></script>
</head>
<body>
<header class="main-header">
<div class="container">
<div class="logo">
<img src="img/logo_blue_v2.svg" alt="logo icon" />
</div>
</div>
</header>
<!-- svg icon for color picker handle -->
<svg
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<g id="pickerHandle">
<path
d="M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10ZM3.10507 10C3.10507 13.808 6.19204 16.8949 10 16.8949C13.808 16.8949 16.8949 13.808 16.8949 10C16.8949 6.19204 13.808 3.10507 10 3.10507C6.19204 3.10507 3.10507 6.19204 3.10507 10Z"
fill="white"
/>
</g>
</defs>
</svg>
<svg
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<g id="sliderHandle">
<circle cx="8" cy="8" r="14" fill="white" stroke="#E0E0E0" />
</g>
</defs>
</svg>
<div class="headline-container container">
<h1>Color explorer</h1>
<h2>easily generate beautiful color combinations</h2>
<div class="page-container container desktop-row">
<!-- the actual wheel -->
<div class="picker"></div>
<div>
<!-- Dropdown -->
<div class="dropdown-color">
<label for="hexInput">Pick a primary color</label>
<input type="text" id="hexInput" placeholder="Hex Code" />
<label for="combinations">Color harmony</label>
<select name="combinations" id="combinations">
<option value="Choose your combination" disabled selected hidden>
Choose your combination
</option>
<option value="Complementary">Complementary</option>
<option value="Monochromatic">Monochromatic</option>
<option value="Analogous">Analogous</option>
<option value="Triadic">Triadic</option>
<option value="Tetradic">Tetradic</option>
</select>
<button id="createButton" class="btn btn-dark" type="button">
Create Combination
</button>
</div>
</div>
</div>
<div id="colorPalette">
<div id="colorPaletteTitle"></div>
<ul id="colorPaletteSwatch" class="color-palette colorList"></ul>
</div>
</div>
<footer class="main-footer">
<div class="container">
<img class="github-logo" src="img/github.png" alt="github logo" />
<a
href="https://github.com/chingu-voyages/v49-tier1-team-03"
target="_blank"
>https://github.com/chingu-voyages/v49-tier1-team-03</a
>
</div>
</footer>
</body>
</html>