-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
73 lines (64 loc) · 2.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cyberpunk Logo Generator</title>
<link rel="icon" href="demo.png">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="controls">
<div class="form-group">
<form>
<label for="previewSize">Preview Size (px)</label>
<div class="inputDiv">
<input type="number" id="previewSize" value="256"
oninput="updatePreviewSize(this.value);"
title="Changes downloaded image size" />
</div>
<label for="downloadSize">Download Size (px)</label>
<div class="inputDiv">
<input type="number" id="downloadSize" value="512"
oninput="updateDownloadSize(this.value);"
title="Changes downloaded image size" />
</div>
<label for="fontSize">Font Size (% of canvas)</label>
<div class="inputDiv">
<input type="number" id="fontSize" value="90"
min="1" max="100" oninput="updateFontSize(this.value);"
title="Changes font size" />
</div>
<label for="logoText">Logo Text</label>
<div class="inputDiv">
<input type="text" id="logoText" value="M"
oninput="updateLogoText(this.value);"
title="Changes the generated logo text" />
</div>
<label for="letterColor">Letter Color</label>
<div class="inputDiv">
<input type="color" id="letterColor" value="#000000"
oninput="updateLetterColor(this.value);"
title="Update logo letter color" />
</div>
<label for="colorOne">Color One</label>
<div class="inputDiv">
<input type="color" id="colorOne" value="#d600ff"
oninput="updateColorOne(this.value);"
title="Update logo color one" />
</div>
<label for="colorTwo">Color Two</label>
<div class="inputDiv">
<input type="color" id="colorTwo" value="#00b8ff"
oninput="updateColorTwo(this.value);"
title="Update logo color two" />
</div>
</form>
</div>
</div>
<!-- Will get populated by `logoGenerator.js` -->
<div id="logo-container"></div>
<script src="./logoGenerator.js"></script>
<script src="./inputFunctions.js"></script>
</body>
</html>