about summary refs log tree commit diff stats
path: root/js/pixel-art/index.html
blob: 87f240e6c964abd60a36cf31cbb67bcf0ea9167a (plain) (blame)
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
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>pixel art</title>
	<script type="text/javascript" src="app.js"></script>
	<style type="text/css">
		body {
			padding: 1.75em 1em;
			margin: 0 auto;
			display: block;
		}
	</style>
	<link rel="icon" href="apple-icon-180x180.png" type="image/x-icon">
</head>
<body>
	<!-- <input type="number" name="size" value="16" min="8" max="200"> -->
	<div class="editor"></div>
	<script>
	  document.querySelector("div")
	    .appendChild(startPixelEditor({}));
	</script>
	<p><a href="./pixel/index.html">Check out a more advanced pixel art tool that I made after this one.</a></p>
	<p>
		Gameboy colors:
		<ul>
			<li><span style="background-color: #071821;">&nbsp;&nbsp;&nbsp;&nbsp;</span>   <code>#071821</code></li>
			<li><span style="background-color: #86c06c;">&nbsp;&nbsp;&nbsp;&nbsp;</span>   <code>#86c06c</code></li>
			<li><span style="background-color: #e0f8cf;">&nbsp;&nbsp;&nbsp;&nbsp;</span>   <code>#e0f8cf</code></li>
			<li><span style="background-color: #65ff00;">&nbsp;&nbsp;&nbsp;&nbsp;</span>   <code>#65ff00</code></li>
		</ul>
	</p>
</body>
</html>