@oktis-works/cms 0.13.23 → 0.13.25

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.
@@ -0,0 +1,2653 @@
1
+ // GENERATED by scripts/generate-theme-assets.mjs — do not edit by hand.
2
+ //
3
+ // Source of truth: themes/default/ in this monorepo (the theme the web app
4
+ // actually renders and the published package carries in dist/themes/default).
5
+ // Regenerated by `bun run build`; `src/theme-assets.test.ts` fails when this
6
+ // file drifts from the directory it mirrors.
7
+ /** Complete default theme written by `okcms init` (paths relative to themes/default/). */
8
+ export const DEFAULT_THEME_FILES = {
9
+ "404.astro": `<main data-template="404" class="error-404">
10
+ <div class="container">
11
+ <h1>404</h1>
12
+ <h2>Page not found</h2>
13
+ <p>The page you are looking for does not exist or has been moved.</p>
14
+ <a href="/" class="btn btn-primary">Back to the home page</a>
15
+ </div>
16
+ </main>`,
17
+ "archive.astro": `<main data-template="archive" data-type="{{page.type}}" class="archive">
18
+ <header class="archive-header">
19
+ <div class="container">
20
+ <h1 class="archive-title">{{page.title}}</h1>
21
+ {{#if settings.theme.siteDescription}}
22
+ <p class="archive-description">{{settings.theme.siteDescription}}</p>
23
+ {{/if}}
24
+ </div>
25
+ </header>
26
+
27
+ <section class="posts-section" aria-labelledby="posts-title">
28
+ <div class="container">
29
+ {{#if items}}
30
+ <div class="posts-grid">
31
+ {{#each items}}
32
+ <article class="post-card">
33
+ {{#if thumbnail.url}}
34
+ <figure class="post-card__image">
35
+ <a href="/{{page.type}}/{{slug}}">
36
+ <img src="{{thumbnail.url}}" alt="{{thumbnail.alt}}" loading="lazy" />
37
+ </a>
38
+ </figure>
39
+ {{/if}}
40
+ <div class="post-card__content">
41
+ <header class="post-card__header">
42
+ <time class="post-card__date" datetime="{{published_at}}">
43
+ {{#if published_at}}
44
+ {{formatDate published_at}}
45
+ {{/if}}
46
+ </time>
47
+ </header>
48
+ <h2 class="post-card__title"><a href="/{{page.type}}/{{slug}}">{{title}}</a></h2>
49
+ {{#if excerpt}}
50
+ <p class="post-card__excerpt">{{excerpt}}</p>
51
+ {{/if}}
52
+ <a href="/{{page.type}}/{{slug}}" class="btn btn-outline">Continue reading</a>
53
+ </div>
54
+ </article>
55
+ {{/each}}
56
+ </div>
57
+
58
+ {{#if pagination}}
59
+ <nav class="pagination" aria-label="Pagination">
60
+ {{pagination}}
61
+ </nav>
62
+ {{/if}}
63
+ {{else}}
64
+ <p class="no-posts">No content published yet.</p>
65
+ {{/if}}
66
+ </div>
67
+ </section>
68
+ </main>`,
69
+ "dist/theme.css": `/**
70
+ * Tema Default do OkCMS — Design System CSS
71
+ * Engine: css | Isolation: manual
72
+ * Source: src/theme.css → dist/theme.css
73
+ */
74
+
75
+ /* ==========================================================================
76
+ CSS Custom Properties (Design Tokens)
77
+ ========================================================================== */
78
+
79
+ [data-theme="default"] {
80
+ /* Colors - Light theme */
81
+ --color-primary: #2563eb;
82
+ --color-primary-hover: #1d4ed8;
83
+ --color-primary-light: #dbeafe;
84
+ --color-primary-contrast: #ffffff;
85
+
86
+ --color-success: #16a34a;
87
+ --color-success-hover: #15803d;
88
+ --color-success-light: #dcfce7;
89
+
90
+ --color-warning: #f59e0b;
91
+ --color-warning-hover: #d97706;
92
+ --color-warning-light: #fef3c7;
93
+
94
+ --color-error: #dc2626;
95
+ --color-error-hover: #b91c1c;
96
+ --color-error-light: #fee2e2;
97
+
98
+ --color-ink: #111827;
99
+ --color-ink-muted: #6b7280;
100
+ --color-ink-subtle: #9ca3af;
101
+
102
+ --color-surface: #ffffff;
103
+ --color-surface-elevated: #f9fafb;
104
+ --color-surface-hover: #f3f4f6;
105
+
106
+ --color-border: #e5e7eb;
107
+ --color-border-strong: #d1d5db;
108
+
109
+ --color-focus: #2563eb;
110
+ --color-focus-ring: rgba(37, 99, 235, 0.4);
111
+
112
+ /* Typography */
113
+ --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
114
+ --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
115
+
116
+ --text-xs: 0.75rem; /* 12px */
117
+ --text-sm: 0.875rem; /* 14px */
118
+ --text-base: 1rem; /* 16px */
119
+ --text-lg: 1.125rem; /* 18px */
120
+ --text-xl: 1.25rem; /* 20px */
121
+ --text-2xl: 1.5rem; /* 24px */
122
+ --text-3xl: 1.875rem; /* 30px */
123
+ --text-4xl: 2.25rem; /* 36px */
124
+
125
+ --leading-tight: 1.1;
126
+ --leading-normal: 1.5;
127
+ --leading-relaxed: 1.625;
128
+
129
+ /* Spacing */
130
+ --space-1: 0.25rem; /* 4px */
131
+ --space-2: 0.5rem; /* 8px */
132
+ --space-3: 0.75rem; /* 12px */
133
+ --space-4: 1rem; /* 16px */
134
+ --space-5: 1.25rem; /* 20px */
135
+ --space-6: 1.5rem; /* 24px */
136
+ --space-8: 2rem; /* 32px */
137
+ --space-10: 2.5rem; /* 40px */
138
+ --space-12: 3rem; /* 48px */
139
+ --space-16: 4rem; /* 64px */
140
+
141
+ /* Border Radius */
142
+ --radius-sm: 0.25rem;
143
+ --radius-md: 0.375rem;
144
+ --radius-lg: 0.5rem;
145
+ --radius-xl: 0.75rem;
146
+ --radius-full: 9999px;
147
+
148
+ /* Shadows */
149
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
150
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
151
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
152
+
153
+ /* Transitions */
154
+ --transition-fast: 150ms ease;
155
+ --transition-normal: 250ms ease;
156
+
157
+ /* Container */
158
+ --container-max: 1200px;
159
+ --container-padding: var(--space-4);
160
+
161
+ /* Header height */
162
+ --header-height: 72px;
163
+ }
164
+
165
+ /* Dark mode support */
166
+ @media (prefers-color-scheme: dark) {
167
+ [data-theme="default"] {
168
+ --color-primary: #3b82f6;
169
+ --color-primary-hover: #60a5fa;
170
+ --color-primary-light: #1e3a5f;
171
+
172
+ --color-success: #22c55e;
173
+ --color-success-light: #14532d;
174
+
175
+ --color-warning: #fbbf24;
176
+ --color-warning-light: #422006;
177
+
178
+ --color-error: #ef4444;
179
+ --color-error-light: #7f1d1d;
180
+
181
+ --color-ink: #f9fafb;
182
+ --color-ink-muted: #9ca3af;
183
+ --color-ink-subtle: #6b7280;
184
+
185
+ --color-surface: #111827;
186
+ --color-surface-elevated: #1f2937;
187
+ --color-surface-hover: #374151;
188
+
189
+ --color-border: #374151;
190
+ --color-border-strong: #4b5563;
191
+
192
+ --color-focus: #3b82f6;
193
+ --color-focus-ring: rgba(59, 130, 246, 0.4);
194
+ }
195
+ }
196
+
197
+ /* ==========================================================================
198
+ Reset & Base
199
+ ========================================================================== */
200
+
201
+ [data-theme="default"] *,
202
+ [data-theme="default"] *::before,
203
+ [data-theme="default"] *::after {
204
+ box-sizing: border-box;
205
+ }
206
+
207
+ [data-theme="default"] {
208
+ margin: 0;
209
+ padding: 0;
210
+ font-family: var(--font-sans);
211
+ font-size: var(--text-base);
212
+ line-height: var(--leading-normal);
213
+ color: var(--color-ink);
214
+ background-color: var(--color-surface);
215
+ -webkit-font-smoothing: antialiased;
216
+ -moz-osx-font-smoothing: grayscale;
217
+ }
218
+
219
+ [data-theme="default"] html {
220
+ scroll-behavior: smooth;
221
+ }
222
+
223
+ [data-theme="default"] body {
224
+ min-height: 100vh;
225
+ display: flex;
226
+ flex-direction: column;
227
+ }
228
+
229
+ /* ==========================================================================
230
+ Typography
231
+ ========================================================================== */
232
+
233
+ [data-theme="default"] h1,
234
+ [data-theme="default"] h2,
235
+ [data-theme="default"] h3,
236
+ [data-theme="default"] h4,
237
+ [data-theme="default"] h5,
238
+ [data-theme="default"] h6 {
239
+ margin: 0 0 var(--space-4);
240
+ line-height: var(--leading-tight);
241
+ font-weight: 700;
242
+ color: var(--color-ink);
243
+ }
244
+
245
+ [data-theme="default"] h1 { font-size: var(--text-4xl); }
246
+ [data-theme="default"] h2 { font-size: var(--text-3xl); }
247
+ [data-theme="default"] h3 { font-size: var(--text-2xl); }
248
+ [data-theme="default"] h4 { font-size: var(--text-xl); }
249
+ [data-theme="default"] h5 { font-size: var(--text-lg); }
250
+ [data-theme="default"] h6 { font-size: var(--text-base); }
251
+
252
+ [data-theme="default"] p {
253
+ margin: 0 0 var(--space-4);
254
+ line-height: var(--leading-relaxed);
255
+ }
256
+
257
+ [data-theme="default"] a {
258
+ color: var(--color-primary);
259
+ text-decoration: none;
260
+ transition: color var(--transition-fast);
261
+ }
262
+
263
+ [data-theme="default"] a:hover {
264
+ color: var(--color-primary-hover);
265
+ text-decoration: underline;
266
+ }
267
+
268
+ [data-theme="default"] strong { font-weight: 600; }
269
+ [data-theme="default"] em { font-style: italic; }
270
+
271
+ [data-theme="default"] code {
272
+ font-family: var(--font-mono);
273
+ font-size: 0.875em;
274
+ background: var(--color-surface-hover);
275
+ padding: 0.125rem 0.375rem;
276
+ border-radius: var(--radius-sm);
277
+ }
278
+
279
+ [data-theme="default"] pre {
280
+ font-family: var(--font-mono);
281
+ font-size: var(--text-sm);
282
+ line-height: var(--leading-normal);
283
+ background: var(--color-ink);
284
+ color: var(--color-surface);
285
+ padding: var(--space-4);
286
+ border-radius: var(--radius-md);
287
+ overflow-x: auto;
288
+ margin: var(--space-4) 0;
289
+ }
290
+
291
+ [data-theme="default"] pre code {
292
+ background: none;
293
+ padding: 0;
294
+ font-size: inherit;
295
+ }
296
+
297
+ [data-theme="default"] blockquote {
298
+ margin: var(--space-6) 0;
299
+ padding: var(--space-4) var(--space-6);
300
+ border-left: 4px solid var(--color-primary);
301
+ background: var(--color-primary-light);
302
+ color: var(--color-ink);
303
+ border-radius: 0 var(--radius-md) var(--radius-md) 0;
304
+ }
305
+
306
+ [data-theme="default"] ul,
307
+ [data-theme="default"] ol {
308
+ margin: var(--space-4) 0;
309
+ padding-left: var(--space-6);
310
+ }
311
+
312
+ [data-theme="default"] li { margin: var(--space-2) 0; }
313
+
314
+ [data-theme="default"] hr {
315
+ border: none;
316
+ border-top: 1px solid var(--color-border);
317
+ margin: var(--space-8) 0;
318
+ }
319
+
320
+ /* ==========================================================================
321
+ Layout Utilities
322
+ ========================================================================== */
323
+
324
+ [data-theme="default"] .container {
325
+ width: 100%;
326
+ max-width: var(--container-max);
327
+ margin: 0 auto;
328
+ padding: 0 var(--container-padding);
329
+ }
330
+
331
+ /* ==========================================================================
332
+ Buttons
333
+ ========================================================================== */
334
+
335
+ [data-theme="default"] .btn {
336
+ display: inline-flex;
337
+ align-items: center;
338
+ justify-content: center;
339
+ gap: var(--space-2);
340
+ padding: var(--space-2) var(--space-5);
341
+ font-size: var(--text-sm);
342
+ font-weight: 600;
343
+ line-height: 1.5;
344
+ border: 2px solid transparent;
345
+ border-radius: var(--radius-md);
346
+ cursor: pointer;
347
+ transition: all var(--transition-fast);
348
+ text-decoration: none;
349
+ white-space: nowrap;
350
+ }
351
+
352
+ [data-theme="default"] .btn:disabled {
353
+ opacity: 0.6;
354
+ cursor: not-allowed;
355
+ }
356
+
357
+ [data-theme="default"] .btn-primary {
358
+ background: var(--color-primary);
359
+ border-color: var(--color-primary);
360
+ color: var(--color-primary-contrast);
361
+ }
362
+
363
+ [data-theme="default"] .btn-primary:hover:not(:disabled) {
364
+ background: var(--color-primary-hover);
365
+ border-color: var(--color-primary-hover);
366
+ color: var(--color-primary-contrast);
367
+ text-decoration: none;
368
+ }
369
+
370
+ [data-theme="default"] .btn-secondary {
371
+ background: var(--color-surface);
372
+ border-color: var(--color-border);
373
+ color: var(--color-ink);
374
+ }
375
+
376
+ [data-theme="default"] .btn-secondary:hover:not(:disabled) {
377
+ background: var(--color-surface-hover);
378
+ border-color: var(--color-border-strong);
379
+ text-decoration: none;
380
+ }
381
+
382
+ [data-theme="default"] .btn-outline {
383
+ background: transparent;
384
+ border-color: var(--color-primary);
385
+ color: var(--color-primary);
386
+ }
387
+
388
+ [data-theme="default"] .btn-outline:hover:not(:disabled) {
389
+ background: var(--color-primary-light);
390
+ text-decoration: none;
391
+ }
392
+
393
+ /* ==========================================================================
394
+ Forms
395
+ ========================================================================== */
396
+
397
+ [data-theme="default"] .form-group {
398
+ margin-bottom: var(--space-4);
399
+ }
400
+
401
+ [data-theme="default"] label {
402
+ display: block;
403
+ margin-bottom: var(--space-2);
404
+ font-weight: 500;
405
+ color: var(--color-ink);
406
+ }
407
+
408
+ [data-theme="default"] input[type="text"],
409
+ [data-theme="default"] input[type="email"],
410
+ [data-theme="default"] input[type="url"],
411
+ [data-theme="default"] input[type="password"],
412
+ [data-theme="default"] input[type="search"],
413
+ [data-theme="default"] textarea,
414
+ [data-theme="default"] select {
415
+ width: 100%;
416
+ padding: var(--space-2) var(--space-3);
417
+ font-size: var(--text-base);
418
+ font-family: inherit;
419
+ line-height: var(--leading-normal);
420
+ color: var(--color-ink);
421
+ background: var(--color-surface);
422
+ border: 1px solid var(--color-border);
423
+ border-radius: var(--radius-md);
424
+ transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
425
+ }
426
+
427
+ [data-theme="default"] input:focus,
428
+ [data-theme="default"] textarea:focus,
429
+ [data-theme="default"] select:focus {
430
+ outline: none;
431
+ border-color: var(--color-focus);
432
+ box-shadow: 0 0 0 3px var(--color-focus-ring);
433
+ }
434
+
435
+ [data-theme="default"] textarea {
436
+ min-height: 120px;
437
+ resize: vertical;
438
+ }
439
+
440
+ [data-theme="default"] .form-row {
441
+ display: grid;
442
+ gap: var(--space-4);
443
+ }
444
+
445
+ [data-theme="default"] .form-row.two-cols {
446
+ grid-template-columns: repeat(2, 1fr);
447
+ }
448
+
449
+ /* ==========================================================================
450
+ Site Header / Navigation
451
+ ========================================================================== */
452
+
453
+ [data-theme="default"] .site-header {
454
+ position: sticky;
455
+ top: 0;
456
+ z-index: 100;
457
+ height: var(--header-height);
458
+ background: var(--color-surface);
459
+ border-bottom: 1px solid var(--color-border);
460
+ }
461
+
462
+ [data-theme="default"] .nav {
463
+ display: flex;
464
+ align-items: center;
465
+ justify-content: space-between;
466
+ height: 100%;
467
+ max-width: var(--container-max);
468
+ margin: 0 auto;
469
+ padding: 0 var(--container-padding);
470
+ }
471
+
472
+ [data-theme="default"] .site-brand {
473
+ font-size: var(--text-xl);
474
+ font-weight: 700;
475
+ color: var(--color-ink);
476
+ text-decoration: none;
477
+ }
478
+
479
+ [data-theme="default"] .site-brand:hover {
480
+ color: var(--color-primary);
481
+ text-decoration: none;
482
+ }
483
+
484
+ [data-theme="default"] .nav-menu {
485
+ display: flex;
486
+ align-items: center;
487
+ gap: var(--space-6);
488
+ list-style: none;
489
+ margin: 0;
490
+ padding: 0;
491
+ }
492
+
493
+ [data-theme="default"] .nav-menu a {
494
+ font-size: var(--text-sm);
495
+ font-weight: 500;
496
+ color: var(--color-ink-muted);
497
+ text-decoration: none;
498
+ padding: var(--space-1) 0;
499
+ transition: color var(--transition-fast);
500
+ }
501
+
502
+ [data-theme="default"] .nav-menu a:hover {
503
+ color: var(--color-primary);
504
+ text-decoration: none;
505
+ }
506
+
507
+ /* ==========================================================================
508
+ Hero Section
509
+ ========================================================================== */
510
+
511
+ [data-theme="default"] .hero {
512
+ padding: var(--space-16) 0;
513
+ text-align: center;
514
+ background: linear-gradient(180deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
515
+ }
516
+
517
+ [data-theme="default"] .hero-content {
518
+ max-width: var(--container-max);
519
+ margin: 0 auto;
520
+ padding: 0 var(--container-padding);
521
+ width: 100%;
522
+ box-sizing: border-box;
523
+ }
524
+
525
+ [data-theme="default"] .hero h1 {
526
+ font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
527
+ margin-bottom: var(--space-4);
528
+ }
529
+
530
+ [data-theme="default"] .hero-subtitle {
531
+ font-size: var(--text-xl);
532
+ color: var(--color-ink-muted);
533
+ margin-bottom: var(--space-8);
534
+ }
535
+
536
+ [data-theme="default"] .hero .btn {
537
+ font-size: var(--text-base);
538
+ padding: var(--space-3) var(--space-8);
539
+ }
540
+
541
+ /* ==========================================================================
542
+ Sections
543
+ ========================================================================== */
544
+
545
+ [data-theme="default"] section {
546
+ padding: var(--space-12) 0;
547
+ }
548
+
549
+ [data-theme="default"] .container {
550
+ width: 100%;
551
+ max-width: var(--container-max);
552
+ margin: 0 auto;
553
+ padding: 0 var(--container-padding);
554
+ }
555
+
556
+ [data-theme="default"] .section-header {
557
+ text-align: center;
558
+ margin-bottom: var(--space-10);
559
+ }
560
+
561
+ [data-theme="default"] .section-header h2 {
562
+ font-size: var(--text-3xl);
563
+ margin-bottom: var(--space-2);
564
+ }
565
+
566
+ /* ==========================================================================
567
+ About Preview
568
+ ========================================================================== */
569
+
570
+ [data-theme="default"] .about-preview {
571
+ background: var(--color-surface-elevated);
572
+ }
573
+
574
+ [data-theme="default"] .about-content {
575
+ max-width: 720px;
576
+ margin: 0 auto var(--space-6);
577
+ text-align: center;
578
+ }
579
+
580
+ [data-theme="default"] .about-content h2 {
581
+ text-align: center;
582
+ }
583
+
584
+ /* ==========================================================================
585
+ Posts Grid / Cards
586
+ ========================================================================== */
587
+
588
+ [data-theme="default"] .posts-grid {
589
+ display: grid;
590
+ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
591
+ gap: var(--space-6);
592
+ }
593
+
594
+ [data-theme="default"] .post-card {
595
+ display: flex;
596
+ flex-direction: column;
597
+ background: var(--color-surface);
598
+ border: 1px solid var(--color-border);
599
+ border-radius: var(--radius-lg);
600
+ overflow: hidden;
601
+ transition: box-shadow var(--transition-normal), border-color var(--transition-fast);
602
+ }
603
+
604
+ [data-theme="default"] .post-card:hover {
605
+ box-shadow: var(--shadow-lg);
606
+ border-color: var(--color-border-strong);
607
+ }
608
+
609
+ [data-theme="default"] .post-card__image {
610
+ margin: 0;
611
+ aspect-ratio: 16 / 9;
612
+ overflow: hidden;
613
+ }
614
+
615
+ [data-theme="default"] .post-card__image img {
616
+ width: 100%;
617
+ height: 100%;
618
+ -o-object-fit: cover;
619
+ object-fit: cover;
620
+ transition: transform var(--transition-normal);
621
+ }
622
+
623
+ [data-theme="default"] .post-card:hover .post-card__image img {
624
+ transform: scale(1.05);
625
+ }
626
+
627
+ [data-theme="default"] .post-card__content {
628
+ display: flex;
629
+ flex-direction: column;
630
+ flex: 1;
631
+ padding: var(--space-5);
632
+ }
633
+
634
+ [data-theme="default"] .post-card__header {
635
+ margin-bottom: var(--space-2);
636
+ }
637
+
638
+ [data-theme="default"] .post-card__date {
639
+ display: inline-block;
640
+ font-size: var(--text-xs);
641
+ color: var(--color-ink-subtle);
642
+ }
643
+
644
+ [data-theme="default"] .post-card__title {
645
+ font-size: var(--text-lg);
646
+ margin: var(--space-2) 0;
647
+ line-height: var(--leading-tight);
648
+ }
649
+
650
+ [data-theme="default"] .post-card__title a {
651
+ color: var(--color-ink);
652
+ text-decoration: none;
653
+ }
654
+
655
+ [data-theme="default"] .post-card__title a:hover {
656
+ color: var(--color-primary);
657
+ text-decoration: underline;
658
+ }
659
+
660
+ [data-theme="default"] .post-card__excerpt {
661
+ flex: 1;
662
+ font-size: var(--text-sm);
663
+ color: var(--color-ink-muted);
664
+ line-height: var(--leading-relaxed);
665
+ margin-bottom: var(--space-4);
666
+ }
667
+
668
+ [data-theme="default"] .post-card .btn {
669
+ align-self: flex-start;
670
+ margin-top: auto;
671
+ }
672
+
673
+ /* ==========================================================================
674
+ Single Post
675
+ ========================================================================== */
676
+
677
+ [data-theme="default"] .post-single {
678
+ padding: var(--space-12) 0 var(--space-16);
679
+ }
680
+
681
+ [data-theme="default"] .post-header {
682
+ margin-bottom: var(--space-8);
683
+ }
684
+
685
+ [data-theme="default"] .post-title {
686
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
687
+ margin-bottom: var(--space-3);
688
+ }
689
+
690
+ [data-theme="default"] .post-meta {
691
+ display: flex;
692
+ align-items: center;
693
+ gap: var(--space-4);
694
+ font-size: var(--text-sm);
695
+ color: var(--color-ink-muted);
696
+ }
697
+
698
+ [data-theme="default"] .post-date {
699
+ font-weight: 500;
700
+ }
701
+
702
+ [data-theme="default"] .post-body {
703
+ max-width: 800px;
704
+ margin: 0 auto var(--space-12);
705
+ font-size: var(--text-lg);
706
+ line-height: var(--leading-relaxed);
707
+ }
708
+
709
+ [data-theme="default"] .post-body p {
710
+ margin-bottom: var(--space-5);
711
+ }
712
+
713
+ [data-theme="default"] .post-body h2 {
714
+ font-size: var(--text-2xl);
715
+ margin-top: var(--space-10);
716
+ margin-bottom: var(--space-4);
717
+ padding-top: var(--space-6);
718
+ border-top: 1px solid var(--color-border);
719
+ }
720
+
721
+ [data-theme="default"] .post-body h3 {
722
+ font-size: var(--text-xl);
723
+ margin-top: var(--space-8);
724
+ margin-bottom: var(--space-3);
725
+ }
726
+
727
+ [data-theme="default"] .post-body ul,
728
+ [data-theme="default"] .post-body ol {
729
+ margin: var(--space-4) 0;
730
+ padding-left: var(--space-6);
731
+ }
732
+
733
+ [data-theme="default"] .post-body blockquote {
734
+ margin: var(--space-6) 0;
735
+ padding: var(--space-4) var(--space-6);
736
+ border-left: 4px solid var(--color-primary);
737
+ background: var(--color-primary-light);
738
+ color: var(--color-ink);
739
+ border-radius: 0 var(--radius-md) var(--radius-md) 0;
740
+ }
741
+
742
+ [data-theme="default"] .post-footer {
743
+ padding-top: var(--space-8);
744
+ border-top: 1px solid var(--color-border);
745
+ }
746
+
747
+ [data-theme="default"] .post-nav {
748
+ display: flex;
749
+ justify-content: space-between;
750
+ gap: var(--space-4);
751
+ }
752
+
753
+ [data-theme="default"] .post-nav__prev,
754
+ [data-theme="default"] .post-nav__next {
755
+ display: flex;
756
+ flex-direction: column;
757
+ gap: var(--space-1);
758
+ padding: var(--space-3) var(--space-4);
759
+ border: 1px solid var(--color-border);
760
+ border-radius: var(--radius-md);
761
+ text-decoration: none;
762
+ transition: all var(--transition-fast);
763
+ }
764
+
765
+ [data-theme="default"] .post-nav__prev:hover,
766
+ [data-theme="default"] .post-nav__next:hover {
767
+ border-color: var(--color-primary);
768
+ background: var(--color-primary-light);
769
+ text-decoration: none;
770
+ }
771
+
772
+ [data-theme="default"] .post-nav__label {
773
+ font-size: var(--text-xs);
774
+ font-weight: 600;
775
+ text-transform: uppercase;
776
+ letter-spacing: 0.05em;
777
+ color: var(--color-ink-subtle);
778
+ }
779
+
780
+ [data-theme="default"] .post-nav__title {
781
+ font-size: var(--text-sm);
782
+ font-weight: 500;
783
+ color: var(--color-ink);
784
+ }
785
+
786
+ /* ==========================================================================
787
+ Page (Generic)
788
+ ========================================================================== */
789
+
790
+ [data-theme="default"] .page-header {
791
+ padding: var(--space-12) 0 var(--space-6);
792
+ border-bottom: 1px solid var(--color-border);
793
+ }
794
+
795
+ [data-theme="default"] .page-header h1 {
796
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
797
+ margin-bottom: var(--space-3);
798
+ }
799
+
800
+ [data-theme="default"] .page-excerpt {
801
+ font-size: var(--text-lg);
802
+ color: var(--color-ink-muted);
803
+ max-width: 720px;
804
+ }
805
+
806
+ [data-theme="default"] .page-content {
807
+ padding: var(--space-10) 0 var(--space-16);
808
+ }
809
+
810
+ [data-theme="default"] .entry-content h2 {
811
+ font-size: var(--text-2xl);
812
+ margin-top: var(--space-10);
813
+ margin-bottom: var(--space-4);
814
+ }
815
+
816
+ [data-theme="default"] .entry-content h3 {
817
+ font-size: var(--text-xl);
818
+ margin-top: var(--space-8);
819
+ margin-bottom: var(--space-3);
820
+ }
821
+
822
+ [data-theme="default"] .entry-content p {
823
+ margin-bottom: var(--space-5);
824
+ }
825
+
826
+ /* ==========================================================================
827
+ Archive / Blog Listing
828
+ ========================================================================== */
829
+
830
+ [data-theme="default"] .archive {
831
+ padding: var(--space-12) 0 var(--space-16);
832
+ }
833
+
834
+ [data-theme="default"] .archive-header {
835
+ text-align: center;
836
+ margin-bottom: var(--space-10);
837
+ }
838
+
839
+ [data-theme="default"] .archive-title {
840
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
841
+ margin-bottom: var(--space-3);
842
+ }
843
+
844
+ [data-theme="default"] .archive-description {
845
+ font-size: var(--text-lg);
846
+ color: var(--color-ink-muted);
847
+ max-width: 720px;
848
+ margin: 0 auto;
849
+ }
850
+
851
+ /* ==========================================================================
852
+ Pagination
853
+ ========================================================================== */
854
+
855
+ [data-theme="default"] .pagination {
856
+ display: flex;
857
+ align-items: center;
858
+ justify-content: center;
859
+ gap: var(--space-2);
860
+ margin-top: var(--space-10);
861
+ flex-wrap: wrap;
862
+ }
863
+
864
+ [data-theme="default"] .pagination a,
865
+ [data-theme="default"] .pagination span {
866
+ display: inline-flex;
867
+ align-items: center;
868
+ justify-content: center;
869
+ min-width: 44px;
870
+ height: 44px;
871
+ padding: 0 var(--space-3);
872
+ font-weight: 500;
873
+ border: 1px solid var(--color-border);
874
+ border-radius: var(--radius-md);
875
+ color: var(--color-ink);
876
+ text-decoration: none;
877
+ transition: all var(--transition-fast);
878
+ }
879
+
880
+ [data-theme="default"] .pagination a:hover {
881
+ border-color: var(--color-primary);
882
+ background: var(--color-primary-light);
883
+ color: var(--color-primary);
884
+ text-decoration: none;
885
+ }
886
+
887
+ [data-theme="default"] .pagination .current {
888
+ background: var(--color-primary);
889
+ border-color: var(--color-primary);
890
+ color: var(--color-primary-contrast);
891
+ }
892
+
893
+ /* ==========================================================================
894
+ Contact Section
895
+ ========================================================================== */
896
+
897
+ [data-theme="default"] .contact {
898
+ background: var(--color-surface-elevated);
899
+ }
900
+
901
+ [data-theme="default"] .contact h2 {
902
+ text-align: center;
903
+ margin-bottom: var(--space-2);
904
+ }
905
+
906
+ [data-theme="default"] .contact-intro {
907
+ text-align: center;
908
+ color: var(--color-ink-muted);
909
+ max-width: 720px;
910
+ margin: 0 auto var(--space-8);
911
+ }
912
+
913
+ [data-theme="default"] .contact-form {
914
+ max-width: 600px;
915
+ margin: 0 auto;
916
+ }
917
+
918
+ [data-theme="default"] .contact-form .form-group {
919
+ margin-bottom: var(--space-5);
920
+ }
921
+
922
+ /* ==========================================================================
923
+ Site Footer
924
+ ========================================================================== */
925
+
926
+ [data-theme="default"] .site-footer {
927
+ margin-top: auto;
928
+ padding: var(--space-10) 0;
929
+ background: var(--color-ink);
930
+ color: var(--color-surface);
931
+ border-top: 1px solid var(--color-border);
932
+ }
933
+
934
+ [data-theme="default"] .site-footer .container {
935
+ display: flex;
936
+ flex-direction: column;
937
+ align-items: center;
938
+ gap: var(--space-6);
939
+ text-align: center;
940
+ }
941
+
942
+ [data-theme="default"] .footer-nav {
943
+ display: flex;
944
+ flex-wrap: wrap;
945
+ align-items: center;
946
+ justify-content: center;
947
+ gap: var(--space-4) var(--space-6);
948
+ margin: 0;
949
+ padding: 0;
950
+ list-style: none;
951
+ }
952
+
953
+ [data-theme="default"] .footer-nav a {
954
+ color: var(--color-ink-subtle);
955
+ font-size: var(--text-sm);
956
+ }
957
+
958
+ [data-theme="default"] .footer-nav a:hover {
959
+ color: var(--color-primary);
960
+ }
961
+
962
+ [data-theme="default"] .copyright {
963
+ margin: 0;
964
+ font-size: var(--text-sm);
965
+ color: var(--color-ink-subtle);
966
+ }
967
+
968
+ /* ==========================================================================
969
+ Error 404
970
+ ========================================================================== */
971
+
972
+ [data-theme="default"] .error-404 {
973
+ min-height: 60vh;
974
+ display: flex;
975
+ flex-direction: column;
976
+ align-items: center;
977
+ justify-content: center;
978
+ text-align: center;
979
+ padding: var(--space-16) var(--container-padding);
980
+ }
981
+
982
+ [data-theme="default"] .error-404 h1 {
983
+ font-size: clamp(6rem, 15vw, 12rem);
984
+ font-weight: 800;
985
+ line-height: 1;
986
+ color: var(--color-primary);
987
+ margin-bottom: var(--space-4);
988
+ }
989
+
990
+ [data-theme="default"] .error-404 h2 {
991
+ font-size: var(--text-2xl);
992
+ margin-bottom: var(--space-4);
993
+ }
994
+
995
+ [data-theme="default"] .error-404 p {
996
+ font-size: var(--text-lg);
997
+ color: var(--color-ink-muted);
998
+ margin-bottom: var(--space-8);
999
+ }
1000
+
1001
+ /* ==========================================================================
1002
+ Utility Classes
1003
+ ========================================================================== */
1004
+
1005
+ [data-theme="default"] .sr-only {
1006
+ position: absolute;
1007
+ width: 1px;
1008
+ height: 1px;
1009
+ padding: 0;
1010
+ margin: -1px;
1011
+ overflow: hidden;
1012
+ clip: rect(0, 0, 0, 0);
1013
+ white-space: nowrap;
1014
+ border: 0;
1015
+ }
1016
+
1017
+ [data-theme="default"] .text-center { text-align: center; }
1018
+ [data-theme="default"] .text-left { text-align: left; }
1019
+ [data-theme="default"] .text-right { text-align: right; }
1020
+
1021
+ [data-theme="default"] .mt-0 { margin-top: 0; }
1022
+ [data-theme="default"] .mb-0 { margin-bottom: 0; }
1023
+
1024
+ [data-theme="default"] .hidden { display: none !important; }
1025
+ [data-theme="default"] .invisible { visibility: hidden; }
1026
+
1027
+ [data-theme="default"] .pagination {
1028
+ display: flex;
1029
+ align-items: center;
1030
+ justify-content: center;
1031
+ gap: 1rem;
1032
+ margin-top: 2rem;
1033
+ }
1034
+
1035
+ [data-theme="default"] .pagination a {
1036
+ color: var(--color-brand);
1037
+ font-weight: 600;
1038
+ }
1039
+
1040
+ /* ==========================================================================
1041
+ Responsive
1042
+ ========================================================================== */
1043
+
1044
+ @media (max-width: 768px) {
1045
+ [data-theme="default"] .nav-menu {
1046
+ display: none; /* Could be replaced with mobile menu toggle */
1047
+ }
1048
+
1049
+ [data-theme="default"] .posts-grid {
1050
+ grid-template-columns: 1fr;
1051
+ }
1052
+
1053
+ [data-theme="default"] .form-row.two-cols {
1054
+ grid-template-columns: 1fr;
1055
+ }
1056
+
1057
+ [data-theme="default"] .post-nav {
1058
+ flex-direction: column;
1059
+ }
1060
+ }
1061
+
1062
+ /* ==========================================================================
1063
+ Print
1064
+ ========================================================================== */
1065
+
1066
+ @media print {
1067
+ [data-theme="default"] .site-header,
1068
+ [data-theme="default"] .site-footer,
1069
+ [data-theme="default"] .btn,
1070
+ [data-theme="default"] .post-nav,
1071
+ [data-theme="default"] .pagination {
1072
+ display: none !important;
1073
+ }
1074
+
1075
+ [data-theme="default"] .post-body {
1076
+ max-width: 100%;
1077
+ }
1078
+
1079
+ [data-theme="default"] a {
1080
+ text-decoration: underline;
1081
+ color: var(--color-ink);
1082
+ }
1083
+ }
1084
+ `,
1085
+ "index.astro": `<main data-template="index" data-type="{{page.type}}" class="page">
1086
+ <header class="page-header">
1087
+ <div class="container">
1088
+ <h1>{{settings.theme.siteTitle || page.title}}</h1>
1089
+ {{#if settings.theme.siteDescription}}
1090
+ <p class="page-description">{{settings.theme.siteDescription}}</p>
1091
+ {{/if}}
1092
+ </div>
1093
+ </header>
1094
+
1095
+ <div class="page-content container">
1096
+ {{#if (field "content")}}
1097
+ <div class="entry-content">{{{field "content"}}}</div>
1098
+ {{else if content.text}}
1099
+ <p>{{content.text}}</p>
1100
+ {{/if}}
1101
+
1102
+ {{#if items}}
1103
+ <section class="listing">
1104
+ {{#each items}}
1105
+ <article class="card entry entry--item">
1106
+ <h2 class="entry__title"><a href="/{{slug}}">{{title}}</a></h2>
1107
+ {{#if excerpt}}<p class="entry__excerpt">{{excerpt}}</p>{{/if}}
1108
+ </article>
1109
+ {{/each}}
1110
+ </section>
1111
+ {{/if}}
1112
+ </div>
1113
+ </main>
1114
+ `,
1115
+ "page-about.astro": `<main data-template="page-about" data-type="page" class="page-about">
1116
+ <header class="site-header">
1117
+ <nav class="nav" role="navigation" aria-label="Main navigation">
1118
+ <a href="/" class="site-brand" aria-label="Home">
1119
+ {{site.title}}
1120
+ </a>
1121
+ <ul class="nav-menu">
1122
+ <li><a href="/about">{{#if menus.header.bySlug.about}}{{menus.header.bySlug.about.label}}{{else}}About{{/if}}</a></li>
1123
+ <li><a href="#contact">Contact</a></li>
1124
+ <li><a href="/blog">{{#if menus.header.bySlug.blog}}{{menus.header.bySlug.blog.label}}{{else}}Blog{{/if}}</a></li>
1125
+ </ul>
1126
+ </nav>
1127
+ </header>
1128
+
1129
+ <section class="page-header">
1130
+ <div class="container">
1131
+ <h1>{{field "title"}}</h1>
1132
+ {{#if (field "excerpt")}}
1133
+ <p class="page-excerpt">{{field "excerpt"}}</p>
1134
+ {{/if}}
1135
+ </div>
1136
+ </header>
1137
+
1138
+ <div class="page-content container">
1139
+ {{#if (field "content")}}
1140
+ <div class="entry-content">{{{field "content"}}}</div>
1141
+ {{else if (field "blocks")}}
1142
+ <div class="entry-content">
1143
+ {{#each fields.blocks}}
1144
+ {{#if (eq type 'heading')}}
1145
+ <h{{level}}>{{content}}</h{{level}}>
1146
+ {{else if (eq type 'paragraph')}}
1147
+ <p>{{content}}</p>
1148
+ {{else if (eq type 'image')}}
1149
+ <figure><img src="{{content.url}}" alt="{{content.alt}}" /></figure>
1150
+ {{/if}}
1151
+ {{/each}}
1152
+ </div>
1153
+ {{/if}}
1154
+ </div>
1155
+ </main>
1156
+
1157
+ <footer class="site-footer" role="contentinfo">
1158
+ <div class="container">
1159
+ <nav class="footer-nav" aria-label="Footer navigation">
1160
+ {{#each menus.footer.items}}
1161
+ <a href="{{url}}">{{label}}</a>
1162
+ {{/each}}
1163
+ </nav>
1164
+ <p class="copyright">&copy; {{new Date().getFullYear()}} {{site.title}}. All rights reserved.</p>
1165
+ </div>
1166
+ </footer>
1167
+ `,
1168
+ "page-blog.astro": `<main data-template="page-blog" data-type="page" class="page-blog">
1169
+ <header class="page-header">
1170
+ <div class="container">
1171
+ <h1>{{field "title"}}</h1>
1172
+ {{#if (field "description")}}
1173
+ <p class="page-description">{{field "description"}}</p>
1174
+ {{/if}}
1175
+ </div>
1176
+ </header>
1177
+
1178
+ <section class="posts-section" aria-labelledby="posts-title">
1179
+ <div class="container">
1180
+ {{#if items}}
1181
+ <div class="posts-grid">
1182
+ {{#each items}}
1183
+ <article class="post-card">
1184
+ {{#if thumbnail.url}}
1185
+ <figure class="post-card__image">
1186
+ <a href="/blog/{{slug}}">
1187
+ <img src="{{thumbnail.url}}" alt="{{thumbnail.alt}}" loading="lazy" />
1188
+ </a>
1189
+ </figure>
1190
+ {{/if}}
1191
+ <div class="post-card__content">
1192
+ <header class="post-card__header">
1193
+ <time class="post-card__date" datetime="{{published_at}}">
1194
+ {{#if published_at}}
1195
+ {{formatDate published_at}}
1196
+ {{/if}}
1197
+ </time>
1198
+ </header>
1199
+ <h2 class="post-card__title"><a href="/blog/{{slug}}">{{title}}</a></h2>
1200
+ {{#if excerpt}}
1201
+ <p class="post-card__excerpt">{{excerpt}}</p>
1202
+ {{/if}}
1203
+ <a href="/blog/{{slug}}" class="btn btn-outline">Continue reading</a>
1204
+ </div>
1205
+ </article>
1206
+ {{/each}}
1207
+ </div>
1208
+
1209
+ {{#if pagination}}
1210
+ <nav class="pagination" aria-label="Pagination">
1211
+ {{pagination}}
1212
+ </nav>
1213
+ {{/if}}
1214
+ {{else}}
1215
+ <p class="no-posts">No articles published yet.</p>
1216
+ {{/if}}
1217
+ </div>
1218
+ </section>
1219
+ </main>
1220
+ `,
1221
+ "page-contact.astro": `<main data-template="page-contact" data-type="page" class="page-contact">
1222
+ <header class="site-header">
1223
+ <nav class="nav" role="navigation" aria-label="Main navigation">
1224
+ <a href="/" class="site-brand" aria-label="Home">
1225
+ {{site.title}}
1226
+ </a>
1227
+ <ul class="nav-menu">
1228
+ <li><a href="/about">{{#if menus.header.bySlug.about}}{{menus.header.bySlug.about.label}}{{else}}About{{/if}}</a></li>
1229
+ <li><a href="#contact">Contact</a></li>
1230
+ <li><a href="/blog">{{#if menus.header.bySlug.blog}}{{menus.header.bySlug.blog.label}}{{else}}Blog{{/if}}</a></li>
1231
+ </ul>
1232
+ </nav>
1233
+ </header>
1234
+
1235
+ <section class="page-header">
1236
+ <div class="container">
1237
+ <h1>{{field "title"}}</h1>
1238
+ {{#if (field "excerpt")}}
1239
+ <p class="page-excerpt">{{field "excerpt"}}</p>
1240
+ {{/if}}
1241
+ </div>
1242
+ </section>
1243
+
1244
+ <section class="contact" id="contact" aria-labelledby="contact-title">
1245
+ <div class="container">
1246
+ <h2 id="contact-title">Get in Touch</h2>
1247
+ <p class="contact-intro">{{settings.contactText || 'Fill out the form or send us an email at hello@example.com — we would love to hear from you.'}}</p>
1248
+ <form class="contact-form" action="mailto:hello@example.com" method="POST" enctype="text/plain">
1249
+ <div class="form-group">
1250
+ <label for="contact-name">Name</label>
1251
+ <input type="text" id="contact-name" name="name" required />
1252
+ </div>
1253
+ <div class="form-group">
1254
+ <label for="contact-email">E-mail</label>
1255
+ <input type="email" id="contact-email" name="email" required />
1256
+ </div>
1257
+ <div class="form-group">
1258
+ <label for="contact-message">Message</label>
1259
+ <textarea id="contact-message" name="message" rows="5" required></textarea>
1260
+ </div>
1261
+ <button type="submit" class="btn btn-primary">Send</button>
1262
+ </form>
1263
+ </div>
1264
+ </section>
1265
+ </main>
1266
+
1267
+ <footer class="site-footer" role="contentinfo">
1268
+ <div class="container">
1269
+ <nav class="footer-nav" aria-label="Footer navigation">
1270
+ {{#each menus.footer.items}}
1271
+ <a href="{{url}}">{{label}}</a>
1272
+ {{/each}}
1273
+ </nav>
1274
+ <p class="copyright">&copy; {{new Date().getFullYear()}} {{site.title}}. All rights reserved.</p>
1275
+ </div>
1276
+ </footer>
1277
+ `,
1278
+ "page-home.astro": `<main data-template="page-home" data-type="page" class="page-home">
1279
+ <header class="site-header">
1280
+ <nav class="nav" role="navigation" aria-label="Main navigation">
1281
+ <a href="/" class="site-brand" aria-label="Home">
1282
+ {{site.title}}
1283
+ </a>
1284
+ <ul class="nav-menu">
1285
+ <li><a href="/about">{{#if menus.header.bySlug.about}}{{menus.header.bySlug.about.label}}{{else}}About{{/if}}</a></li>
1286
+ <li><a href="#contact">Contact</a></li>
1287
+ <li><a href="/blog">{{#if menus.header.bySlug.blog}}{{menus.header.bySlug.blog.label}}{{else}}Blog{{/if}}</a></li>
1288
+ </ul>
1289
+ </nav>
1290
+ </header>
1291
+
1292
+ <section class="hero" id="hero" aria-labelledby="hero-title">
1293
+ <div class="hero-content">
1294
+ <h1 id="hero-title">{{field "title"}}</h1>
1295
+ {{#if (field "subtitle")}}
1296
+ <p class="hero-subtitle">{{field "subtitle"}}</p>
1297
+ {{/if}}
1298
+ <a href="/blog" class="btn btn-primary" role="button">View Blog</a>
1299
+ </div>
1300
+ </section>
1301
+
1302
+ <section class="about-preview" id="about" aria-labelledby="about-title">
1303
+ <div class="container">
1304
+ <h2 id="about-title">About Us</h2>
1305
+ {{#if (field "aboutPreview.html")}}
1306
+ <div class="about-content">{{{field "aboutPreview.html"}}}</div>
1307
+ {{else}}
1308
+ <p>About section content will appear here when configured.</p>
1309
+ {{/if}}
1310
+ <a href="/about" class="btn btn-secondary">Read more →</a>
1311
+ </div>
1312
+ </section>
1313
+
1314
+ <section class="latest-posts" aria-labelledby="latest-title">
1315
+ <div class="container">
1316
+ <header class="section-header">
1317
+ <h2 id="latest-title">Latest Articles</h2>
1318
+ </header>
1319
+ {{#if items}}
1320
+ <div class="posts-grid">
1321
+ {{#each items}}
1322
+ <article class="post-card">
1323
+ {{#if thumbnail.url}}
1324
+ <figure class="post-card__image">
1325
+ <img src="{{thumbnail.url}}" alt="{{thumbnail.alt}}" loading="lazy" />
1326
+ </figure>
1327
+ {{/if}}
1328
+ <div class="post-card__content">
1329
+ <h3 class="post-card__title"><a href="/blog/{{slug}}">{{title}}</a></h3>
1330
+ {{#if excerpt}}
1331
+ <p class="post-card__excerpt">{{excerpt}}</p>
1332
+ {{/if}}
1333
+ <a href="/blog/{{slug}}" class="btn btn-outline">Continue reading</a>
1334
+ </div>
1335
+ </article>
1336
+ {{/each}}
1337
+ </div>
1338
+ {{else}}
1339
+ <p class="no-posts">No articles published yet.</p>
1340
+ {{/if}}
1341
+ </div>
1342
+ </section>
1343
+
1344
+ <section class="contact" id="contact" aria-labelledby="contact-title">
1345
+ <div class="container">
1346
+ <h2 id="contact-title">Get in Touch</h2>
1347
+ <p class="contact-intro">{{settings.contactText || 'Fill out the form or send us an email at hello@example.com — we would love to hear from you.'}}</p>
1348
+ <form class="contact-form" action="mailto:hello@example.com" method="POST" enctype="text/plain">
1349
+ <div class="form-group">
1350
+ <label for="contact-name">Name</label>
1351
+ <input type="text" id="contact-name" name="name" required />
1352
+ </div>
1353
+ <div class="form-group">
1354
+ <label for="contact-email">E-mail</label>
1355
+ <input type="email" id="contact-email" name="email" required />
1356
+ </div>
1357
+ <div class="form-group">
1358
+ <label for="contact-message">Message</label>
1359
+ <textarea id="contact-message" name="message" rows="5" required></textarea>
1360
+ </div>
1361
+ <button type="submit" class="btn btn-primary">Send</button>
1362
+ </form>
1363
+ </div>
1364
+ </section>
1365
+ </main>
1366
+
1367
+ <footer class="site-footer" role="contentinfo">
1368
+ <div class="container">
1369
+ <nav class="footer-nav" aria-label="Footer navigation">
1370
+ {{#each menus.footer.items}}
1371
+ <a href="{{url}}">{{label}}</a>
1372
+ {{/each}}
1373
+ </nav>
1374
+ <p class="copyright">&copy; {{new Date().getFullYear()}} {{site.title}}. All rights reserved.</p>
1375
+ </div>
1376
+ </footer>
1377
+ `,
1378
+ "page.astro": `<main data-template="page" data-type="{{page.type}}" class="page">
1379
+ <header class="page-header">
1380
+ <div class="container">
1381
+ <h1>{{field "title"}}</h1>
1382
+ {{#if (field "excerpt")}}
1383
+ <p class="page-excerpt">{{field "excerpt"}}</p>
1384
+ {{/if}}
1385
+ {{#if settings.theme.siteDescription}}
1386
+ <p class="site-description">{{settings.theme.siteDescription}}</p>
1387
+ {{/if}}
1388
+ </div>
1389
+ </header>
1390
+
1391
+ <div class="page-content container">
1392
+ {{#if (field "content")}}
1393
+ <div class="entry-content">{{{field "content"}}}</div>
1394
+ {{else if (field "blocks")}}
1395
+ <div class="entry-content">
1396
+ {{#each fields.blocks}}
1397
+ {{#if (eq type 'heading')}}
1398
+ <h{{level}}>{{content}}</h{{level}}>
1399
+ {{else if (eq type 'paragraph')}}
1400
+ <p>{{content}}</p>
1401
+ {{else if (eq type 'image')}}
1402
+ <figure><img src="{{content.url}}" alt="{{content.alt}}" /></figure>
1403
+ {{/if}}
1404
+ {{/each}}
1405
+ </div>
1406
+ {{/if}}
1407
+ </div>
1408
+ </main>
1409
+ `,
1410
+ "post-first-post.astro": `<article data-template="post-first-post" data-type="post" class="post post-single">
1411
+ <header class="post-header">
1412
+ <div class="container">
1413
+ <h1 class="post-title">{{field "title"}}</h1>
1414
+ <div class="post-meta">
1415
+ <time datetime="{{content.published_at}}" class="post-date">
1416
+ {{#if content.published_at}}
1417
+ {{formatDate content.published_at}}
1418
+ {{/if}}
1419
+ </time>
1420
+ </div>
1421
+ </div>
1422
+ </header>
1423
+
1424
+ <div class="post-body container">
1425
+ {{#if (field "content")}}
1426
+ <div class="entry-content">{{{field "content"}}}</div>
1427
+ {{else if (field "blocks")}}
1428
+ <div class="entry-content">
1429
+ {{#each fields.blocks}}
1430
+ {{#if (eq type 'heading')}}
1431
+ <h{{level}}>{{content}}</h{{level}}>
1432
+ {{else if (eq type 'paragraph')}}
1433
+ <p>{{content}}</p>
1434
+ {{else if (eq type 'image')}}
1435
+ <figure><img src="{{content.url}}" alt="{{content.alt}}" /></figure>
1436
+ {{/if}}
1437
+ {{/each}}
1438
+ </div>
1439
+ {{/if}}
1440
+ </div>
1441
+
1442
+ <footer class="post-footer">
1443
+ <div class="container">
1444
+ <nav class="post-nav" aria-label="Post navigation">
1445
+ {{#if prevPost}}
1446
+ <a href="/{{page.type}}/{{prevPost.slug}}" class="post-nav__prev" rel="prev">
1447
+ <span class="post-nav__label">Previous article</span>
1448
+ <span class="post-nav__title">{{prevPost.title}}</span>
1449
+ </a>
1450
+ {{/if}}
1451
+ {{#if nextPost}}
1452
+ <a href="/{{page.type}}/{{nextPost.slug}}" class="post-nav__next" rel="next">
1453
+ <span class="post-nav__label">Next article</span>
1454
+ <span class="post-nav__title">{{nextPost.title}}</span>
1455
+ </a>
1456
+ {{/if}}
1457
+ </nav>
1458
+ </div>
1459
+ </footer>
1460
+ </article>
1461
+ `,
1462
+ "post-second-post.astro": `<article data-template="post-second-post" data-type="post" class="post post-single">
1463
+ <header class="post-header">
1464
+ <div class="container">
1465
+ <h1 class="post-title">{{field "title"}}</h1>
1466
+ <div class="post-meta">
1467
+ <time datetime="{{content.published_at}}" class="post-date">
1468
+ {{#if content.published_at}}
1469
+ {{formatDate content.published_at}}
1470
+ {{/if}}
1471
+ </time>
1472
+ </div>
1473
+ </div>
1474
+ </header>
1475
+
1476
+ <div class="post-body container">
1477
+ {{#if (field "content")}}
1478
+ <div class="entry-content">{{{field "content"}}}</div>
1479
+ {{else if (field "blocks")}}
1480
+ <div class="entry-content">
1481
+ {{#each fields.blocks}}
1482
+ {{#if (eq type 'heading')}}
1483
+ <h{{level}}>{{content}}</h{{level}}>
1484
+ {{else if (eq type 'paragraph')}}
1485
+ <p>{{content}}</p>
1486
+ {{else if (eq type 'image')}}
1487
+ <figure><img src="{{content.url}}" alt="{{content.alt}}" /></figure>
1488
+ {{/if}}
1489
+ {{/each}}
1490
+ </div>
1491
+ {{/if}}
1492
+ </div>
1493
+
1494
+ <footer class="post-footer">
1495
+ <div class="container">
1496
+ <nav class="post-nav" aria-label="Post navigation">
1497
+ {{#if prevPost}}
1498
+ <a href="/{{page.type}}/{{prevPost.slug}}" class="post-nav__prev" rel="prev">
1499
+ <span class="post-nav__label">Previous article</span>
1500
+ <span class="post-nav__title">{{prevPost.title}}</span>
1501
+ </a>
1502
+ {{/if}}
1503
+ {{#if nextPost}}
1504
+ <a href="/{{page.type}}/{{nextPost.slug}}" class="post-nav__next" rel="next">
1505
+ <span class="post-nav__label">Next article</span>
1506
+ <span class="post-nav__title">{{nextPost.title}}</span>
1507
+ </a>
1508
+ {{/if}}
1509
+ </nav>
1510
+ </div>
1511
+ </footer>
1512
+ </article>
1513
+ `,
1514
+ "single.astro": `<article data-template="single" data-type="{{page.type}}" class="post post-single">
1515
+ <header class="post-header">
1516
+ <div class="container">
1517
+ <h1 class="post-title">{{field "title"}}</h1>
1518
+ <div class="post-meta">
1519
+ <time datetime="{{content.published_at}}" class="post-date">
1520
+ {{#if content.published_at}}
1521
+ {{formatDate content.published_at}}
1522
+ {{/if}}
1523
+ </time>
1524
+ </div>
1525
+ </div>
1526
+ </header>
1527
+
1528
+ <div class="post-body container">
1529
+ {{#if (field "content")}}
1530
+ <div class="entry-content">{{{field "content"}}}</div>
1531
+ {{else if (field "blocks")}}
1532
+ <div class="entry-content">
1533
+ {{#each fields.blocks}}
1534
+ {{#if (eq type 'heading')}}
1535
+ <h{{level}}>{{content}}</h{{level}}>
1536
+ {{else if (eq type 'paragraph')}}
1537
+ <p>{{content}}</p>
1538
+ {{else if (eq type 'image')}}
1539
+ <figure><img src="{{content.url}}" alt="{{content.alt}}" /></figure>
1540
+ {{/if}}
1541
+ {{/each}}
1542
+ </div>
1543
+ {{/if}}
1544
+ </div>
1545
+
1546
+ <footer class="post-footer">
1547
+ <div class="container">
1548
+ <nav class="post-nav" aria-label="Post navigation">
1549
+ {{#if prevPost}}
1550
+ <a href="/{{page.type}}/{{prevPost.slug}}" class="post-nav__prev" rel="prev">
1551
+ <span class="post-nav__label">Previous article</span>
1552
+ <span class="post-nav__title">{{prevPost.title}}</span>
1553
+ </a>
1554
+ {{/if}}
1555
+ {{#if nextPost}}
1556
+ <a href="/{{page.type}}/{{nextPost.slug}}" class="post-nav__next" rel="next">
1557
+ <span class="post-nav__label">Next article</span>
1558
+ <span class="post-nav__title">{{nextPost.title}}</span>
1559
+ </a>
1560
+ {{/if}}
1561
+ </nav>
1562
+ </div>
1563
+ </footer>
1564
+ </article>
1565
+ `,
1566
+ "src/theme.css": `/**
1567
+ * Tema Default do OkCMS — Design System CSS
1568
+ * Engine: css | Isolation: manual
1569
+ * Source: src/theme.css → dist/theme.css
1570
+ */
1571
+
1572
+ /* ==========================================================================
1573
+ CSS Custom Properties (Design Tokens)
1574
+ ========================================================================== */
1575
+
1576
+ [data-theme="default"] {
1577
+ /* Colors - Light theme */
1578
+ --color-primary: #2563eb;
1579
+ --color-primary-hover: #1d4ed8;
1580
+ --color-primary-light: #dbeafe;
1581
+ --color-primary-contrast: #ffffff;
1582
+
1583
+ --color-success: #16a34a;
1584
+ --color-success-hover: #15803d;
1585
+ --color-success-light: #dcfce7;
1586
+
1587
+ --color-warning: #f59e0b;
1588
+ --color-warning-hover: #d97706;
1589
+ --color-warning-light: #fef3c7;
1590
+
1591
+ --color-error: #dc2626;
1592
+ --color-error-hover: #b91c1c;
1593
+ --color-error-light: #fee2e2;
1594
+
1595
+ --color-ink: #111827;
1596
+ --color-ink-muted: #6b7280;
1597
+ --color-ink-subtle: #9ca3af;
1598
+
1599
+ --color-surface: #ffffff;
1600
+ --color-surface-elevated: #f9fafb;
1601
+ --color-surface-hover: #f3f4f6;
1602
+
1603
+ --color-border: #e5e7eb;
1604
+ --color-border-strong: #d1d5db;
1605
+
1606
+ --color-focus: #2563eb;
1607
+ --color-focus-ring: rgba(37, 99, 235, 0.4);
1608
+
1609
+ /* Typography */
1610
+ --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1611
+ --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
1612
+
1613
+ --text-xs: 0.75rem; /* 12px */
1614
+ --text-sm: 0.875rem; /* 14px */
1615
+ --text-base: 1rem; /* 16px */
1616
+ --text-lg: 1.125rem; /* 18px */
1617
+ --text-xl: 1.25rem; /* 20px */
1618
+ --text-2xl: 1.5rem; /* 24px */
1619
+ --text-3xl: 1.875rem; /* 30px */
1620
+ --text-4xl: 2.25rem; /* 36px */
1621
+
1622
+ --leading-tight: 1.1;
1623
+ --leading-normal: 1.5;
1624
+ --leading-relaxed: 1.625;
1625
+
1626
+ /* Spacing */
1627
+ --space-1: 0.25rem; /* 4px */
1628
+ --space-2: 0.5rem; /* 8px */
1629
+ --space-3: 0.75rem; /* 12px */
1630
+ --space-4: 1rem; /* 16px */
1631
+ --space-5: 1.25rem; /* 20px */
1632
+ --space-6: 1.5rem; /* 24px */
1633
+ --space-8: 2rem; /* 32px */
1634
+ --space-10: 2.5rem; /* 40px */
1635
+ --space-12: 3rem; /* 48px */
1636
+ --space-16: 4rem; /* 64px */
1637
+
1638
+ /* Border Radius */
1639
+ --radius-sm: 0.25rem;
1640
+ --radius-md: 0.375rem;
1641
+ --radius-lg: 0.5rem;
1642
+ --radius-xl: 0.75rem;
1643
+ --radius-full: 9999px;
1644
+
1645
+ /* Shadows */
1646
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
1647
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
1648
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
1649
+
1650
+ /* Transitions */
1651
+ --transition-fast: 150ms ease;
1652
+ --transition-normal: 250ms ease;
1653
+
1654
+ /* Container */
1655
+ --container-max: 1200px;
1656
+ --container-padding: var(--space-4);
1657
+
1658
+ /* Header height */
1659
+ --header-height: 72px;
1660
+ }
1661
+
1662
+ /* Dark mode support */
1663
+ @media (prefers-color-scheme: dark) {
1664
+ [data-theme="default"] {
1665
+ --color-primary: #3b82f6;
1666
+ --color-primary-hover: #60a5fa;
1667
+ --color-primary-light: #1e3a5f;
1668
+
1669
+ --color-success: #22c55e;
1670
+ --color-success-light: #14532d;
1671
+
1672
+ --color-warning: #fbbf24;
1673
+ --color-warning-light: #422006;
1674
+
1675
+ --color-error: #ef4444;
1676
+ --color-error-light: #7f1d1d;
1677
+
1678
+ --color-ink: #f9fafb;
1679
+ --color-ink-muted: #9ca3af;
1680
+ --color-ink-subtle: #6b7280;
1681
+
1682
+ --color-surface: #111827;
1683
+ --color-surface-elevated: #1f2937;
1684
+ --color-surface-hover: #374151;
1685
+
1686
+ --color-border: #374151;
1687
+ --color-border-strong: #4b5563;
1688
+
1689
+ --color-focus: #3b82f6;
1690
+ --color-focus-ring: rgba(59, 130, 246, 0.4);
1691
+ }
1692
+ }
1693
+
1694
+ /* ==========================================================================
1695
+ Reset & Base
1696
+ ========================================================================== */
1697
+
1698
+ [data-theme="default"] *,
1699
+ [data-theme="default"] *::before,
1700
+ [data-theme="default"] *::after {
1701
+ box-sizing: border-box;
1702
+ }
1703
+
1704
+ [data-theme="default"] {
1705
+ margin: 0;
1706
+ padding: 0;
1707
+ font-family: var(--font-sans);
1708
+ font-size: var(--text-base);
1709
+ line-height: var(--leading-normal);
1710
+ color: var(--color-ink);
1711
+ background-color: var(--color-surface);
1712
+ -webkit-font-smoothing: antialiased;
1713
+ -moz-osx-font-smoothing: grayscale;
1714
+ }
1715
+
1716
+ [data-theme="default"] html {
1717
+ scroll-behavior: smooth;
1718
+ }
1719
+
1720
+ [data-theme="default"] body {
1721
+ min-height: 100vh;
1722
+ display: flex;
1723
+ flex-direction: column;
1724
+ }
1725
+
1726
+ /* ==========================================================================
1727
+ Typography
1728
+ ========================================================================== */
1729
+
1730
+ [data-theme="default"] h1,
1731
+ [data-theme="default"] h2,
1732
+ [data-theme="default"] h3,
1733
+ [data-theme="default"] h4,
1734
+ [data-theme="default"] h5,
1735
+ [data-theme="default"] h6 {
1736
+ margin: 0 0 var(--space-4);
1737
+ line-height: var(--leading-tight);
1738
+ font-weight: 700;
1739
+ color: var(--color-ink);
1740
+ }
1741
+
1742
+ [data-theme="default"] h1 { font-size: var(--text-4xl); }
1743
+ [data-theme="default"] h2 { font-size: var(--text-3xl); }
1744
+ [data-theme="default"] h3 { font-size: var(--text-2xl); }
1745
+ [data-theme="default"] h4 { font-size: var(--text-xl); }
1746
+ [data-theme="default"] h5 { font-size: var(--text-lg); }
1747
+ [data-theme="default"] h6 { font-size: var(--text-base); }
1748
+
1749
+ [data-theme="default"] p {
1750
+ margin: 0 0 var(--space-4);
1751
+ line-height: var(--leading-relaxed);
1752
+ }
1753
+
1754
+ [data-theme="default"] a {
1755
+ color: var(--color-primary);
1756
+ text-decoration: none;
1757
+ transition: color var(--transition-fast);
1758
+ }
1759
+
1760
+ [data-theme="default"] a:hover {
1761
+ color: var(--color-primary-hover);
1762
+ text-decoration: underline;
1763
+ }
1764
+
1765
+ [data-theme="default"] strong { font-weight: 600; }
1766
+ [data-theme="default"] em { font-style: italic; }
1767
+
1768
+ [data-theme="default"] code {
1769
+ font-family: var(--font-mono);
1770
+ font-size: 0.875em;
1771
+ background: var(--color-surface-hover);
1772
+ padding: 0.125rem 0.375rem;
1773
+ border-radius: var(--radius-sm);
1774
+ }
1775
+
1776
+ [data-theme="default"] pre {
1777
+ font-family: var(--font-mono);
1778
+ font-size: var(--text-sm);
1779
+ line-height: var(--leading-normal);
1780
+ background: var(--color-ink);
1781
+ color: var(--color-surface);
1782
+ padding: var(--space-4);
1783
+ border-radius: var(--radius-md);
1784
+ overflow-x: auto;
1785
+ margin: var(--space-4) 0;
1786
+ }
1787
+
1788
+ [data-theme="default"] pre code {
1789
+ background: none;
1790
+ padding: 0;
1791
+ font-size: inherit;
1792
+ }
1793
+
1794
+ [data-theme="default"] blockquote {
1795
+ margin: var(--space-6) 0;
1796
+ padding: var(--space-4) var(--space-6);
1797
+ border-left: 4px solid var(--color-primary);
1798
+ background: var(--color-primary-light);
1799
+ color: var(--color-ink);
1800
+ border-radius: 0 var(--radius-md) var(--radius-md) 0;
1801
+ }
1802
+
1803
+ [data-theme="default"] ul,
1804
+ [data-theme="default"] ol {
1805
+ margin: var(--space-4) 0;
1806
+ padding-left: var(--space-6);
1807
+ }
1808
+
1809
+ [data-theme="default"] li { margin: var(--space-2) 0; }
1810
+
1811
+ [data-theme="default"] hr {
1812
+ border: none;
1813
+ border-top: 1px solid var(--color-border);
1814
+ margin: var(--space-8) 0;
1815
+ }
1816
+
1817
+ /* ==========================================================================
1818
+ Layout Utilities
1819
+ ========================================================================== */
1820
+
1821
+ [data-theme="default"] .container {
1822
+ width: 100%;
1823
+ max-width: var(--container-max);
1824
+ margin: 0 auto;
1825
+ padding: 0 var(--container-padding);
1826
+ }
1827
+
1828
+ /* ==========================================================================
1829
+ Buttons
1830
+ ========================================================================== */
1831
+
1832
+ [data-theme="default"] .btn {
1833
+ display: inline-flex;
1834
+ align-items: center;
1835
+ justify-content: center;
1836
+ gap: var(--space-2);
1837
+ padding: var(--space-2) var(--space-5);
1838
+ font-size: var(--text-sm);
1839
+ font-weight: 600;
1840
+ line-height: 1.5;
1841
+ border: 2px solid transparent;
1842
+ border-radius: var(--radius-md);
1843
+ cursor: pointer;
1844
+ transition: all var(--transition-fast);
1845
+ text-decoration: none;
1846
+ white-space: nowrap;
1847
+ }
1848
+
1849
+ [data-theme="default"] .btn:disabled {
1850
+ opacity: 0.6;
1851
+ cursor: not-allowed;
1852
+ }
1853
+
1854
+ [data-theme="default"] .btn-primary {
1855
+ background: var(--color-primary);
1856
+ border-color: var(--color-primary);
1857
+ color: var(--color-primary-contrast);
1858
+ }
1859
+
1860
+ [data-theme="default"] .btn-primary:hover:not(:disabled) {
1861
+ background: var(--color-primary-hover);
1862
+ border-color: var(--color-primary-hover);
1863
+ color: var(--color-primary-contrast);
1864
+ text-decoration: none;
1865
+ }
1866
+
1867
+ [data-theme="default"] .btn-secondary {
1868
+ background: var(--color-surface);
1869
+ border-color: var(--color-border);
1870
+ color: var(--color-ink);
1871
+ }
1872
+
1873
+ [data-theme="default"] .btn-secondary:hover:not(:disabled) {
1874
+ background: var(--color-surface-hover);
1875
+ border-color: var(--color-border-strong);
1876
+ text-decoration: none;
1877
+ }
1878
+
1879
+ [data-theme="default"] .btn-outline {
1880
+ background: transparent;
1881
+ border-color: var(--color-primary);
1882
+ color: var(--color-primary);
1883
+ }
1884
+
1885
+ [data-theme="default"] .btn-outline:hover:not(:disabled) {
1886
+ background: var(--color-primary-light);
1887
+ text-decoration: none;
1888
+ }
1889
+
1890
+ /* ==========================================================================
1891
+ Forms
1892
+ ========================================================================== */
1893
+
1894
+ [data-theme="default"] .form-group {
1895
+ margin-bottom: var(--space-4);
1896
+ }
1897
+
1898
+ [data-theme="default"] label {
1899
+ display: block;
1900
+ margin-bottom: var(--space-2);
1901
+ font-weight: 500;
1902
+ color: var(--color-ink);
1903
+ }
1904
+
1905
+ [data-theme="default"] input[type="text"],
1906
+ [data-theme="default"] input[type="email"],
1907
+ [data-theme="default"] input[type="url"],
1908
+ [data-theme="default"] input[type="password"],
1909
+ [data-theme="default"] input[type="search"],
1910
+ [data-theme="default"] textarea,
1911
+ [data-theme="default"] select {
1912
+ width: 100%;
1913
+ padding: var(--space-2) var(--space-3);
1914
+ font-size: var(--text-base);
1915
+ font-family: inherit;
1916
+ line-height: var(--leading-normal);
1917
+ color: var(--color-ink);
1918
+ background: var(--color-surface);
1919
+ border: 1px solid var(--color-border);
1920
+ border-radius: var(--radius-md);
1921
+ transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
1922
+ }
1923
+
1924
+ [data-theme="default"] input:focus,
1925
+ [data-theme="default"] textarea:focus,
1926
+ [data-theme="default"] select:focus {
1927
+ outline: none;
1928
+ border-color: var(--color-focus);
1929
+ box-shadow: 0 0 0 3px var(--color-focus-ring);
1930
+ }
1931
+
1932
+ [data-theme="default"] textarea {
1933
+ min-height: 120px;
1934
+ resize: vertical;
1935
+ }
1936
+
1937
+ [data-theme="default"] .form-row {
1938
+ display: grid;
1939
+ gap: var(--space-4);
1940
+ }
1941
+
1942
+ [data-theme="default"] .form-row.two-cols {
1943
+ grid-template-columns: repeat(2, 1fr);
1944
+ }
1945
+
1946
+ /* ==========================================================================
1947
+ Site Header / Navigation
1948
+ ========================================================================== */
1949
+
1950
+ [data-theme="default"] .site-header {
1951
+ position: sticky;
1952
+ top: 0;
1953
+ z-index: 100;
1954
+ height: var(--header-height);
1955
+ background: var(--color-surface);
1956
+ border-bottom: 1px solid var(--color-border);
1957
+ }
1958
+
1959
+ [data-theme="default"] .nav {
1960
+ display: flex;
1961
+ align-items: center;
1962
+ justify-content: space-between;
1963
+ height: 100%;
1964
+ max-width: var(--container-max);
1965
+ margin: 0 auto;
1966
+ padding: 0 var(--container-padding);
1967
+ }
1968
+
1969
+ [data-theme="default"] .site-brand {
1970
+ font-size: var(--text-xl);
1971
+ font-weight: 700;
1972
+ color: var(--color-ink);
1973
+ text-decoration: none;
1974
+ }
1975
+
1976
+ [data-theme="default"] .site-brand:hover {
1977
+ color: var(--color-primary);
1978
+ text-decoration: none;
1979
+ }
1980
+
1981
+ [data-theme="default"] .nav-menu {
1982
+ display: flex;
1983
+ align-items: center;
1984
+ gap: var(--space-6);
1985
+ list-style: none;
1986
+ margin: 0;
1987
+ padding: 0;
1988
+ }
1989
+
1990
+ [data-theme="default"] .nav-menu a {
1991
+ font-size: var(--text-sm);
1992
+ font-weight: 500;
1993
+ color: var(--color-ink-muted);
1994
+ text-decoration: none;
1995
+ padding: var(--space-1) 0;
1996
+ transition: color var(--transition-fast);
1997
+ }
1998
+
1999
+ [data-theme="default"] .nav-menu a:hover {
2000
+ color: var(--color-primary);
2001
+ text-decoration: none;
2002
+ }
2003
+
2004
+ /* ==========================================================================
2005
+ Hero Section
2006
+ ========================================================================== */
2007
+
2008
+ [data-theme="default"] .hero {
2009
+ padding: var(--space-16) 0;
2010
+ text-align: center;
2011
+ background: linear-gradient(180deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
2012
+ }
2013
+
2014
+ [data-theme="default"] .hero-content {
2015
+ max-width: var(--container-max);
2016
+ margin: 0 auto;
2017
+ padding: 0 var(--container-padding);
2018
+ width: 100%;
2019
+ box-sizing: border-box;
2020
+ }
2021
+
2022
+ [data-theme="default"] .hero h1 {
2023
+ font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
2024
+ margin-bottom: var(--space-4);
2025
+ }
2026
+
2027
+ [data-theme="default"] .hero-subtitle {
2028
+ font-size: var(--text-xl);
2029
+ color: var(--color-ink-muted);
2030
+ margin-bottom: var(--space-8);
2031
+ }
2032
+
2033
+ [data-theme="default"] .hero .btn {
2034
+ font-size: var(--text-base);
2035
+ padding: var(--space-3) var(--space-8);
2036
+ }
2037
+
2038
+ /* ==========================================================================
2039
+ Sections
2040
+ ========================================================================== */
2041
+
2042
+ [data-theme="default"] section {
2043
+ padding: var(--space-12) 0;
2044
+ }
2045
+
2046
+ [data-theme="default"] .container {
2047
+ width: 100%;
2048
+ max-width: var(--container-max);
2049
+ margin: 0 auto;
2050
+ padding: 0 var(--container-padding);
2051
+ }
2052
+
2053
+ [data-theme="default"] .section-header {
2054
+ text-align: center;
2055
+ margin-bottom: var(--space-10);
2056
+ }
2057
+
2058
+ [data-theme="default"] .section-header h2 {
2059
+ font-size: var(--text-3xl);
2060
+ margin-bottom: var(--space-2);
2061
+ }
2062
+
2063
+ /* ==========================================================================
2064
+ About Preview
2065
+ ========================================================================== */
2066
+
2067
+ [data-theme="default"] .about-preview {
2068
+ background: var(--color-surface-elevated);
2069
+ }
2070
+
2071
+ [data-theme="default"] .about-content {
2072
+ max-width: 720px;
2073
+ margin: 0 auto var(--space-6);
2074
+ text-align: center;
2075
+ }
2076
+
2077
+ [data-theme="default"] .about-content h2 {
2078
+ text-align: center;
2079
+ }
2080
+
2081
+ /* ==========================================================================
2082
+ Posts Grid / Cards
2083
+ ========================================================================== */
2084
+
2085
+ [data-theme="default"] .posts-grid {
2086
+ display: grid;
2087
+ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
2088
+ gap: var(--space-6);
2089
+ }
2090
+
2091
+ [data-theme="default"] .post-card {
2092
+ display: flex;
2093
+ flex-direction: column;
2094
+ background: var(--color-surface);
2095
+ border: 1px solid var(--color-border);
2096
+ border-radius: var(--radius-lg);
2097
+ overflow: hidden;
2098
+ transition: box-shadow var(--transition-normal), border-color var(--transition-fast);
2099
+ }
2100
+
2101
+ [data-theme="default"] .post-card:hover {
2102
+ box-shadow: var(--shadow-lg);
2103
+ border-color: var(--color-border-strong);
2104
+ }
2105
+
2106
+ [data-theme="default"] .post-card__image {
2107
+ margin: 0;
2108
+ aspect-ratio: 16 / 9;
2109
+ overflow: hidden;
2110
+ }
2111
+
2112
+ [data-theme="default"] .post-card__image img {
2113
+ width: 100%;
2114
+ height: 100%;
2115
+ object-fit: cover;
2116
+ transition: transform var(--transition-normal);
2117
+ }
2118
+
2119
+ [data-theme="default"] .post-card:hover .post-card__image img {
2120
+ transform: scale(1.05);
2121
+ }
2122
+
2123
+ [data-theme="default"] .post-card__content {
2124
+ display: flex;
2125
+ flex-direction: column;
2126
+ flex: 1;
2127
+ padding: var(--space-5);
2128
+ }
2129
+
2130
+ [data-theme="default"] .post-card__header {
2131
+ margin-bottom: var(--space-2);
2132
+ }
2133
+
2134
+ [data-theme="default"] .post-card__date {
2135
+ display: inline-block;
2136
+ font-size: var(--text-xs);
2137
+ color: var(--color-ink-subtle);
2138
+ }
2139
+
2140
+ [data-theme="default"] .post-card__title {
2141
+ font-size: var(--text-lg);
2142
+ margin: var(--space-2) 0;
2143
+ line-height: var(--leading-tight);
2144
+ }
2145
+
2146
+ [data-theme="default"] .post-card__title a {
2147
+ color: var(--color-ink);
2148
+ text-decoration: none;
2149
+ }
2150
+
2151
+ [data-theme="default"] .post-card__title a:hover {
2152
+ color: var(--color-primary);
2153
+ text-decoration: underline;
2154
+ }
2155
+
2156
+ [data-theme="default"] .post-card__excerpt {
2157
+ flex: 1;
2158
+ font-size: var(--text-sm);
2159
+ color: var(--color-ink-muted);
2160
+ line-height: var(--leading-relaxed);
2161
+ margin-bottom: var(--space-4);
2162
+ }
2163
+
2164
+ [data-theme="default"] .post-card .btn {
2165
+ align-self: flex-start;
2166
+ margin-top: auto;
2167
+ }
2168
+
2169
+ /* ==========================================================================
2170
+ Single Post
2171
+ ========================================================================== */
2172
+
2173
+ [data-theme="default"] .post-single {
2174
+ padding: var(--space-12) 0 var(--space-16);
2175
+ }
2176
+
2177
+ [data-theme="default"] .post-header {
2178
+ margin-bottom: var(--space-8);
2179
+ }
2180
+
2181
+ [data-theme="default"] .post-title {
2182
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
2183
+ margin-bottom: var(--space-3);
2184
+ }
2185
+
2186
+ [data-theme="default"] .post-meta {
2187
+ display: flex;
2188
+ align-items: center;
2189
+ gap: var(--space-4);
2190
+ font-size: var(--text-sm);
2191
+ color: var(--color-ink-muted);
2192
+ }
2193
+
2194
+ [data-theme="default"] .post-date {
2195
+ font-weight: 500;
2196
+ }
2197
+
2198
+ [data-theme="default"] .post-body {
2199
+ max-width: 800px;
2200
+ margin: 0 auto var(--space-12);
2201
+ font-size: var(--text-lg);
2202
+ line-height: var(--leading-relaxed);
2203
+ }
2204
+
2205
+ [data-theme="default"] .post-body p {
2206
+ margin-bottom: var(--space-5);
2207
+ }
2208
+
2209
+ [data-theme="default"] .post-body h2 {
2210
+ font-size: var(--text-2xl);
2211
+ margin-top: var(--space-10);
2212
+ margin-bottom: var(--space-4);
2213
+ padding-top: var(--space-6);
2214
+ border-top: 1px solid var(--color-border);
2215
+ }
2216
+
2217
+ [data-theme="default"] .post-body h3 {
2218
+ font-size: var(--text-xl);
2219
+ margin-top: var(--space-8);
2220
+ margin-bottom: var(--space-3);
2221
+ }
2222
+
2223
+ [data-theme="default"] .post-body ul,
2224
+ [data-theme="default"] .post-body ol {
2225
+ margin: var(--space-4) 0;
2226
+ padding-left: var(--space-6);
2227
+ }
2228
+
2229
+ [data-theme="default"] .post-body blockquote {
2230
+ margin: var(--space-6) 0;
2231
+ padding: var(--space-4) var(--space-6);
2232
+ border-left: 4px solid var(--color-primary);
2233
+ background: var(--color-primary-light);
2234
+ color: var(--color-ink);
2235
+ border-radius: 0 var(--radius-md) var(--radius-md) 0;
2236
+ }
2237
+
2238
+ [data-theme="default"] .post-footer {
2239
+ padding-top: var(--space-8);
2240
+ border-top: 1px solid var(--color-border);
2241
+ }
2242
+
2243
+ [data-theme="default"] .post-nav {
2244
+ display: flex;
2245
+ justify-content: space-between;
2246
+ gap: var(--space-4);
2247
+ }
2248
+
2249
+ [data-theme="default"] .post-nav__prev,
2250
+ [data-theme="default"] .post-nav__next {
2251
+ display: flex;
2252
+ flex-direction: column;
2253
+ gap: var(--space-1);
2254
+ padding: var(--space-3) var(--space-4);
2255
+ border: 1px solid var(--color-border);
2256
+ border-radius: var(--radius-md);
2257
+ text-decoration: none;
2258
+ transition: all var(--transition-fast);
2259
+ }
2260
+
2261
+ [data-theme="default"] .post-nav__prev:hover,
2262
+ [data-theme="default"] .post-nav__next:hover {
2263
+ border-color: var(--color-primary);
2264
+ background: var(--color-primary-light);
2265
+ text-decoration: none;
2266
+ }
2267
+
2268
+ [data-theme="default"] .post-nav__label {
2269
+ font-size: var(--text-xs);
2270
+ font-weight: 600;
2271
+ text-transform: uppercase;
2272
+ letter-spacing: 0.05em;
2273
+ color: var(--color-ink-subtle);
2274
+ }
2275
+
2276
+ [data-theme="default"] .post-nav__title {
2277
+ font-size: var(--text-sm);
2278
+ font-weight: 500;
2279
+ color: var(--color-ink);
2280
+ }
2281
+
2282
+ /* ==========================================================================
2283
+ Page (Generic)
2284
+ ========================================================================== */
2285
+
2286
+ [data-theme="default"] .page-header {
2287
+ padding: var(--space-12) 0 var(--space-6);
2288
+ border-bottom: 1px solid var(--color-border);
2289
+ }
2290
+
2291
+ [data-theme="default"] .page-header h1 {
2292
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
2293
+ margin-bottom: var(--space-3);
2294
+ }
2295
+
2296
+ [data-theme="default"] .page-excerpt {
2297
+ font-size: var(--text-lg);
2298
+ color: var(--color-ink-muted);
2299
+ max-width: 720px;
2300
+ }
2301
+
2302
+ [data-theme="default"] .page-content {
2303
+ padding: var(--space-10) 0 var(--space-16);
2304
+ }
2305
+
2306
+ [data-theme="default"] .entry-content h2 {
2307
+ font-size: var(--text-2xl);
2308
+ margin-top: var(--space-10);
2309
+ margin-bottom: var(--space-4);
2310
+ }
2311
+
2312
+ [data-theme="default"] .entry-content h3 {
2313
+ font-size: var(--text-xl);
2314
+ margin-top: var(--space-8);
2315
+ margin-bottom: var(--space-3);
2316
+ }
2317
+
2318
+ [data-theme="default"] .entry-content p {
2319
+ margin-bottom: var(--space-5);
2320
+ }
2321
+
2322
+ /* ==========================================================================
2323
+ Archive / Blog Listing
2324
+ ========================================================================== */
2325
+
2326
+ [data-theme="default"] .archive {
2327
+ padding: var(--space-12) 0 var(--space-16);
2328
+ }
2329
+
2330
+ [data-theme="default"] .archive-header {
2331
+ text-align: center;
2332
+ margin-bottom: var(--space-10);
2333
+ }
2334
+
2335
+ [data-theme="default"] .archive-title {
2336
+ font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
2337
+ margin-bottom: var(--space-3);
2338
+ }
2339
+
2340
+ [data-theme="default"] .archive-description {
2341
+ font-size: var(--text-lg);
2342
+ color: var(--color-ink-muted);
2343
+ max-width: 720px;
2344
+ margin: 0 auto;
2345
+ }
2346
+
2347
+ /* ==========================================================================
2348
+ Pagination
2349
+ ========================================================================== */
2350
+
2351
+ [data-theme="default"] .pagination {
2352
+ display: flex;
2353
+ align-items: center;
2354
+ justify-content: center;
2355
+ gap: var(--space-2);
2356
+ margin-top: var(--space-10);
2357
+ flex-wrap: wrap;
2358
+ }
2359
+
2360
+ [data-theme="default"] .pagination a,
2361
+ [data-theme="default"] .pagination span {
2362
+ display: inline-flex;
2363
+ align-items: center;
2364
+ justify-content: center;
2365
+ min-width: 44px;
2366
+ height: 44px;
2367
+ padding: 0 var(--space-3);
2368
+ font-weight: 500;
2369
+ border: 1px solid var(--color-border);
2370
+ border-radius: var(--radius-md);
2371
+ color: var(--color-ink);
2372
+ text-decoration: none;
2373
+ transition: all var(--transition-fast);
2374
+ }
2375
+
2376
+ [data-theme="default"] .pagination a:hover {
2377
+ border-color: var(--color-primary);
2378
+ background: var(--color-primary-light);
2379
+ color: var(--color-primary);
2380
+ text-decoration: none;
2381
+ }
2382
+
2383
+ [data-theme="default"] .pagination .current {
2384
+ background: var(--color-primary);
2385
+ border-color: var(--color-primary);
2386
+ color: var(--color-primary-contrast);
2387
+ }
2388
+
2389
+ /* ==========================================================================
2390
+ Contact Section
2391
+ ========================================================================== */
2392
+
2393
+ [data-theme="default"] .contact {
2394
+ background: var(--color-surface-elevated);
2395
+ }
2396
+
2397
+ [data-theme="default"] .contact h2 {
2398
+ text-align: center;
2399
+ margin-bottom: var(--space-2);
2400
+ }
2401
+
2402
+ [data-theme="default"] .contact-intro {
2403
+ text-align: center;
2404
+ color: var(--color-ink-muted);
2405
+ max-width: 720px;
2406
+ margin: 0 auto var(--space-8);
2407
+ }
2408
+
2409
+ [data-theme="default"] .contact-form {
2410
+ max-width: 600px;
2411
+ margin: 0 auto;
2412
+ }
2413
+
2414
+ [data-theme="default"] .contact-form .form-group {
2415
+ margin-bottom: var(--space-5);
2416
+ }
2417
+
2418
+ /* ==========================================================================
2419
+ Site Footer
2420
+ ========================================================================== */
2421
+
2422
+ [data-theme="default"] .site-footer {
2423
+ margin-top: auto;
2424
+ padding: var(--space-10) 0;
2425
+ background: var(--color-ink);
2426
+ color: var(--color-surface);
2427
+ border-top: 1px solid var(--color-border);
2428
+ }
2429
+
2430
+ [data-theme="default"] .site-footer .container {
2431
+ display: flex;
2432
+ flex-direction: column;
2433
+ align-items: center;
2434
+ gap: var(--space-6);
2435
+ text-align: center;
2436
+ }
2437
+
2438
+ [data-theme="default"] .footer-nav {
2439
+ display: flex;
2440
+ flex-wrap: wrap;
2441
+ align-items: center;
2442
+ justify-content: center;
2443
+ gap: var(--space-4) var(--space-6);
2444
+ margin: 0;
2445
+ padding: 0;
2446
+ list-style: none;
2447
+ }
2448
+
2449
+ [data-theme="default"] .footer-nav a {
2450
+ color: var(--color-ink-subtle);
2451
+ font-size: var(--text-sm);
2452
+ }
2453
+
2454
+ [data-theme="default"] .footer-nav a:hover {
2455
+ color: var(--color-primary);
2456
+ }
2457
+
2458
+ [data-theme="default"] .copyright {
2459
+ margin: 0;
2460
+ font-size: var(--text-sm);
2461
+ color: var(--color-ink-subtle);
2462
+ }
2463
+
2464
+ /* ==========================================================================
2465
+ Error 404
2466
+ ========================================================================== */
2467
+
2468
+ [data-theme="default"] .error-404 {
2469
+ min-height: 60vh;
2470
+ display: flex;
2471
+ flex-direction: column;
2472
+ align-items: center;
2473
+ justify-content: center;
2474
+ text-align: center;
2475
+ padding: var(--space-16) var(--container-padding);
2476
+ }
2477
+
2478
+ [data-theme="default"] .error-404 h1 {
2479
+ font-size: clamp(6rem, 15vw, 12rem);
2480
+ font-weight: 800;
2481
+ line-height: 1;
2482
+ color: var(--color-primary);
2483
+ margin-bottom: var(--space-4);
2484
+ }
2485
+
2486
+ [data-theme="default"] .error-404 h2 {
2487
+ font-size: var(--text-2xl);
2488
+ margin-bottom: var(--space-4);
2489
+ }
2490
+
2491
+ [data-theme="default"] .error-404 p {
2492
+ font-size: var(--text-lg);
2493
+ color: var(--color-ink-muted);
2494
+ margin-bottom: var(--space-8);
2495
+ }
2496
+
2497
+ /* ==========================================================================
2498
+ Utility Classes
2499
+ ========================================================================== */
2500
+
2501
+ [data-theme="default"] .sr-only {
2502
+ position: absolute;
2503
+ width: 1px;
2504
+ height: 1px;
2505
+ padding: 0;
2506
+ margin: -1px;
2507
+ overflow: hidden;
2508
+ clip: rect(0, 0, 0, 0);
2509
+ white-space: nowrap;
2510
+ border: 0;
2511
+ }
2512
+
2513
+ [data-theme="default"] .text-center { text-align: center; }
2514
+ [data-theme="default"] .text-left { text-align: left; }
2515
+ [data-theme="default"] .text-right { text-align: right; }
2516
+
2517
+ [data-theme="default"] .mt-0 { margin-top: 0; }
2518
+ [data-theme="default"] .mb-0 { margin-bottom: 0; }
2519
+
2520
+ [data-theme="default"] .hidden { display: none !important; }
2521
+ [data-theme="default"] .invisible { visibility: hidden; }
2522
+
2523
+ [data-theme="default"] .pagination {
2524
+ display: flex;
2525
+ align-items: center;
2526
+ justify-content: center;
2527
+ gap: 1rem;
2528
+ margin-top: 2rem;
2529
+ }
2530
+
2531
+ [data-theme="default"] .pagination a {
2532
+ color: var(--color-brand);
2533
+ font-weight: 600;
2534
+ }
2535
+
2536
+ /* ==========================================================================
2537
+ Responsive
2538
+ ========================================================================== */
2539
+
2540
+ @media (max-width: 768px) {
2541
+ [data-theme="default"] .nav-menu {
2542
+ display: none; /* Could be replaced with mobile menu toggle */
2543
+ }
2544
+
2545
+ [data-theme="default"] .posts-grid {
2546
+ grid-template-columns: 1fr;
2547
+ }
2548
+
2549
+ [data-theme="default"] .form-row.two-cols {
2550
+ grid-template-columns: 1fr;
2551
+ }
2552
+
2553
+ [data-theme="default"] .post-nav {
2554
+ flex-direction: column;
2555
+ }
2556
+ }
2557
+
2558
+ /* ==========================================================================
2559
+ Print
2560
+ ========================================================================== */
2561
+
2562
+ @media print {
2563
+ [data-theme="default"] .site-header,
2564
+ [data-theme="default"] .site-footer,
2565
+ [data-theme="default"] .btn,
2566
+ [data-theme="default"] .post-nav,
2567
+ [data-theme="default"] .pagination {
2568
+ display: none !important;
2569
+ }
2570
+
2571
+ [data-theme="default"] .post-body {
2572
+ max-width: 100%;
2573
+ }
2574
+
2575
+ [data-theme="default"] a {
2576
+ text-decoration: underline;
2577
+ color: var(--color-ink);
2578
+ }
2579
+ }
2580
+ `,
2581
+ "theme.json": `{
2582
+ "name": "default",
2583
+ "version": "0.36.2",
2584
+ "description": "Default OkCMS theme — hierarchical templates with real content interpolation + Static Front Page",
2585
+ "type": "theme",
2586
+ "author": "Oktis Works",
2587
+ "compatibility": {
2588
+ "okcms": "^0.36.0"
2589
+ },
2590
+ "screenshots": [
2591
+ "screenshot.png"
2592
+ ],
2593
+ "provides": {
2594
+ "layouts": [
2595
+ "page-home",
2596
+ "page-about",
2597
+ "page-contact",
2598
+ "page-blog",
2599
+ "post-first-post",
2600
+ "post-second-post",
2601
+ "page",
2602
+ "single",
2603
+ "archive",
2604
+ "index",
2605
+ "404"
2606
+ ],
2607
+ "assets": [
2608
+ "dist/theme.css"
2609
+ ]
2610
+ },
2611
+ "stylesConfig": {
2612
+ "engine": "css",
2613
+ "isolation": "manual",
2614
+ "entry": "src/theme.css",
2615
+ "output": "dist/theme.css"
2616
+ },
2617
+ "settings": [
2618
+ {
2619
+ "name": "siteTitle",
2620
+ "type": "text",
2621
+ "label": "Site title",
2622
+ "default": "OkCMS"
2623
+ },
2624
+ {
2625
+ "name": "siteDescription",
2626
+ "type": "text",
2627
+ "label": "Site description",
2628
+ "default": ""
2629
+ },
2630
+ {
2631
+ "name": "contactText",
2632
+ "type": "textarea",
2633
+ "label": "Contact section text",
2634
+ "default": "Fill out the form or send us an email at hello@example.com"
2635
+ }
2636
+ ]
2637
+ }
2638
+ `,
2639
+ };
2640
+ /**
2641
+ * Binary files of the default theme: base64 so the source stays valid TS,
2642
+ * decoded into a Buffer on write (a string would corrupt the PNG).
2643
+ */
2644
+ export const DEFAULT_THEME_BINARY_FILES = {
2645
+ "screenshot.png": 'iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAIT0lEQVR4nO3WsU0EQQAEwYsOl9gxsLBfGARxJNHPa9gqqf0x57oBAEhdrx4AAPDfOFgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABixx2s97eHpOEAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFjhYkqYCWOBgSZoKYIGDJWkqgAUOlqSpABY4WJKmAljgYEmaCmCBgyVpKoAFDpakqQAWOFiSpgJY4GBJmgpggYMlaSqABQ6WpKkAFhx3sAAAns3BAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABC7Ht8/tyRJkrocLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJinOwJEmS4hwsSZKkOAdLkiQpzsGSJEmKc7AkSZLiHCxJkqQ4B0uSJCnOwZIkSYpzsCRJkuIcLEmSpDgHS5IkKc7BkiRJirtuAABSDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABA77mB9fH5JkqQXdBIHS5Ik/UknOe5gAQA8m4MFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAAAxBwsAIOZgAQDEHCwAgJiDBQAQc7AAAGIOFgBAzMECAIg5WAAAMQcLACDmYAEAxBwsAICYgwUAEHOwAABiDhYAQMzBAgCIOVgAADEHCwAg5mABAMQcLACAmIMFABBzsAAAYg4WAEDMwQIAiDlYAACxXxc1EEhePb4DAAAAAElFTkSuQmCC',
2646
+ };
2647
+ /** Manifest of the default theme (`theme.json`, the canonical theme name). */
2648
+ export const DEFAULT_THEME_MANIFEST = DEFAULT_THEME_FILES['theme.json'] ?? '';
2649
+ /** Default theme stylesheet, served straight from `dist/theme.css` (no build). */
2650
+ export const DEFAULT_THEME_CSS = DEFAULT_THEME_FILES['dist/theme.css'] ?? '';
2651
+ /** `.astro` hierarchy templates of the default theme, at the theme root. */
2652
+ export const THEME_TEMPLATE_FILES = Object.fromEntries(Object.entries(DEFAULT_THEME_FILES).filter(([file]) => file.endsWith('.astro')));
2653
+ //# sourceMappingURL=theme-assets.js.map