@roottale/cms-renderer-next 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cms-public.css +68 -68
- package/dist/routes.js +1 -1
- package/dist/templates.css +17 -17
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cms-public.css
CHANGED
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
align-items: center;
|
|
37
37
|
padding: 0.4375rem 0.875rem;
|
|
38
38
|
border-radius: 999px;
|
|
39
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
40
|
-
background: color-mix(in srgb, var(--rt-color-muted, #
|
|
41
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
39
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 82%, transparent);
|
|
40
|
+
background: color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 60%, white);
|
|
41
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 76%, transparent);
|
|
42
42
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
43
43
|
font-size: 0.8125rem;
|
|
44
44
|
font-weight: 700;
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
|
|
53
53
|
[data-roottale-cms] :where(.rt-cms-filter-chip:hover),
|
|
54
54
|
[data-roottale-cms] :where(.rt-cms-filter-chip:focus-visible) {
|
|
55
|
-
border-color: color-mix(in srgb, var(--rt-color-primary, #
|
|
56
|
-
color: var(--rt-color-foreground, #
|
|
55
|
+
border-color: color-mix(in srgb, var(--rt-color-primary, #06162f) 40%, var(--rt-color-border, #dceef3));
|
|
56
|
+
color: var(--rt-color-foreground, #06162f);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-roottale-cms] :where(.rt-cms-filter-chip[data-active]) {
|
|
60
60
|
border-color: transparent;
|
|
61
|
-
background: var(--rt-color-primary, #
|
|
61
|
+
background: var(--rt-color-primary, #06162f);
|
|
62
62
|
color: var(--rt-color-primary-foreground, #ffffff);
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
justify-content: space-between;
|
|
81
81
|
gap: var(--rt-spacing-3, 0.75rem);
|
|
82
82
|
padding: 0.875rem 1rem;
|
|
83
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
83
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 82%, transparent);
|
|
84
84
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
85
|
-
background: color-mix(in srgb, var(--rt-color-muted, #
|
|
86
|
-
color: var(--rt-color-foreground, #
|
|
85
|
+
background: color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 58%, white);
|
|
86
|
+
color: var(--rt-color-foreground, #06162f);
|
|
87
87
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
88
88
|
text-decoration: none;
|
|
89
89
|
transition:
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
[data-roottale-cms] :where(.rt-cms-category-link:hover),
|
|
95
95
|
[data-roottale-cms] :where(.rt-cms-category-link:focus-visible) {
|
|
96
|
-
border-color: color-mix(in srgb, var(--rt-color-primary, #
|
|
96
|
+
border-color: color-mix(in srgb, var(--rt-color-primary, #06162f) 40%, var(--rt-color-border, #dceef3));
|
|
97
97
|
background: #fff;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
min-inline-size: 1.75rem;
|
|
111
111
|
padding: 0.1875rem 0.5rem;
|
|
112
112
|
border-radius: 999px;
|
|
113
|
-
background: var(--rt-color-primary, #
|
|
113
|
+
background: var(--rt-color-primary, #06162f);
|
|
114
114
|
color: var(--rt-color-primary-foreground, #ffffff);
|
|
115
115
|
font-size: 0.75rem;
|
|
116
116
|
font-weight: 800;
|
|
@@ -130,17 +130,17 @@
|
|
|
130
130
|
display: grid;
|
|
131
131
|
align-content: start;
|
|
132
132
|
min-block-size: 100%;
|
|
133
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
133
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 78%, transparent);
|
|
134
134
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
135
135
|
background:
|
|
136
136
|
linear-gradient(
|
|
137
137
|
180deg,
|
|
138
138
|
rgb(255 255 255 / 0.94),
|
|
139
|
-
color-mix(in srgb, var(--rt-color-muted, #
|
|
139
|
+
color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 70%, white)
|
|
140
140
|
),
|
|
141
141
|
radial-gradient(
|
|
142
142
|
circle at top right,
|
|
143
|
-
color-mix(in srgb, var(--rt-color-primary, #
|
|
143
|
+
color-mix(in srgb, var(--rt-color-primary, #06162f) 8%, transparent),
|
|
144
144
|
transparent 46%
|
|
145
145
|
);
|
|
146
146
|
box-shadow:
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
var(--rt-spacing-4, 1rem);
|
|
164
164
|
aspect-ratio: 16 / 9;
|
|
165
165
|
object-fit: cover;
|
|
166
|
-
background: color-mix(in srgb, var(--rt-color-muted, #
|
|
166
|
+
background: color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 70%, white);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
/* Category badge. */
|
|
@@ -174,8 +174,8 @@
|
|
|
174
174
|
margin-block-end: var(--rt-spacing-3, 0.75rem);
|
|
175
175
|
padding: 0.25rem 0.625rem;
|
|
176
176
|
border-radius: 999px;
|
|
177
|
-
background: color-mix(in srgb, var(--rt-color-primary, #
|
|
178
|
-
color: color-mix(in srgb, var(--rt-color-primary, #
|
|
177
|
+
background: color-mix(in srgb, var(--rt-color-primary, #06162f) 10%, transparent);
|
|
178
|
+
color: color-mix(in srgb, var(--rt-color-primary, #06162f) 92%, var(--rt-color-foreground, #06162f));
|
|
179
179
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
180
180
|
font-size: 0.75rem;
|
|
181
181
|
font-weight: 800;
|
|
@@ -191,14 +191,14 @@
|
|
|
191
191
|
background: linear-gradient(
|
|
192
192
|
90deg,
|
|
193
193
|
transparent,
|
|
194
|
-
color-mix(in srgb, var(--rt-color-primary, #
|
|
194
|
+
color-mix(in srgb, var(--rt-color-primary, #06162f) 30%, transparent),
|
|
195
195
|
transparent
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
[data-roottale-cms] :where(.rt-cms-card-link:hover),
|
|
200
200
|
[data-roottale-cms] :where(.rt-cms-card-link:focus-visible) {
|
|
201
|
-
border-color: color-mix(in srgb, var(--rt-color-primary, #
|
|
201
|
+
border-color: color-mix(in srgb, var(--rt-color-primary, #06162f) 32%, var(--rt-color-border, #dceef3));
|
|
202
202
|
box-shadow:
|
|
203
203
|
0 20px 46px rgb(17 24 39 / 0.07),
|
|
204
204
|
inset 0 1px 0 rgb(255 255 255 / 0.82);
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
gap: 0.375rem;
|
|
228
228
|
justify-self: start;
|
|
229
229
|
margin-block-start: var(--rt-spacing-5, 1.25rem);
|
|
230
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
230
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 62%, transparent);
|
|
231
231
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
232
232
|
font-size: 0.8125rem;
|
|
233
233
|
font-weight: 800;
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
content: "";
|
|
239
239
|
inline-size: 1.75rem;
|
|
240
240
|
block-size: 1px;
|
|
241
|
-
background: color-mix(in srgb, var(--rt-color-primary, #
|
|
241
|
+
background: color-mix(in srgb, var(--rt-color-primary, #06162f) 46%, transparent);
|
|
242
242
|
transition: inline-size 180ms ease;
|
|
243
243
|
}
|
|
244
244
|
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
font-family: var(--rt-font-display, system-ui, sans-serif);
|
|
252
252
|
font-size: var(--rt-font-size-2xl, 1.5rem);
|
|
253
253
|
font-weight: var(--rt-font-weight-bold, 700);
|
|
254
|
-
color: var(--rt-color-foreground, #
|
|
254
|
+
color: var(--rt-color-foreground, #06162f);
|
|
255
255
|
letter-spacing: 0;
|
|
256
256
|
line-height: 1.25;
|
|
257
257
|
margin: 0 0 var(--rt-spacing-2, 0.5rem);
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
[data-roottale-cms] :where(.rt-cms-excerpt) {
|
|
261
261
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
262
262
|
font-size: var(--rt-font-size-base, 1.0625rem);
|
|
263
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
263
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 68%, transparent);
|
|
264
264
|
margin: 0;
|
|
265
265
|
line-height: 1.75;
|
|
266
266
|
max-inline-size: 42rem;
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
gap: 0.375rem 0.75rem;
|
|
275
275
|
font-size: var(--rt-font-size-sm, 0.8125rem);
|
|
276
276
|
font-weight: 600;
|
|
277
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
277
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 56%, transparent);
|
|
278
278
|
margin: 0 0 var(--rt-spacing-3, 0.75rem);
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -290,19 +290,19 @@
|
|
|
290
290
|
inline-size: 0.25rem;
|
|
291
291
|
block-size: 0.25rem;
|
|
292
292
|
border-radius: 999px;
|
|
293
|
-
background: color-mix(in srgb, var(--rt-color-primary, #
|
|
293
|
+
background: color-mix(in srgb, var(--rt-color-primary, #06162f) 70%, white);
|
|
294
294
|
margin-inline-end: 0.75rem;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
[data-roottale-cms] :where(.rt-cms-empty) {
|
|
298
298
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
299
|
-
color: var(--rt-color-muted-foreground, #
|
|
299
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
300
300
|
font-style: italic;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
[data-roottale-cms] :where(.rt-cms-article) {
|
|
304
304
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
305
|
-
color: var(--rt-color-foreground, #
|
|
305
|
+
color: var(--rt-color-foreground, #06162f);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
[data-roottale-cms] :where(.rt-cms-body) {
|
|
@@ -310,17 +310,17 @@
|
|
|
310
310
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
311
311
|
font-size: var(--rt-font-size-base, 1rem);
|
|
312
312
|
line-height: 1.7;
|
|
313
|
-
color: var(--rt-color-foreground, #
|
|
313
|
+
color: var(--rt-color-foreground, #06162f);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
[data-roottale-cms] :where(.rt-cms-post-header) {
|
|
317
317
|
position: relative;
|
|
318
318
|
overflow: hidden;
|
|
319
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
319
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 78%, transparent);
|
|
320
320
|
border-radius: calc(var(--rt-radius-md, 0.5rem) * 1.5);
|
|
321
321
|
background:
|
|
322
|
-
linear-gradient(135deg, rgb(255 255 255 / 0.92), color-mix(in srgb, var(--rt-color-muted, #
|
|
323
|
-
radial-gradient(circle at top right, color-mix(in srgb, var(--rt-color-primary, #
|
|
322
|
+
linear-gradient(135deg, rgb(255 255 255 / 0.92), color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 70%, white)),
|
|
323
|
+
radial-gradient(circle at top right, color-mix(in srgb, var(--rt-color-primary, #06162f) 10%, transparent), transparent 42%);
|
|
324
324
|
box-shadow: 0 20px 55px rgb(17 24 39 / 0.05);
|
|
325
325
|
padding: clamp(1.5rem, 3vw, 2.5rem);
|
|
326
326
|
margin-block-end: var(--rt-spacing-6, 1.5rem);
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
inline-size: 0.25rem;
|
|
343
343
|
background: linear-gradient(
|
|
344
344
|
180deg,
|
|
345
|
-
color-mix(in srgb, var(--rt-color-primary, #
|
|
345
|
+
color-mix(in srgb, var(--rt-color-primary, #06162f) 72%, white),
|
|
346
346
|
transparent
|
|
347
347
|
);
|
|
348
348
|
}
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] h3),
|
|
362
362
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] h4) {
|
|
363
363
|
font-family: var(--rt-font-display, system-ui, sans-serif);
|
|
364
|
-
color: var(--rt-color-foreground, #
|
|
364
|
+
color: var(--rt-color-foreground, #06162f);
|
|
365
365
|
letter-spacing: 0;
|
|
366
366
|
line-height: 1.4;
|
|
367
367
|
}
|
|
@@ -409,14 +409,14 @@
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] blockquote) {
|
|
412
|
-
border-inline-start: 3px solid var(--rt-color-border, #
|
|
412
|
+
border-inline-start: 3px solid var(--rt-color-border, #dceef3);
|
|
413
413
|
padding-inline-start: var(--rt-spacing-3, 0.75rem);
|
|
414
|
-
color: var(--rt-color-muted-foreground, #
|
|
414
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
415
415
|
font-style: italic;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] a) {
|
|
419
|
-
color: var(--rt-color-primary, #
|
|
419
|
+
color: var(--rt-color-primary, #06162f);
|
|
420
420
|
text-decoration: underline;
|
|
421
421
|
text-underline-offset: 0.15em;
|
|
422
422
|
}
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
|
|
442
442
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] code) {
|
|
443
443
|
border-radius: var(--rt-radius-sm, 0.25rem);
|
|
444
|
-
background: var(--rt-color-muted, #
|
|
444
|
+
background: var(--rt-color-muted, #f7f8f7);
|
|
445
445
|
padding-inline: 0.25em;
|
|
446
446
|
font-family: var(--rt-font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
447
447
|
font-size: 0.9em;
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] pre) {
|
|
451
451
|
overflow-x: auto;
|
|
452
452
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
453
|
-
background: var(--rt-color-muted, #
|
|
453
|
+
background: var(--rt-color-muted, #f7f8f7);
|
|
454
454
|
padding: var(--rt-spacing-3, 0.75rem);
|
|
455
455
|
font-family: var(--rt-font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
|
|
456
456
|
font-size: 0.9em;
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
|
|
471
471
|
[data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] hr) {
|
|
472
472
|
border: 0;
|
|
473
|
-
border-block-start: 1px solid var(--rt-color-border, #
|
|
473
|
+
border-block-start: 1px solid var(--rt-color-border, #dceef3);
|
|
474
474
|
margin-block: var(--rt-spacing-4, 1rem);
|
|
475
475
|
}
|
|
476
476
|
|
|
@@ -482,8 +482,8 @@
|
|
|
482
482
|
/* RootTaleTableOfContents */
|
|
483
483
|
[data-roottale-cms] :where(.rt-cms-toc) {
|
|
484
484
|
position: relative;
|
|
485
|
-
background: color-mix(in srgb, var(--rt-color-muted, #
|
|
486
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
485
|
+
background: color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 34%, white);
|
|
486
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 86%, transparent);
|
|
487
487
|
border-radius: min(var(--rt-radius-md, 0.5rem), 0.5rem);
|
|
488
488
|
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.76);
|
|
489
489
|
padding: 0.875rem 1rem;
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
inset-inline-start: 0;
|
|
498
498
|
inline-size: 3px;
|
|
499
499
|
border-radius: 999px;
|
|
500
|
-
background: color-mix(in srgb, var(--rt-color-primary, #
|
|
500
|
+
background: color-mix(in srgb, var(--rt-color-primary, #06162f) 58%, var(--rt-color-border, #dceef3));
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
[data-roottale-cms] :where(.rt-cms-toc-details) {
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
font-weight: var(--rt-font-weight-bold, 800);
|
|
527
527
|
letter-spacing: 0;
|
|
528
528
|
margin: 0;
|
|
529
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
529
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 72%, transparent);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
[data-roottale-cms] :where(.rt-cms-toc-title)::after {
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
flex: 0 0 auto;
|
|
539
539
|
inline-size: 1.625rem;
|
|
540
540
|
block-size: 1.625rem;
|
|
541
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
541
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 90%, transparent);
|
|
542
542
|
border-radius: 999px;
|
|
543
543
|
background: var(--rt-color-background, #ffffff);
|
|
544
544
|
}
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
inset-inline-start: 50%;
|
|
552
552
|
inline-size: 0.625rem;
|
|
553
553
|
block-size: 1px;
|
|
554
|
-
background: color-mix(in srgb, var(--rt-color-foreground, #
|
|
554
|
+
background: color-mix(in srgb, var(--rt-color-foreground, #06162f) 66%, transparent);
|
|
555
555
|
transform: translate(-50%, -50%);
|
|
556
556
|
}
|
|
557
557
|
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
inset-block-start: 0.5rem;
|
|
593
593
|
inset-inline-start: 0.625rem;
|
|
594
594
|
inline-size: 1.375rem;
|
|
595
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
595
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 36%, transparent);
|
|
596
596
|
font-size: 0.6875rem;
|
|
597
597
|
font-variant-numeric: tabular-nums;
|
|
598
598
|
font-weight: 700;
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
|
|
609
609
|
[data-roottale-cms] :where(.rt-cms-toc-item a) {
|
|
610
610
|
display: block;
|
|
611
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
611
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 76%, transparent);
|
|
612
612
|
text-decoration: none;
|
|
613
613
|
border-radius: min(calc(var(--rt-radius-md, 0.5rem) * 0.75), 0.375rem);
|
|
614
614
|
padding: 0.375rem 0.5rem 0.375rem 2.375rem;
|
|
@@ -620,8 +620,8 @@
|
|
|
620
620
|
|
|
621
621
|
[data-roottale-cms] :where(.rt-cms-toc-item a:hover),
|
|
622
622
|
[data-roottale-cms] :where(.rt-cms-toc-item a:focus-visible) {
|
|
623
|
-
color: var(--rt-color-foreground, #
|
|
624
|
-
background: color-mix(in srgb, var(--rt-color-primary, #
|
|
623
|
+
color: var(--rt-color-foreground, #06162f);
|
|
624
|
+
background: color-mix(in srgb, var(--rt-color-primary, #06162f) 7%, var(--rt-color-background, #ffffff));
|
|
625
625
|
text-decoration: none;
|
|
626
626
|
transform: translateX(0.125rem);
|
|
627
627
|
}
|
|
@@ -631,11 +631,11 @@
|
|
|
631
631
|
align-items: center;
|
|
632
632
|
gap: var(--rt-spacing-4, 1rem);
|
|
633
633
|
margin-block-start: var(--rt-spacing-8, 3rem);
|
|
634
|
-
border: 1px solid color-mix(in srgb, var(--rt-color-border, #
|
|
634
|
+
border: 1px solid color-mix(in srgb, var(--rt-color-border, #dceef3) 82%, transparent);
|
|
635
635
|
border-radius: calc(var(--rt-radius-md, 0.5rem) * 1.25);
|
|
636
636
|
background:
|
|
637
|
-
linear-gradient(135deg, rgb(255 255 255 / 0.92), color-mix(in srgb, var(--rt-color-muted, #
|
|
638
|
-
radial-gradient(circle at bottom left, color-mix(in srgb, var(--rt-color-primary, #
|
|
637
|
+
linear-gradient(135deg, rgb(255 255 255 / 0.92), color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 82%, white)),
|
|
638
|
+
radial-gradient(circle at bottom left, color-mix(in srgb, var(--rt-color-primary, #06162f) 9%, transparent), transparent 48%);
|
|
639
639
|
box-shadow: 0 18px 44px rgb(17 24 39 / 0.055);
|
|
640
640
|
padding: var(--rt-spacing-5, 1.25rem);
|
|
641
641
|
}
|
|
@@ -652,13 +652,13 @@
|
|
|
652
652
|
display: grid;
|
|
653
653
|
place-items: center;
|
|
654
654
|
background:
|
|
655
|
-
linear-gradient(135deg, var(--rt-color-primary, #
|
|
655
|
+
linear-gradient(135deg, var(--rt-color-primary, #06162f), color-mix(in srgb, var(--rt-color-primary, #06162f) 42%, #06162f));
|
|
656
656
|
color: var(--rt-color-primary-foreground, #ffffff);
|
|
657
657
|
font-family: var(--rt-font-display, system-ui, sans-serif);
|
|
658
658
|
font-size: 0.9375rem;
|
|
659
659
|
font-weight: 800;
|
|
660
660
|
letter-spacing: 0;
|
|
661
|
-
box-shadow: 0 12px 30px color-mix(in srgb, var(--rt-color-primary, #
|
|
661
|
+
box-shadow: 0 12px 30px color-mix(in srgb, var(--rt-color-primary, #06162f) 18%, transparent);
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
[data-roottale-cms] :where(.rt-cms-author-card__image) {
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
|
|
674
674
|
[data-roottale-cms] :where(.rt-cms-author-card__eyebrow) {
|
|
675
675
|
margin: 0 0 0.125rem;
|
|
676
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
676
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 46%, transparent);
|
|
677
677
|
font-size: 0.75rem;
|
|
678
678
|
font-weight: 700;
|
|
679
679
|
line-height: 1.2;
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
|
|
682
682
|
[data-roottale-cms] :where(.rt-cms-author-card__name) {
|
|
683
683
|
margin: 0;
|
|
684
|
-
color: var(--rt-color-foreground, #
|
|
684
|
+
color: var(--rt-color-foreground, #06162f);
|
|
685
685
|
font-family: var(--rt-font-display, system-ui, sans-serif);
|
|
686
686
|
font-size: 1.0625rem;
|
|
687
687
|
font-weight: 800;
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
|
|
691
691
|
[data-roottale-cms] :where(.rt-cms-author-card__description) {
|
|
692
692
|
margin: 0.375rem 0 0;
|
|
693
|
-
color: color-mix(in srgb, var(--rt-color-foreground, #
|
|
693
|
+
color: color-mix(in srgb, var(--rt-color-foreground, #06162f) 62%, transparent);
|
|
694
694
|
font-size: 0.9375rem;
|
|
695
695
|
line-height: 1.55;
|
|
696
696
|
max-inline-size: 42rem;
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
align-items: center;
|
|
752
752
|
gap: var(--rt-spacing-2, 0.5rem);
|
|
753
753
|
padding: var(--rt-spacing-3, 0.75rem) var(--rt-spacing-4, 1rem);
|
|
754
|
-
background: var(--rt-color-primary, #
|
|
754
|
+
background: var(--rt-color-primary, #06162f);
|
|
755
755
|
color: var(--rt-color-primary-foreground, #ffffff);
|
|
756
756
|
border-radius: var(--rt-radius-full, 9999px);
|
|
757
757
|
text-decoration: none;
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
gap: var(--rt-spacing-4, 1rem);
|
|
778
778
|
max-inline-size: 32rem;
|
|
779
779
|
font-family: var(--rt-font-body, system-ui, sans-serif);
|
|
780
|
-
color: var(--rt-color-foreground, #
|
|
780
|
+
color: var(--rt-color-foreground, #06162f);
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
[data-roottale-cms="lead-form"] :where(.rt-cms-lead-heading) {
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
|
|
790
790
|
[data-roottale-cms="lead-form"] :where(.rt-cms-lead-description) {
|
|
791
791
|
margin: 0;
|
|
792
|
-
color: var(--rt-color-muted-foreground, #
|
|
792
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
793
793
|
font-size: var(--rt-font-size-base, 1rem);
|
|
794
794
|
line-height: 1.5;
|
|
795
795
|
}
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
[data-roottale-cms="lead-form"] :where(.rt-cms-lead-vertical-label) {
|
|
798
798
|
margin: 0;
|
|
799
799
|
padding: var(--rt-spacing-3, 0.75rem);
|
|
800
|
-
background: var(--rt-color-muted, #
|
|
800
|
+
background: var(--rt-color-muted, #f7f8f7);
|
|
801
801
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
802
802
|
font-size: var(--rt-font-size-sm, 0.875rem);
|
|
803
803
|
}
|
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
[data-roottale-cms="lead-form"] :where(.rt-cms-field-label) {
|
|
811
811
|
font-size: var(--rt-font-size-sm, 0.875rem);
|
|
812
812
|
font-weight: var(--rt-font-weight-medium, 500);
|
|
813
|
-
color: var(--rt-color-foreground, #
|
|
813
|
+
color: var(--rt-color-foreground, #06162f);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
[data-roottale-cms="lead-form"] :where(.rt-cms-field-input) {
|
|
@@ -818,21 +818,21 @@
|
|
|
818
818
|
inline-size: 100%;
|
|
819
819
|
min-block-size: 2.75rem; /* WCAG 2.2 AA 48px touch */
|
|
820
820
|
padding: var(--rt-spacing-2, 0.5rem) var(--rt-spacing-3, 0.75rem);
|
|
821
|
-
border: 1px solid var(--rt-color-border, #
|
|
821
|
+
border: 1px solid var(--rt-color-border, #dceef3);
|
|
822
822
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
823
823
|
background: var(--rt-color-background, #fff);
|
|
824
|
-
color: var(--rt-color-foreground, #
|
|
824
|
+
color: var(--rt-color-foreground, #06162f);
|
|
825
825
|
font: inherit;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
[data-roottale-cms="lead-form"] :where(.rt-cms-field-input:focus-visible) {
|
|
829
|
-
outline: 2px solid var(--rt-color-primary, #
|
|
829
|
+
outline: 2px solid var(--rt-color-primary, #06162f);
|
|
830
830
|
outline-offset: 2px;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
[data-roottale-cms="lead-form"] :where(.rt-cms-field-hint) {
|
|
834
834
|
font-size: var(--rt-font-size-xs, 0.75rem);
|
|
835
|
-
color: var(--rt-color-muted-foreground, #
|
|
835
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
836
836
|
}
|
|
837
837
|
|
|
838
838
|
[data-roottale-cms="lead-form"] :where(.rt-cms-lead-consent) {
|
|
@@ -861,7 +861,7 @@
|
|
|
861
861
|
justify-content: center;
|
|
862
862
|
min-block-size: 2.75rem;
|
|
863
863
|
padding: var(--rt-spacing-3, 0.75rem) var(--rt-spacing-5, 1.25rem);
|
|
864
|
-
background: var(--rt-color-primary, #
|
|
864
|
+
background: var(--rt-color-primary, #06162f);
|
|
865
865
|
color: var(--rt-color-primary-foreground, #fff);
|
|
866
866
|
border: 0;
|
|
867
867
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
@@ -875,6 +875,6 @@
|
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
[data-roottale-cms="lead-form"] :where(.rt-cms-lead-submit:focus-visible) {
|
|
878
|
-
outline: 2px solid var(--rt-color-primary, #
|
|
878
|
+
outline: 2px solid var(--rt-color-primary, #06162f);
|
|
879
879
|
outline-offset: 2px;
|
|
880
880
|
}
|
package/dist/routes.js
CHANGED
|
@@ -129,7 +129,7 @@ function createFleetInfoRoute(config = {}) {
|
|
|
129
129
|
site: config.site ?? env.VERCEL_PROJECT_PRODUCTION_URL ?? null,
|
|
130
130
|
framework: "next",
|
|
131
131
|
cms_client: CMS_CLIENT_VERSION,
|
|
132
|
-
cms_renderer: true ? "0.
|
|
132
|
+
cms_renderer: true ? "0.24.0" : "dev",
|
|
133
133
|
build_sha: env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7) ?? null
|
|
134
134
|
},
|
|
135
135
|
{ headers: { "cache-control": "public, max-age=300" } }
|
package/dist/templates.css
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:where([data-roottale-tpl]) {
|
|
16
16
|
padding-block: clamp(3rem, 8vw, 6rem);
|
|
17
17
|
background: var(--rt-color-background, transparent);
|
|
18
|
-
color: var(--rt-color-foreground, #
|
|
18
|
+
color: var(--rt-color-foreground, #06162f);
|
|
19
19
|
font-family: var(--rt-font-body, system-ui, -apple-system, sans-serif);
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-roottale-tpl] :where(.rt-tpl-section-desc) {
|
|
37
|
-
color: var(--rt-color-muted-foreground, #
|
|
37
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
38
38
|
max-inline-size: 46rem;
|
|
39
39
|
margin-block: -0.75rem 2rem;
|
|
40
40
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-roottale-tpl] :where(.rt-tpl-btn--primary) {
|
|
60
|
-
background: var(--rt-color-primary, #
|
|
60
|
+
background: var(--rt-color-primary, #06162f);
|
|
61
61
|
color: var(--rt-color-primary-foreground, #ffffff);
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
[data-roottale-tpl] :where(.rt-tpl-hero-eyebrow) {
|
|
98
|
-
color: var(--rt-color-primary, #
|
|
98
|
+
color: var(--rt-color-primary, #06162f);
|
|
99
99
|
font-weight: 800;
|
|
100
100
|
letter-spacing: 0.04em;
|
|
101
101
|
margin: 0 0 0.75rem;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
|
|
116
116
|
[data-roottale-tpl] :where(.rt-tpl-hero-desc) {
|
|
117
117
|
font-size: 1.125rem;
|
|
118
|
-
color: var(--rt-color-muted-foreground, #
|
|
118
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
119
119
|
max-inline-size: 40rem;
|
|
120
120
|
margin: 0 0 2rem;
|
|
121
121
|
}
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
[data-roottale-tpl] :where(.rt-tpl-services-item) {
|
|
152
|
-
border: 1px solid var(--rt-color-border, #
|
|
152
|
+
border: 1px solid var(--rt-color-border, #dceef3);
|
|
153
153
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
154
154
|
padding: 1.5rem;
|
|
155
155
|
background: var(--rt-color-background, #ffffff);
|
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
[data-roottale-tpl] :where(.rt-tpl-services-item:hover) {
|
|
162
162
|
border-color: color-mix(
|
|
163
163
|
in srgb,
|
|
164
|
-
var(--rt-color-primary, #
|
|
165
|
-
var(--rt-color-border, #
|
|
164
|
+
var(--rt-color-primary, #06162f) 40%,
|
|
165
|
+
var(--rt-color-border, #dceef3)
|
|
166
166
|
);
|
|
167
167
|
transform: translateY(-2px);
|
|
168
168
|
}
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
[data-roottale-tpl] :where(.rt-tpl-services-desc) {
|
|
184
|
-
color: var(--rt-color-muted-foreground, #
|
|
184
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
185
185
|
font-size: 0.9375rem;
|
|
186
186
|
margin: 0;
|
|
187
187
|
}
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
[data-roottale-tpl] :where(.rt-tpl-faq-item) {
|
|
198
|
-
border: 1px solid var(--rt-color-border, #
|
|
198
|
+
border: 1px solid var(--rt-color-border, #dceef3);
|
|
199
199
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
200
200
|
padding: 1rem 1.25rem;
|
|
201
201
|
background: var(--rt-color-background, #ffffff);
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
[data-roottale-tpl] :where(.rt-tpl-faq-item[open] .rt-tpl-faq-q) {
|
|
211
|
-
color: var(--rt-color-primary, #
|
|
211
|
+
color: var(--rt-color-primary, #06162f);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
[data-roottale-tpl] :where(.rt-tpl-faq-a) {
|
|
215
215
|
margin: 0.75rem 0 0;
|
|
216
|
-
color: var(--rt-color-muted-foreground, #
|
|
216
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
/* ── cta-banner ───────────────────────────────────────────────────────────── */
|
|
@@ -228,10 +228,10 @@
|
|
|
228
228
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
229
229
|
background: color-mix(
|
|
230
230
|
in srgb,
|
|
231
|
-
var(--rt-color-primary, #
|
|
231
|
+
var(--rt-color-primary, #06162f) 8%,
|
|
232
232
|
var(--rt-color-background, #ffffff)
|
|
233
233
|
);
|
|
234
|
-
border: 1px solid var(--rt-color-border, #
|
|
234
|
+
border: 1px solid var(--rt-color-border, #dceef3);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
[data-roottale-tpl] :where(.rt-tpl-cta-banner-title) {
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
[data-roottale-tpl] :where(.rt-tpl-cta-banner-desc) {
|
|
245
|
-
color: var(--rt-color-muted-foreground, #
|
|
245
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
246
246
|
margin: 0;
|
|
247
247
|
max-inline-size: 40rem;
|
|
248
248
|
}
|
|
@@ -250,11 +250,11 @@
|
|
|
250
250
|
/* ── placeholder (admin preview 의 customSections skeleton) ──────────────── */
|
|
251
251
|
|
|
252
252
|
[data-roottale-tpl] :where(.rt-tpl-placeholder-box) {
|
|
253
|
-
border: 2px dashed var(--rt-color-border, #
|
|
253
|
+
border: 2px dashed var(--rt-color-border, #dceef3);
|
|
254
254
|
border-radius: var(--rt-radius-md, 0.5rem);
|
|
255
255
|
padding: 2.5rem;
|
|
256
256
|
text-align: center;
|
|
257
|
-
color: var(--rt-color-muted-foreground, #
|
|
257
|
+
color: var(--rt-color-muted-foreground, #6e6e6e);
|
|
258
258
|
font-family: ui-monospace, monospace;
|
|
259
259
|
font-size: 0.875rem;
|
|
260
260
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roottale/cms-renderer-next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "RootTale CMS public-render React/Next.js Server Components. SSR-only RSC components (RootTaleBlogList / RootTaleBlogPost / RootTaleLeadForm) for external customer sites. Companion of @roottale/cms-renderer-astro (ADR-0034 §1.5 amended).",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"zod": "^3.23.8",
|
|
45
|
-
"@roottale/cms-client": "^0.
|
|
45
|
+
"@roottale/cms-client": "^0.24.0",
|
|
46
46
|
"@roottale/cms-core": "^0.18.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|