Files
ionicons/scripts/cheatsheet-template.html
T

54 lines
1023 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Ionicons {{version}} Cheatsheet</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background: #fff;
}
h1 {
margin: 0;
}
h3 {
margin: 0;
}
.options {
padding: 15px 0 20px 0;
}
label {
display: inline-block;
width: 100px;
font-size: 12px;
}
svg {
width: 32px;
height: 32px;
}
.css-styles {
fill: yellow;
stroke: yellow;
background: red;
color: white;
}
</style>
</head>
<body>
<h1>Ionicons {{version}} Cheatsheet</h1>
<h3>{{count}} icons</h3>
<div class="options">
<button id="css-styles">Toggle Styles</button>
</div>
{{content}}
<script>
document.getElementById('css-styles').addEventListener('click', function() {
document.body.classList.toggle('css-styles');
});
</script>
</body>
</html>