generated from penpot/penpot-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (61 loc) · 1.98 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Penpot Tints and Shades Plugin</title>
<link rel="icon" type="image/png" href="content/icon.png" />
</head>
<body>
<main>
<section class="rows">
<label for="tints">
Number of tints
<input
min="0"
max="8"
class="input"
type="number"
placeholder="Tints"
id="tints"
value="4"
/>
</label>
<label for="shades">
Number of shades
<input
min="0"
max="8"
class="input"
type="number"
placeholder="Shades"
id="shades"
value="2"
/>
</label>
</section>
<div class="checkbox-container">
<input
class="checkbox-input"
type="checkbox"
id="create-text-checkbox"
/>
<label for="create-text-checkbox">
Add text element with HEX code
</label>
</div>
<button
type="button"
data-appearance="primary"
data-handler="generate"
>
Generate Tints and Shades
</button>
<label>
Select any shape(s) with a color fill and click 'Generate' to
create darker and lighter variants from it
</label>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>