-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
822 lines (734 loc) · 26.8 KB
/
index.html
File metadata and controls
822 lines (734 loc) · 26.8 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GlassKit – Glassmorphism CSS Component Library for Modern Web UIs</title>
<meta name="description" content="GlassKit is a modern glassmorphism CSS component library with 24 components, dark and light mode, design tokens, and no JavaScript dependencies.">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#0c1a24">
<link rel="canonical" href="https://glasskit.jungherz.com/">
<link rel="alternate" hreflang="en" href="https://glasskit.jungherz.com/">
<link rel="alternate" hreflang="de" href="https://glasskit.jungherz.com/de/">
<link rel="alternate" hreflang="x-default" href="https://glasskit.jungherz.com/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="GlassKit">
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="de_DE">
<meta property="og:title" content="GlassKit – Glassmorphism CSS Component Library for Modern Web UIs">
<meta property="og:description" content="Build modern glassmorphism interfaces with 24 CSS components, design tokens, dark and light mode, and zero dependencies.">
<meta property="og:url" content="https://glasskit.jungherz.com/">
<meta property="og:image" content="https://glasskit.jungherz.com/intro_screenshot.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="GlassKit – Glassmorphism CSS Component Library for Modern Web UIs">
<meta name="twitter:description" content="A modern CSS-only glassmorphism component library with 24 components, theming, and no dependencies.">
<meta name="twitter:image" content="https://glasskit.jungherz.com/intro_screenshot.jpg">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "GlassKit",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Web",
"url": "https://glasskit.jungherz.com/",
"image": "https://glasskit.jungherz.com/intro_screenshot.jpg",
"description": "GlassKit is a modern glassmorphism CSS component library with 24 components, dark and light mode, design tokens, and no dependencies.",
"publisher": {
"@type": "Organization",
"name": "Jungherz GmbH",
"url": "https://www.jungherz.com"
}
}
</script>
<style>
/* ============================================================
RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--idx-bg: #0c1a24;
--idx-bg-card: rgba(255,255,255,0.03);
--idx-bg-card-border: rgba(255,255,255,0.06);
--idx-text: #e0e8ef;
--idx-text-muted: rgba(255,255,255,0.50);
--idx-text-heading: #ffffff;
--idx-accent: #f5a623;
--idx-accent-glow: rgba(245,166,35,0.12);
--idx-accent-border: rgba(245,166,35,0.20);
--idx-link: #f5a623;
--idx-link-hover: #ffc46b;
--idx-code-bg: rgba(245,166,35,0.08);
--idx-divider: rgba(255,255,255,0.08);
--idx-phone-shadow: rgba(0,0,0,0.5);
--idx-btn-bg: linear-gradient(135deg, #f5a623 0%, #d4692a 100%);
--idx-btn-shadow: 0 4px 20px rgba(230,130,40,0.3);
--idx-btn-text: #ffffff;
--idx-ghost-bg: rgba(255,255,255,0.06);
--idx-ghost-border: rgba(255,255,255,0.12);
--idx-ghost-text: rgba(255,255,255,0.7);
}
[data-theme="light"] {
--idx-bg: #f0f4f8;
--idx-bg-card: rgba(255,255,255,0.7);
--idx-bg-card-border: rgba(0,0,0,0.06);
--idx-text: #1a2a36;
--idx-text-muted: rgba(26,42,54,0.50);
--idx-text-heading: #0f1f2a;
--idx-accent: #e8852d;
--idx-accent-glow: rgba(232,133,45,0.10);
--idx-accent-border: rgba(232,133,45,0.20);
--idx-link: #d4692a;
--idx-link-hover: #c05a1e;
--idx-code-bg: rgba(232,133,45,0.08);
--idx-divider: rgba(0,0,0,0.06);
--idx-phone-shadow: rgba(0,0,0,0.12);
--idx-btn-bg: linear-gradient(135deg, #e8852d 0%, #c96a1e 100%);
--idx-btn-shadow: 0 4px 20px rgba(200,100,30,0.2);
--idx-btn-text: #ffffff;
--idx-ghost-bg: rgba(0,0,0,0.03);
--idx-ghost-border: rgba(0,0,0,0.08);
--idx-ghost-text: rgba(26,42,54,0.6);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
background: var(--idx-bg);
color: var(--idx-text);
min-height: 100vh;
transition: background 0.4s ease, color 0.3s ease;
-webkit-font-smoothing: antialiased;
}
/* ============================================================
HEADER
============================================================ */
.header {
padding: 32px 40px;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1280px;
margin: 0 auto;
}
.header__brand {
display: flex;
align-items: center;
gap: 12px;
}
.header__logo {
width: 44px; height: 44px;
display: flex; align-items: center; justify-content: center;
font-size: 38px;
line-height: 1;
user-select: none;
}
.header__title {
font-size: 16px;
font-weight: 700;
color: var(--idx-text-heading);
letter-spacing: -0.3px;
}
.header__version {
font-size: 11px;
font-weight: 600;
color: var(--idx-accent);
background: var(--idx-accent-glow);
border: 1px solid var(--idx-accent-border);
padding: 2px 8px;
border-radius: 9999px;
margin-left: 8px;
}
.header__actions {
display: flex; gap: 8px; align-items: center;
}
.lang-switch {
display: flex; align-items: center;
font-size: 13px; font-weight: 600;
color: var(--idx-text-muted);
text-decoration: none;
gap: 4px;
padding: 6px 12px;
border-radius: 9999px;
background: var(--idx-ghost-bg);
border: 1px solid var(--idx-ghost-border);
transition: all 0.2s;
}
.lang-switch:hover {
color: var(--idx-accent);
background: var(--idx-accent-glow);
border-color: var(--idx-accent-border);
}
.theme-btn {
width: 38px; height: 38px;
border-radius: 50%;
background: var(--idx-ghost-bg);
border: 1px solid var(--idx-ghost-border);
display: flex; align-items: center; justify-content: center;
cursor: pointer;
transition: all 0.2s;
}
.theme-btn:hover { background: var(--idx-accent-glow); transform: scale(1.05); }
.theme-btn svg {
width: 18px; height: 18px;
fill: none; stroke: var(--idx-text); stroke-width: 2;
stroke-linecap: round; stroke-linejoin: round;
}
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: block; }
[data-theme="light"] .theme-btn .icon-sun { display: block; }
[data-theme="light"] .theme-btn .icon-moon { display: none; }
/* ============================================================
HERO SECTION
============================================================ */
.hero {
max-width: 1280px;
margin: 0 auto;
padding: 40px 40px 80px;
display: flex;
gap: 64px;
align-items: flex-start;
}
/* ---- Info Side ---- */
.hero__info {
flex: 1;
min-width: 320px;
padding-top: 24px;
}
.hero__badge-row {
display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.hero__badge {
display: inline-flex; align-items: center;
padding: 4px 12px;
border-radius: 9999px;
font-size: 12px; font-weight: 600;
background: var(--idx-accent-glow);
color: var(--idx-accent);
border: 1px solid var(--idx-accent-border);
}
.hero__headline {
font-size: 42px;
font-weight: 700;
line-height: 1.15;
color: var(--idx-text-heading);
letter-spacing: -0.8px;
margin-bottom: 16px;
}
.hero__headline span {
background: linear-gradient(135deg, #f5a623, #e07a24);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero__description {
font-size: 17px;
line-height: 1.7;
color: var(--idx-text-muted);
margin-bottom: 32px;
max-width: 480px;
}
.hero__cta-row {
display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap;
}
.btn-primary {
display: inline-flex; align-items: center; gap: 8px;
padding: 14px 28px;
background: var(--idx-btn-bg);
color: var(--idx-btn-text);
font-size: 15px; font-weight: 600;
border: none; border-radius: 14px;
cursor: pointer;
text-decoration: none;
box-shadow: var(--idx-btn-shadow);
transition: all 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-primary svg {
width: 18px; height: 18px;
fill: none; stroke: white; stroke-width: 2;
stroke-linecap: round; stroke-linejoin: round;
}
.btn-ghost {
display: inline-flex; align-items: center; gap: 8px;
padding: 14px 28px;
background: var(--idx-ghost-bg);
color: var(--idx-ghost-text);
font-size: 15px; font-weight: 600;
border: 1px solid var(--idx-ghost-border);
border-radius: 14px;
cursor: pointer;
text-decoration: none;
transition: all 0.25s;
}
.btn-ghost:hover {
background: var(--idx-accent-glow);
color: var(--idx-accent);
border-color: var(--idx-accent-border);
transform: translateY(-2px);
}
.btn-ghost svg {
width: 18px; height: 18px;
fill: none; stroke: currentColor; stroke-width: 2;
stroke-linecap: round; stroke-linejoin: round;
}
/* ---- Feature List ---- */
.features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 48px;
}
.feature-card {
padding: 20px;
border-radius: 16px;
background: var(--idx-bg-card);
border: 1px solid var(--idx-bg-card-border);
transition: all 0.2s;
}
.feature-card:hover {
border-color: var(--idx-accent-border);
background: var(--idx-accent-glow);
}
.feature-card__icon {
width: 32px; height: 32px;
margin-bottom: 10px;
display: flex; align-items: center; justify-content: center;
}
.feature-card__icon svg {
width: 24px; height: 24px;
fill: none; stroke: var(--idx-accent); stroke-width: 1.8;
stroke-linecap: round; stroke-linejoin: round;
}
.feature-card__title {
font-size: 14px; font-weight: 600;
color: var(--idx-text-heading);
margin-bottom: 4px;
}
.feature-card__desc {
font-size: 13px;
color: var(--idx-text-muted);
line-height: 1.5;
}
/* ---- File List ---- */
.file-list {
margin-top: 8px;
}
.file-list__title {
font-size: 11px; font-weight: 700;
text-transform: uppercase; letter-spacing: 1.5px;
color: var(--idx-text-muted);
margin-bottom: 12px;
}
.file-item {
display: flex; align-items: center; gap: 12px;
padding: 12px 16px;
border-radius: 12px;
background: var(--idx-bg-card);
border: 1px solid var(--idx-bg-card-border);
margin-bottom: 8px;
transition: all 0.15s;
}
.file-item:hover {
border-color: var(--idx-accent-border);
}
.file-item__icon {
width: 32px; height: 32px;
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.file-item__icon--css {
background: rgba(66, 153, 225, 0.12);
}
.file-item__icon--css svg { stroke: #4299e5; }
.file-item__icon--html {
background: rgba(245, 166, 35, 0.12);
}
.file-item__icon--html svg { stroke: #f5a623; }
.file-item__icon svg {
width: 16px; height: 16px;
fill: none; stroke-width: 2;
stroke-linecap: round; stroke-linejoin: round;
}
.file-item__name {
font-size: 14px; font-weight: 600;
color: var(--idx-text-heading);
}
.file-item__desc {
font-size: 12px;
color: var(--idx-text-muted);
}
.file-item__size {
margin-left: auto;
font-size: 12px; font-weight: 500;
color: var(--idx-text-muted);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
/* ============================================================
PHONE FRAME
============================================================ */
.hero__phone {
flex-shrink: 0;
position: sticky;
top: 40px;
}
/* Phone Wrapper – carries the shadow & frame */
.phone-wrapper {
position: relative;
flex-shrink: 0;
border-radius: 52px;
box-shadow:
0 0 0 8px #1c1c1e,
0 0 0 10px #3a3a3c,
0 0 0 11px #1c1c1e,
0 32px 80px rgba(0, 0, 0, 0.55),
0 16px 40px rgba(0, 0, 0, 0.35),
0 4px 16px rgba(0, 0, 0, 0.25);
}
.phone-frame {
width: 375px;
height: 812px;
border-radius: 52px;
overflow: hidden;
position: relative;
background: #111;
/* Overflow fix for rounded corners */
isolation: isolate;
-webkit-mask-image: -webkit-radial-gradient(white, black);
mask-image: radial-gradient(white, black);
transform: translateZ(0);
}
/* Notch */
.phone-frame::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 160px;
height: 32px;
background: #000;
border-radius: 0 0 20px 20px;
z-index: 10;
}
/* Home Indicator */
.phone-frame::after {
content: '';
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 134px;
height: 5px;
background: rgba(255,255,255,0.25);
border-radius: 9999px;
z-index: 10;
}
.phone-frame iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 0;
background: #0e2530;
display: block;
}
/* ============================================================
FOOTER
============================================================ */
.footer {
max-width: 1280px;
margin: 0 auto;
padding: 32px 40px;
border-top: 1px solid var(--idx-divider);
display: flex;
justify-content: space-between;
align-items: center;
}
.footer__text {
font-size: 13px;
color: var(--idx-text-muted);
}
.footer__text a {
color: var(--idx-link);
text-decoration: none;
}
.footer__text a:hover { color: var(--idx-link-hover); }
.footer__links {
display: flex; gap: 20px;
}
.footer__links a {
font-size: 13px; font-weight: 500;
color: var(--idx-text-muted);
text-decoration: none;
transition: color 0.15s;
}
.footer__links a:hover { color: var(--idx-accent); }
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 960px) {
.hero {
flex-direction: column-reverse;
align-items: center;
padding: 24px 20px 60px;
gap: 40px;
}
.hero__info {
min-width: unset;
text-align: center;
padding-top: 0;
}
.hero__headline { font-size: 32px; }
.hero__description {
max-width: 100%;
}
.hero__badge-row,
.hero__cta-row {
justify-content: center;
}
.features {
grid-template-columns: 1fr;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.hero__phone {
position: static;
}
.phone-frame {
width: 320px;
height: 693px;
border-radius: 44px;
box-shadow:
0 0 0 8px #1c1c1e,
0 0 0 10px #3a3a3c,
0 0 0 11px #1c1c1e,
0 24px 60px rgba(0, 0, 0, 0.50),
0 12px 32px rgba(0, 0, 0, 0.30);
}
.phone-frame iframe { border-radius: 40px; }
.phone-frame::before { width: 140px; height: 28px; }
.header { padding: 20px; }
.footer {
flex-direction: column;
gap: 12px; text-align: center;
padding: 24px 20px;
}
}
@media (max-width: 480px) {
.phone-frame {
width: 280px;
height: 607px;
border-radius: 40px;
box-shadow:
0 0 0 8px #1c1c1e,
0 0 0 10px #3a3a3c,
0 0 0 11px #1c1c1e,
0 20px 50px rgba(0, 0, 0, 0.45),
0 10px 28px rgba(0, 0, 0, 0.28);
}
.phone-frame iframe { border-radius: 36px; }
.phone-frame::before { width: 120px; height: 24px; border-radius: 0 0 16px 16px; }
.hero__headline { font-size: 26px; }
}
</style>
</head>
<body>
<!-- ============================================================
HEADER
============================================================ -->
<header class="header">
<div class="header__brand">
<div class="header__logo">🧊</div>
<span class="header__title">GlassKit</span>
<span class="header__version">v1.6.0</span>
</div>
<div class="header__actions">
<a href="de/" class="lang-switch" title="Deutsche Version">
🇩🇪 DE
</a>
<a href="https://github.com/JUNGHERZ/GlassKit" target="_blank" rel="noopener" class="theme-btn" aria-label="GitHub Repository" title="GitHub">
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none" width="18" height="18"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.418 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.009-.868-.013-1.703-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.269 2.75 1.025A9.578 9.578 0 0 1 12 6.836a9.59 9.59 0 0 1 2.504.337c1.909-1.294 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.741 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg>
</a>
<button class="theme-btn" onclick="toggleTheme()" aria-label="Toggle theme">
<svg class="icon-moon" viewBox="0 0 24 24"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
<svg class="icon-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>
</button>
</div>
</header>
<!-- ============================================================
HERO
============================================================ -->
<section class="hero">
<!-- Info Side -->
<div class="hero__info">
<div class="hero__badge-row">
<span class="hero__badge">CSS only</span>
<span class="hero__badge">24 Components</span>
<span class="hero__badge">Dark + Light</span>
</div>
<h1 class="hero__headline">
Modern UI with<br>
<span>Glassmorphism</span>
</h1>
<p class="hero__description">
A complete CSS component library with glassmorphism aesthetics – built by Jungherz GmbH.
No dependencies, full control via Design Tokens, Dark & Light mode out of the box.
</p>
<div class="hero__cta-row">
<a href="docs.html" class="btn-primary">
<svg viewBox="0 0 24 24"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>
Documentation
</a>
<a href="showcase.html" class="btn-ghost">
<svg viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
Live Showcase
</a>
<a href="https://github.com/JUNGHERZ/GlassKit" target="_blank" rel="noopener" class="btn-ghost">
<svg viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.418 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.009-.868-.013-1.703-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.269 2.75 1.025A9.578 9.578 0 0 1 12 6.836a9.59 9.59 0 0 1 2.504.337c1.909-1.294 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.741 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg>
GitHub
</a>
</div>
<!-- Features -->
<div class="features">
<div class="feature-card">
<div class="feature-card__icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
</div>
<div class="feature-card__title">Pure CSS</div>
<div class="feature-card__desc">No build tools, no JavaScript framework required. Include one file – done.</div>
</div>
<div class="feature-card">
<div class="feature-card__icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/></svg>
</div>
<div class="feature-card__title">Dark & Light</div>
<div class="feature-card__desc">Both themes fully controlled via Design Tokens. Toggle a single attribute.</div>
</div>
<div class="feature-card">
<div class="feature-card__icon">
<svg viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/></svg>
</div>
<div class="feature-card__title">24 Components</div>
<div class="feature-card__desc">From buttons to modals to tab bars – everything a mobile app needs.</div>
</div>
<div class="feature-card">
<div class="feature-card__icon">
<svg viewBox="0 0 24 24"><path d="M7 7h10v10"/><path d="M7 17L17 7"/></svg>
</div>
<div class="feature-card__title">Themeable</div>
<div class="feature-card__desc">Custom brand colors via theme-override.css – no changes to the core library needed.</div>
</div>
</div>
<!-- File List -->
<div class="file-list">
<div class="file-list__title">Project files</div>
<div class="file-item">
<div class="file-item__icon file-item__icon--css">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">glasskit.css</div>
<div class="file-item__desc">Core library with all components & tokens</div>
</div>
<span class="file-item__size">51 KB · 8.1 KB gzip</span>
</div>
<div class="file-item">
<div class="file-item__icon file-item__icon--css">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">glasskit.min.css</div>
<div class="file-item__desc">Production build (minified)</div>
</div>
<span class="file-item__size">39 KB · 6.5 KB gzip</span>
</div>
<a href="docs.html" style="text-decoration:none; color:inherit;">
<div class="file-item">
<div class="file-item__icon file-item__icon--html">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">docs.html</div>
<div class="file-item__desc">Complete documentation & cheat sheet</div>
</div>
<span class="file-item__size">65 KB</span>
</div>
</a>
<a href="showcase.html" style="text-decoration:none; color:inherit;">
<div class="file-item">
<div class="file-item__icon file-item__icon--html">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">showcase.html</div>
<div class="file-item__desc">Interactive showcase of all components</div>
</div>
<span class="file-item__size">33 KB</span>
</div>
</a>
<div class="file-item">
<div class="file-item__icon file-item__icon--css">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">theme-override.css</div>
<div class="file-item__desc">Template for custom themes & brand colors</div>
</div>
<span class="file-item__size">3.5 KB</span>
</div>
<div class="file-item">
<div class="file-item__icon file-item__icon--html">
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
</div>
<div>
<div class="file-item__name">SKILL.md</div>
<div class="file-item__desc">AI-optimized component reference for LLMs & copilots</div>
</div>
<span class="file-item__size">48 KB</span>
</div>
</div>
</div>
<!-- Phone Frame -->
<div class="hero__phone">
<div class="phone-wrapper">
<div class="phone-frame">
<iframe src="showcase.html" title="GlassKit Showcase"></iframe>
</div>
</div>
</div>
</section>
<!-- ============================================================
FOOTER
============================================================ -->
<footer class="footer">
<div class="footer__text">
Built by <a href="https://www.jungherz.com" target="_blank" rel="noopener">Jungherz</a> with 🧊 and lots of ❤️ for detail.
</div>
<div class="footer__links">
<a href="docs.html">Documentation</a>
<a href="showcase.html">Showcase</a>
<a href="https://github.com/JUNGHERZ/GlassKit" target="_blank" rel="noopener">GitHub</a>
</div>
</footer>
<script>
function toggleTheme() {
const html = document.documentElement;
const current = html.getAttribute('data-theme');
const next = current === 'dark' ? 'light' : 'dark';
html.setAttribute('data-theme', next);
// Sync iframe theme
const iframe = document.querySelector('.phone-frame iframe');
if (iframe && iframe.contentDocument) {
iframe.contentDocument.documentElement.setAttribute('data-theme', next);
}
}
// Sync theme on iframe load
document.querySelector('.phone-frame iframe').addEventListener('load', function() {
const theme = document.documentElement.getAttribute('data-theme');
if (this.contentDocument) {
this.contentDocument.documentElement.setAttribute('data-theme', theme);
}
});
</script>
</body>
</html>