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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Tabler Icons - version <%= v %></title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600" rel="stylesheet">
<link rel="stylesheet" href="./<%= fileName %>.css">
<style>
* { margin: 0; border: 0; outline: 0; box-sizing: border-box; }
body {
font-family: 'Open Sans', sans-serif;
background: #fafbfc;
font-size: 1rem;
padding: 1rem;
}
code {
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
background: #fafafa;
border: 1px solid #f0f0f0;
color: #666;
padding: 2px 4px;
margin-bottom: 2px;
}
.container {
max-width: 73rem;
margin: 0 auto;
}
.box {
padding: 1rem;
background: #fff;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 1px rgba(0, 0, 0, .1);
border-radius: 3px;
}
.tabler-icons {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.tabler-icon {
width: 10rem;
font-size: 12px;
text-align: center;
padding: .5rem .25rem 2rem;
}
.tabler-icon i {
display: block;
align-items: center;
font-size: 32px;
height: 1em;
margin-bottom: 1rem;
}
.tabler-icon code {
font-size: 10px;
}
.tabler-icon strong {
display: block;
margin-bottom: .5rem;
}
.tabler-icon-codes {
line-height: 2em;
}
.text-muted {
color: #999;
}
.header {
text-align: center;
margin: 2rem 0 3rem;
}
</style>
</head>
<body>
<div class="container">
<header class="header">
<h1>
Tabler Icons
</h1>
<p class="text-muted">version <%= v %></p>
</header>
<div class="box">
<div class="tabler-icons">
<% glyphs.forEach(function(glyph) { %>
<div class="tabler-icon">
<i class="ti ti-<%= glyph.name %>"></i>
<strong><%= glyph.name %></strong>
<div class="tabler-icon-codes">
<code>ti ti-<%= glyph.name %></code><br>
<code>\<%= glyph.unicode[0].codePointAt(0).toString(16) %></code>
</div>
</div>
<% }) %>
</div>
</div>
</div>
</body>
</html>
|