-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (152 loc) · 6.51 KB
/
Copy pathindex.html
File metadata and controls
172 lines (152 loc) · 6.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Design Toolkit</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/iro.js@5.5.1/dist/iro.min.css">
<link rel="stylesheet" href="adit.css">
</head>
<body>
<header>
<div class="header-content">
<div class="main">
<!-- header section -->
<div class="logo">
<!-- <div class="alpha"> -->
<div class="text">CoolKit</div>
</div>
<!-- Account Modal -->
<div class="account">
<button id="account-btn">Account</button>
<!-- Account Modal -->
<div id="account-modal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<!-- Account Form -->
<h2>Account</h2>
<form id="login-form">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit">Login</button>
</form>
<p>Don't have an account? <a href="#">Sign up</a></p>
</div>
</div>
</div>
</div>
<nav class="nav-menu">
<ul>
<li><a href="#color-picker-section">Color-Picker</a></li>
<li><a href="#gradient-section">Generate Gradient</a></li>
<li><a href="#Generate">customize color</a></li>
<li><a href="#explore">Colors Themes</a></li>
</ul>
</nav>
</div>
</header>
<!--end of header section --> <!--end of header section -->
<!-- Color Picker Section -->
<section id="color-picker-section">
<h2>Select Your Color</h2>
<div id="color-picker"></div>
<button id="add-color-btn">Add Color</button>
<button id="save-palette-btn">Save Palette</button>
<button id="share-palette-btn">Share Palette</button>
<div id="color-preview"></div>
<div id="palette-preview"></div>
<!-- Share Palette Section -->
<!-- <section id="share-section"> -->
<button id="copy-link-btn">Copy the color link</button>
<button id="share-social-btn">Share on Social Media</button>
<!-- </section> -->
</section>
<!-- Gradient Section -->
<section id="gradient-section">
<h2>Create a Gradient</h2>
<!-- Color inputs for gradient -->
<label for="gradient-color1">First Color:</label>
<input type="color" id="gradient-color1" value="#b8c3ff">
<label for="gradient-color2">Second Color:</label>
<input type="color" id="gradient-color2" value="#fdd3f0">
<!-- Dropdown for selecting gradient type -->
<select id="gradient-type">
<option value="linear">Linear Gradient (Default)</option>
<option value="linear-to-right">Linear Gradient (Left to Right)</option>
<option value="linear-to-bottom">Linear Gradient (Top to Bottom)</option>
<option value="linear-to-diagonal">Linear Gradient (Diagonal)</option>
<option value="radial">Radial Gradient</option>
<option value="conic">Conic Gradient</option>
</select>
<!-- Button to generate the gradient -->
<button id="generate-gradient-btn">Generate Gradient</button>
<!-- Button to copy the gradient CSS -->
<button id="copy-gradient-btn">Copy Gradient</button>
<!-- Preview of the generated gradient -->
<div id="gradient-preview" style="width: 100%; height: 150px; margin-top: 20px; border-radius: 10px; border: 1px solid #ccc;"></div>
<!-- Display the generated gradient CSS code -->
<pre id="gradient-code" style="margin-top: 10px; font-family: monospace; padding: 10px; background-color: #f5f5f5;"></pre>
</section>
<!-- palette section --><!-- palette section -->
<section id="Generate">
<!-- custom-palette start code -->
<h2>Generate Your Custom Palette</h2>
<div id="custom-color-inputs">
<div class="custom-color-input-item">
<input type="color" id="customColor1" value="#2e1f27"> <!-- Default color -->
</div>
<div class="custom-color-input-item">
<input type="color" id="customColor2" value="#4a253a"> <!-- Default color -->
</div>
<div class="custom-palette-count">
<select name="" id="custom-palette-count-input">
<option value="6" selected>6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
</div>
<!-- custom-palette end code -->
<div class="custom-palette" id="custom-palette"></div>
</section>
<span id="explore">
<!-- Predefined Color Palette Section -->
<div id="predefined-palette-section">
<h2>Explore More Colors</h2>
<div class="predefined-palettes-container" id="predefined-palettes-container">
<!-- Multiple palettes will be inserted here -->
</div>
</div>
</span>
<!-- Predefined -->
<!-- Additional Coloring Feature Before Footer -->
<section id="additional-coloring">
<h2>Color Themes</h2>
<div class="color-themes">
<!-- Theme items (add your content here) -->
<div class="theme-item">
<div class="theme-preview" style="background: linear-gradient(to right, #ff7e5f, #feb47b);"></div>
<p>Sunset Theme</p>
</div>
<div class="theme-item">
<div class="theme-preview" style="background: linear-gradient(to right, #43cea2, #185a9d);"></div>
<p>Ocean Blue</p>
</div>
<!-- Add more themes as needed -->
</div>
</section>
<!-- footer section -->
<footer>
<p>Designed with ❤️ for color enthusiasts.</p>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.1.0/chroma.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@jaames/iro@5"></script>
<script src="adit.js"></script>
</body>
</html>