@livenetworks/ashlar 2.0.7 → 2.0.8
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/LICENSE +641 -641
- package/components/COMPONENTS.md +1116 -1116
- package/components/index.js +81 -81
- package/components/ln-accordion/ln-accordion-dev.scss +8 -8
- package/components/ln-accordion/ln-accordion.js +1 -1
- package/components/ln-accordion/ln-accordion.schema.json +30 -30
- package/components/ln-ajax/ln-ajax-dev.scss +8 -8
- package/components/ln-ajax/ln-ajax.js +1 -1
- package/components/ln-ajax/ln-ajax.schema.json +30 -30
- package/components/ln-api-connector/ln-api-connector.js +1 -1
- package/components/ln-api-connector/ln-api-connector.schema.json +96 -96
- package/components/ln-api-connector/src/ln-api-connector.js +1 -0
- package/components/ln-api-queue/ln-api-queue.js +1 -1
- package/components/ln-api-queue/ln-api-queue.schema.json +34 -34
- package/components/ln-api-queue/src/ln-api-queue.js +3 -13
- package/components/ln-autoresize/ln-autoresize-dev.scss +8 -8
- package/components/ln-autoresize/ln-autoresize.js +1 -1
- package/components/ln-autoresize/ln-autoresize.schema.json +22 -22
- package/components/ln-autosave/ln-autosave-dev.scss +13 -13
- package/components/ln-autosave/ln-autosave.js +1 -1
- package/components/ln-autosave/ln-autosave.schema.json +48 -48
- package/components/ln-autosave/src/autosave-model.js +34 -34
- package/components/ln-chart/ln-chart.js +1 -1
- package/components/ln-chart/ln-chart.schema.json +146 -146
- package/components/ln-chart/src/chart-model.js +154 -154
- package/components/ln-circular-progress/ln-circular-progress.js +1 -1
- package/components/ln-circular-progress/ln-circular-progress.schema.json +42 -42
- package/components/ln-confirm/ln-confirm-dev.scss +24 -24
- package/components/ln-confirm/ln-confirm.js +1 -1
- package/components/ln-confirm/ln-confirm.schema.json +66 -66
- package/components/ln-confirm/src/ln-confirm.js +178 -178
- package/components/ln-core/crypto.js +286 -265
- package/components/ln-core/dom.js +115 -115
- package/components/ln-core/form.js +136 -136
- package/components/ln-core/helpers.js +33 -33
- package/components/ln-core/http.js +48 -48
- package/components/ln-core/index.js +1 -1
- package/components/ln-core/ln-core.schema.json +109 -109
- package/components/ln-core/locale.js +55 -55
- package/components/ln-core/matching.js +78 -78
- package/components/ln-core/number.js +125 -125
- package/components/ln-core/template.js +206 -206
- package/components/ln-couchdb-connector/ln-couchdb-connector.js +1 -1
- package/components/ln-couchdb-connector/ln-couchdb-connector.schema.json +50 -50
- package/components/ln-couchdb-connector/src/ln-couchdb-connector.js +1 -0
- package/components/ln-data-coordinator/README.md +9 -38
- package/components/ln-data-coordinator/ln-data-coordinator-dev.scss +8 -8
- package/components/ln-data-coordinator/ln-data-coordinator.js +1 -1
- package/components/ln-data-coordinator/ln-data-coordinator.schema.json +16 -16
- package/components/ln-data-coordinator/src/data-read-policy.js +0 -7
- package/components/ln-data-coordinator/src/ln-data-coordinator.js +428 -1308
- package/components/ln-data-store/ln-data-store-dev.scss +13 -13
- package/components/ln-data-store/ln-data-store.js +1 -1
- package/components/ln-data-store/ln-data-store.schema.json +84 -84
- package/components/ln-data-store/src/data-store-model.js +184 -184
- package/components/ln-data-store/src/ln-data-store.js +1 -1
- package/components/ln-date/ln-date.js +1 -1
- package/components/ln-date/ln-date.schema.json +92 -92
- package/components/ln-date/src/date-model.js +186 -186
- package/components/ln-debug/ln-debug.js +1 -1
- package/components/ln-debug/ln-debug.schema.json +28 -28
- package/components/ln-debug/src/console-sink.js +19 -19
- package/components/ln-debug/src/gate.js +95 -95
- package/components/ln-debug/src/generated-attributes.js +2 -2
- package/components/ln-dropdown/ln-dropdown-dev.scss +13 -13
- package/components/ln-dropdown/ln-dropdown.js +1 -1
- package/components/ln-dropdown/ln-dropdown.schema.json +90 -90
- package/components/ln-editor/ln-editor.js +1 -1
- package/components/ln-editor/ln-editor.schema.json +58 -58
- package/components/ln-external-links/ln-external-links.js +1 -1
- package/components/ln-external-links/ln-external-links.schema.json +18 -18
- package/components/ln-fill/ln-fill.js +1 -1
- package/components/ln-fill/ln-fill.schema.json +23 -23
- package/components/ln-filter/ln-filter.js +1 -1
- package/components/ln-filter/ln-filter.schema.json +153 -153
- package/components/ln-filter/src/filter-model.js +185 -185
- package/components/ln-form/ln-form-dev.scss +8 -8
- package/components/ln-form/ln-form.js +1 -1
- package/components/ln-form/ln-form.schema.json +45 -45
- package/components/ln-http/ln-http.js +1 -1
- package/components/ln-http/ln-http.schema.json +6 -6
- package/components/ln-icon/ln-icon.schema.json +6 -6
- package/components/ln-include/ln-include.js +1 -1
- package/components/ln-include/ln-include.schema.json +23 -23
- package/components/ln-key/ln-key-dev.scss +18 -18
- package/components/ln-key/ln-key.js +1 -1
- package/components/ln-key/ln-key.schema.json +56 -56
- package/components/ln-key/src/ln-key.js +10 -10
- package/components/ln-link/ln-link-dev.scss +8 -8
- package/components/ln-link/ln-link.js +1 -1
- package/components/ln-link/ln-link.schema.json +22 -22
- package/components/ln-list/README.md +152 -152
- package/components/ln-list/ln-list-dev.scss +8 -8
- package/components/ln-list/ln-list.js +1 -1
- package/components/ln-list/ln-list.schema.json +166 -166
- package/components/ln-modal/ln-modal.js +1 -1
- package/components/ln-modal/ln-modal.schema.json +65 -65
- package/components/ln-nav/ln-nav.js +1 -1
- package/components/ln-nav/ln-nav.schema.json +25 -25
- package/components/ln-number/ln-number.js +1 -1
- package/components/ln-number/ln-number.schema.json +63 -63
- package/components/ln-number/src/number-model.js +31 -31
- package/components/ln-obfuscator/README.md +60 -60
- package/components/ln-obfuscator/ln-obfuscator.js +1 -1
- package/components/ln-obfuscator/ln-obfuscator.schema.json +49 -49
- package/components/ln-obfuscator/src/ln-obfuscator.js +159 -159
- package/components/ln-obfuscator/src/obfuscator-model.js +250 -250
- package/components/ln-options/ln-options.js +1 -1
- package/components/ln-options/ln-options.schema.json +41 -41
- package/components/ln-persist/README.md +151 -151
- package/components/ln-persist/ln-persist.js +1 -1
- package/components/ln-persist/ln-persist.schema.json +28 -28
- package/components/ln-persist/src/ln-persist.js +83 -83
- package/components/ln-picklist/README.md +230 -230
- package/components/ln-picklist/ln-picklist-dev.scss +22 -22
- package/components/ln-picklist/ln-picklist.js +1 -1
- package/components/ln-picklist/ln-picklist.schema.json +49 -49
- package/components/ln-picklist/src/ln-picklist.js +228 -228
- package/components/ln-popover/ln-popover-dev.scss +13 -13
- package/components/ln-popover/ln-popover.js +1 -1
- package/components/ln-popover/ln-popover.schema.json +82 -82
- package/components/ln-progress/ln-progress-dev.scss +8 -8
- package/components/ln-progress/ln-progress.js +1 -1
- package/components/ln-progress/ln-progress.schema.json +40 -40
- package/components/ln-router/ln-router.js +1 -1
- package/components/ln-router/ln-router.schema.json +76 -76
- package/components/ln-scroll/README.md +45 -45
- package/components/ln-scroll/ln-scroll.js +1 -1
- package/components/ln-scroll/ln-scroll.schema.json +85 -85
- package/components/ln-scroll/src/ln-scroll.js +150 -150
- package/components/ln-search/README.md +188 -188
- package/components/ln-search/ln-search.js +1 -1
- package/components/ln-search/ln-search.schema.json +103 -103
- package/components/ln-slug/ln-slug.js +1 -1
- package/components/ln-slug/ln-slug.schema.json +23 -23
- package/components/ln-sort/ln-sort.js +1 -1
- package/components/ln-sort/ln-sort.schema.json +104 -104
- package/components/ln-sort/src/ln-sort.js +321 -321
- package/components/ln-sort/src/sort-model.js +117 -117
- package/components/ln-sortable/ln-sortable-dev.scss +13 -13
- package/components/ln-sortable/ln-sortable.js +1 -1
- package/components/ln-sortable/ln-sortable.schema.json +36 -36
- package/components/ln-stat/ln-stat-dev.scss +8 -8
- package/components/ln-stat/ln-stat.js +1 -1
- package/components/ln-stat/ln-stat.schema.json +32 -32
- package/components/ln-stat/src/stat-model.js +28 -28
- package/components/ln-table/ln-table.js +1 -1
- package/components/ln-table/ln-table.schema.json +211 -211
- package/components/ln-table/src/table-model.js +98 -98
- package/components/ln-table-coordinator/ln-table-coordinator.js +1 -1
- package/components/ln-table-coordinator/ln-table-coordinator.schema.json +93 -93
- package/components/ln-tabs/ln-tabs.js +1 -1
- package/components/ln-tabs/ln-tabs.schema.json +75 -75
- package/components/ln-tabs/src/ln-tabs.js +208 -208
- package/components/ln-tabs/src/tabs-model.js +82 -82
- package/components/ln-time/ln-time-dev.scss +13 -13
- package/components/ln-time/ln-time.js +1 -1
- package/components/ln-time/ln-time.schema.json +38 -38
- package/components/ln-toast/ln-toast.js +1 -1
- package/components/ln-toast/ln-toast.schema.json +65 -65
- package/components/ln-toggle/ln-toggle.js +1 -1
- package/components/ln-toggle/ln-toggle.schema.json +52 -52
- package/components/ln-tooltip/ln-tooltip.js +1 -1
- package/components/ln-tooltip/ln-tooltip.schema.json +86 -86
- package/components/ln-translations/ln-translations.js +1 -1
- package/components/ln-translations/ln-translations.schema.json +120 -120
- package/components/ln-ui-coordinator/README.md +62 -62
- package/components/ln-ui-coordinator/ln-ui-coordinator.js +1 -1
- package/components/ln-ui-coordinator/ln-ui-coordinator.schema.json +28 -28
- package/components/ln-ui-coordinator/src/ln-ui-coordinator.js +140 -140
- package/components/ln-upload/ln-upload.js +1 -1
- package/components/ln-upload/ln-upload.schema.json +193 -193
- package/components/ln-upload/src/upload-model.js +78 -78
- package/components/ln-validate/ln-validate.js +1 -1
- package/components/ln-validate/ln-validate.schema.json +50 -50
- package/components/ln-validate/src/validate-model.js +64 -64
- package/components/ln-websocket-connector/README.md +166 -166
- package/components/ln-websocket-connector/ln-websocket-connector.js +1 -1
- package/components/ln-websocket-connector/ln-websocket-connector.schema.json +29 -29
- package/components/ln-websocket-connector/src/ln-websocket-connector.js +283 -279
- package/ln-ashlar.html-data.json +7 -8
- package/package.json +84 -84
- package/theme/brand.css +73 -73
- package/theme/components/_confirm.scss +6 -6
- package/theme/components/_picklist.scss +3 -3
- package/theme/config/_palette.scss +274 -274
- package/theme/config/_theme.scss +292 -292
- package/theme/config/_tokens.scss +285 -285
- package/theme/config/mixins/_index.scss +62 -62
- package/theme/config/mixins/_picklist.scss +66 -66
- package/theme/ln-ashlar-dev.scss +66 -66
- package/theme/ln-ashlar-landing.scss +56 -56
- package/theme/ln-ashlar-theme.scss +63 -63
- package/theme/presentation/_bento.scss +151 -151
- package/theme/presentation/_cta.scss +111 -111
- package/theme/presentation/_effects.scss +216 -216
- package/theme/presentation/_features.scss +108 -108
- package/theme/presentation/_footer.scss +129 -129
- package/theme/presentation/_hero.scss +158 -158
- package/theme/presentation/_layout.scss +170 -170
- package/theme/presentation/_navbar.scss +140 -140
- package/theme/presentation/_pricing.scss +262 -262
- package/theme/presentation/_stats.scss +87 -87
- package/theme/presentation/_testimonials.scss +124 -124
- package/theme/presentation/_tokens.scss +39 -39
- package/theme/presentation/_typography.scss +163 -163
- package/web-types.json +12 -12
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Presentation Metrics & Statistics — ln-ashlar
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
// Large fluid metrics callouts for social proof and product benchmarks.
|
|
5
|
-
// Provided as mixins, semantic selectors (#stats-list li), and classes.
|
|
6
|
-
// ==========================================================================
|
|
7
|
-
|
|
8
|
-
@mixin stat-grid {
|
|
9
|
-
list-style: none;
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0;
|
|
12
|
-
display: grid;
|
|
13
|
-
grid-template-columns: 1fr;
|
|
14
|
-
gap: var(--size-lg);
|
|
15
|
-
|
|
16
|
-
@media (min-width: 600px) {
|
|
17
|
-
grid-template-columns: repeat(2, 1fr);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@media (min-width: 1024px) {
|
|
21
|
-
grid-template-columns: repeat(4, 1fr);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin stat-item {
|
|
26
|
-
list-style: none;
|
|
27
|
-
margin: 0;
|
|
28
|
-
padding: clamp(1.25rem, 2.5vw, 2rem);
|
|
29
|
-
background-color: var(--bg-elevated);
|
|
30
|
-
border: var(--border-width) solid var(--color-border);
|
|
31
|
-
border-radius: var(--radius-xl);
|
|
32
|
-
text-align: center;
|
|
33
|
-
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
34
|
-
|
|
35
|
-
&:hover {
|
|
36
|
-
transform: translateY(-2px);
|
|
37
|
-
border-color: color-mix(in srgb, hsl(var(--color-primary)) 40%, var(--color-border));
|
|
38
|
-
box-shadow: var(--shadow-sm);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
strong,
|
|
42
|
-
b,
|
|
43
|
-
data,
|
|
44
|
-
.stat-number {
|
|
45
|
-
display: block;
|
|
46
|
-
font-size: clamp(2.25rem, 4.5vw, 3.5rem);
|
|
47
|
-
font-weight: 800;
|
|
48
|
-
letter-spacing: -0.03em;
|
|
49
|
-
line-height: 1.1;
|
|
50
|
-
margin-block-start: 0;
|
|
51
|
-
margin-block-end: var(--size-xs);
|
|
52
|
-
color: var(--color-fg);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
span,
|
|
56
|
-
label,
|
|
57
|
-
.stat-label {
|
|
58
|
-
display: block;
|
|
59
|
-
font-size: var(--text-sm);
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
color: var(--color-fg);
|
|
62
|
-
margin-block-start: 0;
|
|
63
|
-
margin-block-end: var(--size-2xs);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
p,
|
|
67
|
-
small,
|
|
68
|
-
.stat-desc {
|
|
69
|
-
font-size: var(--text-xs);
|
|
70
|
-
color: var(--fg-muted);
|
|
71
|
-
margin: 0;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// ─── Declarative Selectors ───────────────────────────────────────────────────
|
|
76
|
-
|
|
77
|
-
#stats-list,
|
|
78
|
-
#stats ul,
|
|
79
|
-
.stat-grid {
|
|
80
|
-
@include stat-grid;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
#stats-list > li,
|
|
84
|
-
#stats ul > li,
|
|
85
|
-
.stat-item {
|
|
86
|
-
@include stat-item;
|
|
87
|
-
}
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Presentation Metrics & Statistics — ln-ashlar
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
// Large fluid metrics callouts for social proof and product benchmarks.
|
|
5
|
+
// Provided as mixins, semantic selectors (#stats-list li), and classes.
|
|
6
|
+
// ==========================================================================
|
|
7
|
+
|
|
8
|
+
@mixin stat-grid {
|
|
9
|
+
list-style: none;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 1fr;
|
|
14
|
+
gap: var(--size-lg);
|
|
15
|
+
|
|
16
|
+
@media (min-width: 600px) {
|
|
17
|
+
grid-template-columns: repeat(2, 1fr);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-width: 1024px) {
|
|
21
|
+
grid-template-columns: repeat(4, 1fr);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin stat-item {
|
|
26
|
+
list-style: none;
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: clamp(1.25rem, 2.5vw, 2rem);
|
|
29
|
+
background-color: var(--bg-elevated);
|
|
30
|
+
border: var(--border-width) solid var(--color-border);
|
|
31
|
+
border-radius: var(--radius-xl);
|
|
32
|
+
text-align: center;
|
|
33
|
+
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
transform: translateY(-2px);
|
|
37
|
+
border-color: color-mix(in srgb, hsl(var(--color-primary)) 40%, var(--color-border));
|
|
38
|
+
box-shadow: var(--shadow-sm);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
strong,
|
|
42
|
+
b,
|
|
43
|
+
data,
|
|
44
|
+
.stat-number {
|
|
45
|
+
display: block;
|
|
46
|
+
font-size: clamp(2.25rem, 4.5vw, 3.5rem);
|
|
47
|
+
font-weight: 800;
|
|
48
|
+
letter-spacing: -0.03em;
|
|
49
|
+
line-height: 1.1;
|
|
50
|
+
margin-block-start: 0;
|
|
51
|
+
margin-block-end: var(--size-xs);
|
|
52
|
+
color: var(--color-fg);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
span,
|
|
56
|
+
label,
|
|
57
|
+
.stat-label {
|
|
58
|
+
display: block;
|
|
59
|
+
font-size: var(--text-sm);
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
color: var(--color-fg);
|
|
62
|
+
margin-block-start: 0;
|
|
63
|
+
margin-block-end: var(--size-2xs);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
p,
|
|
67
|
+
small,
|
|
68
|
+
.stat-desc {
|
|
69
|
+
font-size: var(--text-xs);
|
|
70
|
+
color: var(--fg-muted);
|
|
71
|
+
margin: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// ─── Declarative Selectors ───────────────────────────────────────────────────
|
|
76
|
+
|
|
77
|
+
#stats-list,
|
|
78
|
+
#stats ul,
|
|
79
|
+
.stat-grid {
|
|
80
|
+
@include stat-grid;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
#stats-list > li,
|
|
84
|
+
#stats ul > li,
|
|
85
|
+
.stat-item {
|
|
86
|
+
@include stat-item;
|
|
87
|
+
}
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Presentation Testimonials & Social Proof — ln-ashlar
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
// Customer quote cards, star ratings, and author avatars.
|
|
5
|
-
// Supports both semantic section selector (#testimonials) and reusable .cards-grid / .testimonial-card.
|
|
6
|
-
// ==========================================================================
|
|
7
|
-
|
|
8
|
-
#testimonials,
|
|
9
|
-
.testimonial-section {
|
|
10
|
-
ul,
|
|
11
|
-
.cards-grid,
|
|
12
|
-
.testimonial-grid {
|
|
13
|
-
list-style: none;
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
display: grid;
|
|
17
|
-
grid-template-columns: 1fr;
|
|
18
|
-
gap: var(--size-lg);
|
|
19
|
-
|
|
20
|
-
@media (min-width: 768px) {
|
|
21
|
-
grid-template-columns: repeat(2, 1fr);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (min-width: 1024px) {
|
|
25
|
-
grid-template-columns: repeat(3, 1fr);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
li,
|
|
30
|
-
.testimonial-card {
|
|
31
|
-
list-style: none;
|
|
32
|
-
margin: 0;
|
|
33
|
-
background-color: var(--bg-elevated);
|
|
34
|
-
border: var(--border-width) solid var(--color-border);
|
|
35
|
-
border-radius: var(--radius-xl);
|
|
36
|
-
padding: clamp(1.5rem, 2.5vw, 2.25rem);
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
box-shadow: var(--shadow-sm);
|
|
41
|
-
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
transform: translateY(-2px);
|
|
45
|
-
box-shadow: var(--shadow-md);
|
|
46
|
-
border-color: color-mix(in srgb, hsl(var(--color-primary)) 35%, var(--color-border));
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.testimonial-rating {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
gap: 0.25rem;
|
|
54
|
-
margin-block-end: var(--size-md);
|
|
55
|
-
color: #f59e0b; // Warm amber star color
|
|
56
|
-
|
|
57
|
-
svg,
|
|
58
|
-
.ln-icon {
|
|
59
|
-
width: 1.125rem;
|
|
60
|
-
height: 1.125rem;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
blockquote,
|
|
65
|
-
.testimonial-quote {
|
|
66
|
-
font-size: var(--text-body-md);
|
|
67
|
-
line-height: 1.6;
|
|
68
|
-
color: var(--color-fg);
|
|
69
|
-
font-style: normal;
|
|
70
|
-
margin: 0;
|
|
71
|
-
margin-block-end: var(--size-xl);
|
|
72
|
-
|
|
73
|
-
p {
|
|
74
|
-
margin: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
footer,
|
|
79
|
-
.testimonial-author {
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
gap: var(--size-md);
|
|
83
|
-
margin-block-start: auto;
|
|
84
|
-
|
|
85
|
-
.author-avatar,
|
|
86
|
-
figure {
|
|
87
|
-
width: 2.75rem;
|
|
88
|
-
height: 2.75rem;
|
|
89
|
-
border-radius: var(--radius-full);
|
|
90
|
-
background-color: var(--bg-recessed);
|
|
91
|
-
border: var(--border-width) solid var(--color-border);
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
flex-shrink: 0;
|
|
94
|
-
margin: 0;
|
|
95
|
-
|
|
96
|
-
img {
|
|
97
|
-
width: 100%;
|
|
98
|
-
height: 100%;
|
|
99
|
-
object-fit: cover;
|
|
100
|
-
display: block;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.author-info {
|
|
105
|
-
cite,
|
|
106
|
-
.author-name {
|
|
107
|
-
display: block;
|
|
108
|
-
font-size: var(--text-sm);
|
|
109
|
-
font-weight: 700;
|
|
110
|
-
font-style: normal;
|
|
111
|
-
color: var(--color-fg);
|
|
112
|
-
margin: 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.author-title,
|
|
116
|
-
span {
|
|
117
|
-
display: block;
|
|
118
|
-
font-size: var(--text-xs);
|
|
119
|
-
color: var(--fg-muted);
|
|
120
|
-
margin: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Presentation Testimonials & Social Proof — ln-ashlar
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
// Customer quote cards, star ratings, and author avatars.
|
|
5
|
+
// Supports both semantic section selector (#testimonials) and reusable .cards-grid / .testimonial-card.
|
|
6
|
+
// ==========================================================================
|
|
7
|
+
|
|
8
|
+
#testimonials,
|
|
9
|
+
.testimonial-section {
|
|
10
|
+
ul,
|
|
11
|
+
.cards-grid,
|
|
12
|
+
.testimonial-grid {
|
|
13
|
+
list-style: none;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: 1fr;
|
|
18
|
+
gap: var(--size-lg);
|
|
19
|
+
|
|
20
|
+
@media (min-width: 768px) {
|
|
21
|
+
grid-template-columns: repeat(2, 1fr);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (min-width: 1024px) {
|
|
25
|
+
grid-template-columns: repeat(3, 1fr);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
li,
|
|
30
|
+
.testimonial-card {
|
|
31
|
+
list-style: none;
|
|
32
|
+
margin: 0;
|
|
33
|
+
background-color: var(--bg-elevated);
|
|
34
|
+
border: var(--border-width) solid var(--color-border);
|
|
35
|
+
border-radius: var(--radius-xl);
|
|
36
|
+
padding: clamp(1.5rem, 2.5vw, 2.25rem);
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
box-shadow: var(--shadow-sm);
|
|
41
|
+
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
transform: translateY(-2px);
|
|
45
|
+
box-shadow: var(--shadow-md);
|
|
46
|
+
border-color: color-mix(in srgb, hsl(var(--color-primary)) 35%, var(--color-border));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.testimonial-rating {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 0.25rem;
|
|
54
|
+
margin-block-end: var(--size-md);
|
|
55
|
+
color: #f59e0b; // Warm amber star color
|
|
56
|
+
|
|
57
|
+
svg,
|
|
58
|
+
.ln-icon {
|
|
59
|
+
width: 1.125rem;
|
|
60
|
+
height: 1.125rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
blockquote,
|
|
65
|
+
.testimonial-quote {
|
|
66
|
+
font-size: var(--text-body-md);
|
|
67
|
+
line-height: 1.6;
|
|
68
|
+
color: var(--color-fg);
|
|
69
|
+
font-style: normal;
|
|
70
|
+
margin: 0;
|
|
71
|
+
margin-block-end: var(--size-xl);
|
|
72
|
+
|
|
73
|
+
p {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
footer,
|
|
79
|
+
.testimonial-author {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: var(--size-md);
|
|
83
|
+
margin-block-start: auto;
|
|
84
|
+
|
|
85
|
+
.author-avatar,
|
|
86
|
+
figure {
|
|
87
|
+
width: 2.75rem;
|
|
88
|
+
height: 2.75rem;
|
|
89
|
+
border-radius: var(--radius-full);
|
|
90
|
+
background-color: var(--bg-recessed);
|
|
91
|
+
border: var(--border-width) solid var(--color-border);
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
flex-shrink: 0;
|
|
94
|
+
margin: 0;
|
|
95
|
+
|
|
96
|
+
img {
|
|
97
|
+
width: 100%;
|
|
98
|
+
height: 100%;
|
|
99
|
+
object-fit: cover;
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.author-info {
|
|
105
|
+
cite,
|
|
106
|
+
.author-name {
|
|
107
|
+
display: block;
|
|
108
|
+
font-size: var(--text-sm);
|
|
109
|
+
font-weight: 700;
|
|
110
|
+
font-style: normal;
|
|
111
|
+
color: var(--color-fg);
|
|
112
|
+
margin: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.author-title,
|
|
116
|
+
span {
|
|
117
|
+
display: block;
|
|
118
|
+
font-size: var(--text-xs);
|
|
119
|
+
color: var(--fg-muted);
|
|
120
|
+
margin: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Presentation Design Tokens — ln-ashlar
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
// Scales for marketing, landing pages, hero sections, and feature showcases.
|
|
5
|
-
// Supplements core tokens with fluid typography and marketing layout variables.
|
|
6
|
-
// ==========================================================================
|
|
7
|
-
|
|
8
|
-
:root {
|
|
9
|
-
// -----------------------------------------------------------------------
|
|
10
|
-
// Presentation Containers & Section Rhythm
|
|
11
|
-
// -----------------------------------------------------------------------
|
|
12
|
-
--container-landing-max-w: 80rem; // 1280px
|
|
13
|
-
--container-narrow-max-w: 56rem; // 896px
|
|
14
|
-
--container-padding-x: clamp(1rem, 3.5vw, 2.5rem);
|
|
15
|
-
|
|
16
|
-
--section-spacing-y: clamp(4rem, 8vw, 7.5rem);
|
|
17
|
-
--section-spacing-sm: clamp(2.5rem, 5vw, 4rem);
|
|
18
|
-
|
|
19
|
-
// -----------------------------------------------------------------------
|
|
20
|
-
// Presentation Fluid Typography (clamp-based)
|
|
21
|
-
// -----------------------------------------------------------------------
|
|
22
|
-
--text-hero: clamp(2.5rem, 5.5vw + 0.5rem, 4.75rem);
|
|
23
|
-
--lh-hero: 1.08;
|
|
24
|
-
|
|
25
|
-
--text-section-title: clamp(2rem, 3.8vw + 0.25rem, 3.25rem);
|
|
26
|
-
--lh-section-title: 1.15;
|
|
27
|
-
|
|
28
|
-
--text-section-sub: clamp(1.25rem, 2.2vw, 1.75rem);
|
|
29
|
-
--lh-section-sub: 1.25;
|
|
30
|
-
|
|
31
|
-
--text-lead: clamp(1.0625rem, 1.2vw + 0.5rem, 1.3rem);
|
|
32
|
-
--lh-lead: 1.6;
|
|
33
|
-
|
|
34
|
-
// -----------------------------------------------------------------------
|
|
35
|
-
// Ambient & Lighting Tokens
|
|
36
|
-
// -----------------------------------------------------------------------
|
|
37
|
-
--spotlight-opacity: 0.15;
|
|
38
|
-
--hero-glow-spread: 40rem;
|
|
39
|
-
}
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Presentation Design Tokens — ln-ashlar
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
// Scales for marketing, landing pages, hero sections, and feature showcases.
|
|
5
|
+
// Supplements core tokens with fluid typography and marketing layout variables.
|
|
6
|
+
// ==========================================================================
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
// -----------------------------------------------------------------------
|
|
10
|
+
// Presentation Containers & Section Rhythm
|
|
11
|
+
// -----------------------------------------------------------------------
|
|
12
|
+
--container-landing-max-w: 80rem; // 1280px
|
|
13
|
+
--container-narrow-max-w: 56rem; // 896px
|
|
14
|
+
--container-padding-x: clamp(1rem, 3.5vw, 2.5rem);
|
|
15
|
+
|
|
16
|
+
--section-spacing-y: clamp(4rem, 8vw, 7.5rem);
|
|
17
|
+
--section-spacing-sm: clamp(2.5rem, 5vw, 4rem);
|
|
18
|
+
|
|
19
|
+
// -----------------------------------------------------------------------
|
|
20
|
+
// Presentation Fluid Typography (clamp-based)
|
|
21
|
+
// -----------------------------------------------------------------------
|
|
22
|
+
--text-hero: clamp(2.5rem, 5.5vw + 0.5rem, 4.75rem);
|
|
23
|
+
--lh-hero: 1.08;
|
|
24
|
+
|
|
25
|
+
--text-section-title: clamp(2rem, 3.8vw + 0.25rem, 3.25rem);
|
|
26
|
+
--lh-section-title: 1.15;
|
|
27
|
+
|
|
28
|
+
--text-section-sub: clamp(1.25rem, 2.2vw, 1.75rem);
|
|
29
|
+
--lh-section-sub: 1.25;
|
|
30
|
+
|
|
31
|
+
--text-lead: clamp(1.0625rem, 1.2vw + 0.5rem, 1.3rem);
|
|
32
|
+
--lh-lead: 1.6;
|
|
33
|
+
|
|
34
|
+
// -----------------------------------------------------------------------
|
|
35
|
+
// Ambient & Lighting Tokens
|
|
36
|
+
// -----------------------------------------------------------------------
|
|
37
|
+
--spotlight-opacity: 0.15;
|
|
38
|
+
--hero-glow-spread: 40rem;
|
|
39
|
+
}
|