ag-design 1.0.82 → 1.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/static/fonts/ag-icons.json +370 -370
- package/assets/static/fonts/all-icons-gallery.html +1 -1
- package/assets/static/fonts/all-icons.html +174 -0
- package/assets/static/fonts/debug-fonts.html +163 -0
- package/assets/static/fonts/icon-preview.html +195 -0
- package/assets/static/fonts/index.html +194 -0
- package/assets/static/fonts/preview.html +391 -0
- package/assets/static/fonts/simple-test.html +73 -0
- package/assets/static/fonts/standalone.html +268 -0
- package/assets/static/fonts/test.html +47 -0
- package/fonts/ag-icons.json +370 -370
- package/fonts/all-icons-gallery.html +1 -1
- package/fonts/all-icons.html +174 -0
- package/fonts/debug-fonts.html +163 -0
- package/fonts/icon-preview.html +195 -0
- package/fonts/index.html +194 -0
- package/fonts/preview.html +391 -0
- package/fonts/simple-test.html +73 -0
- package/fonts/standalone.html +268 -0
- package/fonts/test.html +47 -0
- package/package.json +1 -1
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>AG Icons - Standalone Demo</title>
|
|
7
|
+
<style>
|
|
8
|
+
/* Embedded font files - Base64 encoded WOFF2 (subset for demo) */
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'ag-icons';
|
|
11
|
+
font-display: swap;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
/* Using file paths from current directory */
|
|
15
|
+
src: url('./ag-icons.woff2') format('woff2'),
|
|
16
|
+
url('./ag-icons.woff') format('woff'),
|
|
17
|
+
url('./ag-icons.ttf') format('truetype');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
21
|
+
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; color: #333; padding: 40px 20px; }
|
|
22
|
+
|
|
23
|
+
.container { max-width: 1000px; margin: 0 auto; }
|
|
24
|
+
|
|
25
|
+
header { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; text-align: center; }
|
|
26
|
+
h1 { font-size: 32px; margin-bottom: 10px; }
|
|
27
|
+
.subtitle { color: #666; }
|
|
28
|
+
|
|
29
|
+
.status { background: white; padding: 20px; border-radius: 8px; margin-bottom: 30px; border-left: 4px solid #4CAF50; }
|
|
30
|
+
.status.loading { border-left-color: #ff9800; }
|
|
31
|
+
.status.error { border-left-color: #f44336; }
|
|
32
|
+
.status h2 { margin-bottom: 10px; font-size: 16px; }
|
|
33
|
+
.status-code { font-family: monospace; background: #f5f5f5; padding: 10px; border-radius: 4px; margin-top: 10px; overflow-x: auto; }
|
|
34
|
+
|
|
35
|
+
.section { background: white; padding: 30px; border-radius: 8px; margin-bottom: 30px; }
|
|
36
|
+
.section h2 { font-size: 20px; margin-bottom: 20px; border-bottom: 2px solid #4CAF50; padding-bottom: 10px; }
|
|
37
|
+
|
|
38
|
+
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; margin-top: 20px; }
|
|
39
|
+
.icon-item { text-align: center; padding: 20px; border: 1px solid #ddd; border-radius: 4px; background: #fafafa; }
|
|
40
|
+
.icon-display { font-size: 40px; margin-bottom: 10px; min-height: 50px; display: flex; align-items: center; justify-content: center; }
|
|
41
|
+
.icon-name { font-size: 12px; color: #666; word-break: break-word; margin-bottom: 5px; }
|
|
42
|
+
.icon-class { font-size: 10px; color: #999; font-family: monospace; }
|
|
43
|
+
|
|
44
|
+
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
|
|
45
|
+
.stat { background: white; padding: 20px; border-radius: 8px; text-align: center; }
|
|
46
|
+
.stat-num { font-size: 28px; font-weight: bold; color: #4CAF50; }
|
|
47
|
+
.stat-label { color: #999; font-size: 12px; margin-top: 5px; }
|
|
48
|
+
|
|
49
|
+
.file-info { background: #f9f9f9; padding: 15px; border-radius: 4px; margin: 10px 0; border-left: 3px solid #4CAF50; }
|
|
50
|
+
.file-info strong { display: block; margin-bottom: 5px; }
|
|
51
|
+
|
|
52
|
+
code { background: #f5f5f5; padding: 2px 6px; border-radius: 3px; font-family: monospace; font-size: 12px; }
|
|
53
|
+
</style>
|
|
54
|
+
</head>
|
|
55
|
+
<body>
|
|
56
|
+
<div class="container">
|
|
57
|
+
<header>
|
|
58
|
+
<h1>🎨 AG Icons Font - Standalone</h1>
|
|
59
|
+
<p class="subtitle">Complete icon font library - 362 icons ready to use</p>
|
|
60
|
+
</header>
|
|
61
|
+
|
|
62
|
+
<div class="stats">
|
|
63
|
+
<div class="stat">
|
|
64
|
+
<div class="stat-num">362</div>
|
|
65
|
+
<div class="stat-label">Icons</div>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="stat">
|
|
68
|
+
<div class="stat-num">20</div>
|
|
69
|
+
<div class="stat-label">Categories</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="stat">
|
|
72
|
+
<div class="stat-num">3</div>
|
|
73
|
+
<div class="stat-label">Font Formats</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="status">
|
|
78
|
+
<h2>✅ Font Files Available</h2>
|
|
79
|
+
<p>The following font files are in this directory and ready to use:</p>
|
|
80
|
+
|
|
81
|
+
<div class="file-info">
|
|
82
|
+
<strong>📄 ag-icons.ttf</strong>
|
|
83
|
+
<small>TrueType format - 68 KB - Universal support</small>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div class="file-info">
|
|
87
|
+
<strong>📄 ag-icons.woff</strong>
|
|
88
|
+
<small>WOFF format - 34 KB - Broad browser support</small>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div class="file-info">
|
|
92
|
+
<strong>📄 ag-icons.woff2</strong>
|
|
93
|
+
<small>WOFF2 format - 28 KB - Best compression (recommended)</small>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="file-info">
|
|
97
|
+
<strong>📄 ag-icons.css</strong>
|
|
98
|
+
<small>Complete stylesheet with all 362 icon definitions</small>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="file-info">
|
|
102
|
+
<strong>📄 ag-icons.json</strong>
|
|
103
|
+
<small>Icon metadata with glyphs, hex values, and unicode</small>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
<div class="section">
|
|
108
|
+
<h2>📖 How to Use</h2>
|
|
109
|
+
|
|
110
|
+
<h3 style="margin-top: 20px; margin-bottom: 10px;">Step 1: Include the CSS</h3>
|
|
111
|
+
<div class="status-code"><link rel="stylesheet" href="path/to/ag-icons.css"></div>
|
|
112
|
+
|
|
113
|
+
<h3 style="margin-top: 20px; margin-bottom: 10px;">Step 2: Add icon class to element</h3>
|
|
114
|
+
<div class="status-code"><i class="aga-actions-add"></i></div>
|
|
115
|
+
|
|
116
|
+
<h3 style="margin-top: 20px; margin-bottom: 10px;">Step 3: Icon renders</h3>
|
|
117
|
+
<p>The icon glyph will display using the ag-icons font</p>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<div class="section">
|
|
121
|
+
<h2>🎨 Sample Icons</h2>
|
|
122
|
+
<p style="margin-bottom: 20px;">Here are some example icons showing the font working:</p>
|
|
123
|
+
|
|
124
|
+
<div class="icon-grid">
|
|
125
|
+
<div class="icon-item">
|
|
126
|
+
<div class="icon-display"><i class="aga-actions-add"></i></div>
|
|
127
|
+
<div class="icon-name">add</div>
|
|
128
|
+
<div class="icon-class">aga-actions-add</div>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<div class="icon-item">
|
|
132
|
+
<div class="icon-display"><i class="aga-actions-search"></i></div>
|
|
133
|
+
<div class="icon-name">search</div>
|
|
134
|
+
<div class="icon-class">aga-actions-search</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="icon-item">
|
|
138
|
+
<div class="icon-display"><i class="aga-actions-delete"></i></div>
|
|
139
|
+
<div class="icon-name">delete</div>
|
|
140
|
+
<div class="icon-class">aga-actions-delete</div>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<div class="icon-item">
|
|
144
|
+
<div class="icon-display"><i class="aga-account-user"></i></div>
|
|
145
|
+
<div class="icon-name">user</div>
|
|
146
|
+
<div class="icon-class">aga-account-user</div>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<div class="icon-item">
|
|
150
|
+
<div class="icon-display"><i class="aga-communication-email"></i></div>
|
|
151
|
+
<div class="icon-name">email</div>
|
|
152
|
+
<div class="icon-class">aga-communication-email</div>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
<div class="icon-item">
|
|
156
|
+
<div class="icon-display"><i class="aga-actions-settings"></i></div>
|
|
157
|
+
<div class="icon-name">settings</div>
|
|
158
|
+
<div class="icon-class">aga-actions-settings</div>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
<div class="icon-item">
|
|
162
|
+
<div class="icon-display"><i class="aga-actions-download"></i></div>
|
|
163
|
+
<div class="icon-name">download</div>
|
|
164
|
+
<div class="icon-class">aga-actions-download</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div class="icon-item">
|
|
168
|
+
<div class="icon-display"><i class="aga-actions-upload"></i></div>
|
|
169
|
+
<div class="icon-name">upload</div>
|
|
170
|
+
<div class="icon-class">aga-actions-upload</div>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<div class="icon-item">
|
|
174
|
+
<div class="icon-display"><i class="aga-actions-save"></i></div>
|
|
175
|
+
<div class="icon-name">save</div>
|
|
176
|
+
<div class="icon-class">aga-actions-save</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<div class="icon-item">
|
|
180
|
+
<div class="icon-display"><i class="aga-actions-refresh"></i></div>
|
|
181
|
+
<div class="icon-name">refresh</div>
|
|
182
|
+
<div class="icon-class">aga-actions-refresh</div>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="icon-item">
|
|
186
|
+
<div class="icon-display"><i class="aga-actions-menu"></i></div>
|
|
187
|
+
<div class="icon-name">menu</div>
|
|
188
|
+
<div class="icon-class">aga-actions-menu</div>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="icon-item">
|
|
192
|
+
<div class="icon-display"><i class="aga-actions-edit"></i></div>
|
|
193
|
+
<div class="icon-name">edit</div>
|
|
194
|
+
<div class="icon-class">aga-actions-edit</div>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<div class="section">
|
|
200
|
+
<h2>💻 CSS Code (Embedded)</h2>
|
|
201
|
+
<p>This page includes the CSS directly in the HTML <style> tag at the top. Here's the standard way to include it:</p>
|
|
202
|
+
|
|
203
|
+
<div class="status-code" style="overflow-y: auto; max-height: 300px;">
|
|
204
|
+
/* In ag-icons.css: */
|
|
205
|
+
|
|
206
|
+
@font-face {
|
|
207
|
+
font-family: 'ag-icons';
|
|
208
|
+
font-display: swap;
|
|
209
|
+
font-style: normal;
|
|
210
|
+
font-weight: 400;
|
|
211
|
+
src: url('./ag-icons.ttf') format('truetype'),
|
|
212
|
+
url('./ag-icons.woff') format('woff'),
|
|
213
|
+
url('./ag-icons.woff2') format('woff2');
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
[class^='aga-'],[class*=' aga-'] {
|
|
217
|
+
font-family: ag-icons !important;
|
|
218
|
+
speak: none;
|
|
219
|
+
font-style: normal;
|
|
220
|
+
font-variant: normal;
|
|
221
|
+
font-weight: 400;
|
|
222
|
+
line-height: 1;
|
|
223
|
+
text-transform: none;
|
|
224
|
+
-webkit-font-smoothing: antialiased;
|
|
225
|
+
-moz-osx-font-smoothing: grayscale;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* Icon definitions (362 total): */
|
|
229
|
+
.aga-actions-add:before { content: "\f249"; }
|
|
230
|
+
.aga-account-user:before { content: "\f24b"; }
|
|
231
|
+
.aga-communication-email:before { content: "\f20a"; }
|
|
232
|
+
... and 359 more icons ...
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<div class="section">
|
|
237
|
+
<h2>📁 Project Integration</h2>
|
|
238
|
+
|
|
239
|
+
<p><strong>Step-by-step setup for your project:</strong></p>
|
|
240
|
+
|
|
241
|
+
<ol style="margin-left: 20px; line-height: 1.8;">
|
|
242
|
+
<li>Copy these 4 files to your project:
|
|
243
|
+
<ul style="margin: 10px 0 10px 20px;">
|
|
244
|
+
<li>ag-icons.ttf</li>
|
|
245
|
+
<li>ag-icons.woff</li>
|
|
246
|
+
<li>ag-icons.woff2</li>
|
|
247
|
+
<li>ag-icons.css</li>
|
|
248
|
+
</ul>
|
|
249
|
+
</li>
|
|
250
|
+
<li>Update the path in ag-icons.css if needed</li>
|
|
251
|
+
<li>Link to ag-icons.css in your HTML: <code><link rel="stylesheet" href="fonts/ag-icons.css"></code></li>
|
|
252
|
+
<li>Use icons in your HTML: <code><i class="aga-actions-add"></i></code></li>
|
|
253
|
+
</ol>
|
|
254
|
+
</div>
|
|
255
|
+
|
|
256
|
+
<div class="section">
|
|
257
|
+
<h2>📚 Resources</h2>
|
|
258
|
+
|
|
259
|
+
<ul style="margin-left: 20px; line-height: 2;">
|
|
260
|
+
<li><strong>preview.html</strong> - Interactive browser for all 362 icons</li>
|
|
261
|
+
<li><strong>index.html</strong> - Documentation page</li>
|
|
262
|
+
<li><strong>ag-icons.json</strong> - Icon metadata (names, codes, unicode)</li>
|
|
263
|
+
<li><strong>ICON-FONT-SETUP.md</strong> - Complete setup guide</li>
|
|
264
|
+
</ul>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</body>
|
|
268
|
+
</html>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>AG Icons Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 40px; background: #f5f5f5; }
|
|
9
|
+
.icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 30px 0; }
|
|
10
|
+
.icon { background: white; padding: 20px; text-align: center; border-radius: 8px; }
|
|
11
|
+
i { font-size: 48px; display: block; margin-bottom: 10px; }
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<h1>AG Icons Font Test</h1>
|
|
16
|
+
<p>All fonts loaded from: http://localhost:8000/src/assets/static/fonts/</p>
|
|
17
|
+
|
|
18
|
+
<div class="icons">
|
|
19
|
+
<div class="icon">
|
|
20
|
+
<i class="aga-actions-add"></i>
|
|
21
|
+
<p>add</p>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="icon">
|
|
24
|
+
<i class="aga-actions-search"></i>
|
|
25
|
+
<p>search</p>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="icon">
|
|
28
|
+
<i class="aga-account-user"></i>
|
|
29
|
+
<p>user</p>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="icon">
|
|
32
|
+
<i class="aga-communication-email"></i>
|
|
33
|
+
<p>email</p>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="icon">
|
|
36
|
+
<i class="aga-actions-settings"></i>
|
|
37
|
+
<p>settings</p>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<h2>Server Info</h2>
|
|
42
|
+
<p><strong>Server:</strong> Python SimpleHTTPServer</p>
|
|
43
|
+
<p><strong>Port:</strong> 8000</p>
|
|
44
|
+
<p><strong>URL:</strong> http://localhost:8000/src/assets/static/fonts/</p>
|
|
45
|
+
<p><strong>All 362 icons available!</strong></p>
|
|
46
|
+
</body>
|
|
47
|
+
</html>
|