-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
28 lines (28 loc) Β· 1020 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="anypalette-logo.png" type="image/png">
<link rel="icon" href="anypalette-logo.svg" type="image/svg+xml">
<title>AnyPalette.js - Read/Write Any Palette Format</title>
<style>
body {
font-family: Helvetica, sans-serif;
}
</style>
</head>
<body>
<h1><a href="https://github.com/1j01/anypalette.js"><img src="anypalette-logo.png" style="height:1.3em; vertical-align: middle;" alt="">AnyPalette.js</a></h1>
<p>There are many, <em>many</em> different types of palette files...</p>
<p>ONE LIBRARY SHALL RULE THEM ALL</p>
<p>Okay let's <a href="demo.html" data-leave-off-html>load some palettes.</a></p>
<script>
if(location.host.match(/\.(ml|io)/)){
for(var as=document.querySelectorAll("a[data-leave-off-html]"), i=0; i<as.length; i++){
as[i].href = as[i].href.replace(".html", "");
}
}
</script>
</body>
</html>