@livenetworks/ashlar 2.0.6 → 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-accordion/src/ln-accordion.js +1 -0
- 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/README.md +4 -0
- 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 +19 -1
- 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 -1299
- package/components/ln-data-store/README.md +3 -2
- 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 -155
- package/components/ln-data-store/src/ln-data-store.js +58 -11
- package/components/ln-date/README.md +4 -0
- 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-date/src/ln-date.js +3 -3
- 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-list/src/ln-list.js +4 -4
- package/components/ln-modal/README.md +4 -6
- package/components/ln-modal/ln-modal.js +1 -1
- package/components/ln-modal/ln-modal.schema.json +65 -65
- package/components/ln-modal/src/ln-modal.js +28 -8
- 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-options/src/ln-options.js +1 -0
- 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/README.md +4 -0
- 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-popover/src/ln-popover.js +9 -0
- 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/ln-table.js +2 -0
- 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-table-coordinator/src/ln-table-coordinator.js +3 -3
- package/components/ln-tabs/README.md +2 -2
- 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 -207
- 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,151 +1,151 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Presentation Bento Grid — ln-ashlar
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
// Modern asymmetric bento-box grid layouts for highlighting core features.
|
|
5
|
-
// Provided both as SCSS mixins (for ID/semantic composition) and classes.
|
|
6
|
-
// ==========================================================================
|
|
7
|
-
|
|
8
|
-
@mixin bento-grid {
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-template-columns: 1fr;
|
|
11
|
-
gap: var(--size-lg);
|
|
12
|
-
|
|
13
|
-
@media (min-width: 768px) {
|
|
14
|
-
grid-template-columns: repeat(12, 1fr);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin bento-card {
|
|
19
|
-
position: relative;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
padding: clamp(1.5rem, 3vw, 2.25rem);
|
|
25
|
-
background-color: var(--bg-elevated);
|
|
26
|
-
border: var(--border-width) solid var(--color-border);
|
|
27
|
-
border-radius: var(--radius-xl);
|
|
28
|
-
box-shadow: var(--shadow-sm);
|
|
29
|
-
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
30
|
-
|
|
31
|
-
&:hover {
|
|
32
|
-
transform: translateY(-2px);
|
|
33
|
-
box-shadow:
|
|
34
|
-
0 12px 30px -10px hsl(var(--color-primary) / 0.16),
|
|
35
|
-
var(--shadow-md);
|
|
36
|
-
border-color: color-mix(in srgb, hsl(var(--color-primary)) 40%, var(--color-border));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.bento-header {
|
|
40
|
-
margin-block-end: var(--size-md);
|
|
41
|
-
|
|
42
|
-
.bento-title {
|
|
43
|
-
font-size: var(--text-heading-md);
|
|
44
|
-
font-weight: 700;
|
|
45
|
-
letter-spacing: -0.02em;
|
|
46
|
-
color: var(--color-fg);
|
|
47
|
-
margin-block-start: 0;
|
|
48
|
-
margin-block-end: var(--size-xs-up);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.bento-desc {
|
|
52
|
-
font-size: var(--text-body-md);
|
|
53
|
-
color: var(--fg-muted);
|
|
54
|
-
margin: 0;
|
|
55
|
-
line-height: 1.55;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.bento-visual {
|
|
60
|
-
margin-block-start: var(--size-lg);
|
|
61
|
-
border-radius: var(--radius-lg);
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
|
|
64
|
-
&.bento-pill-group {
|
|
65
|
-
display: flex;
|
|
66
|
-
gap: var(--size-xs);
|
|
67
|
-
flex-wrap: wrap;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&.bento-type-sample {
|
|
71
|
-
padding: var(--size-lg);
|
|
72
|
-
|
|
73
|
-
.type-display {
|
|
74
|
-
font-size: clamp(1.5rem, 3.5vw, 2.5rem);
|
|
75
|
-
font-weight: 800;
|
|
76
|
-
line-height: 1.2;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.type-code {
|
|
80
|
-
margin-block-start: var(--size-xs);
|
|
81
|
-
margin-block-end: 0;
|
|
82
|
-
font-size: var(--text-xs);
|
|
83
|
-
font-family: var(--font-mono);
|
|
84
|
-
color: var(--fg-muted);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&.bento-glass-sample {
|
|
89
|
-
padding: var(--size-md);
|
|
90
|
-
text-align: center;
|
|
91
|
-
|
|
92
|
-
.badge-dot {
|
|
93
|
-
margin-inline: auto;
|
|
94
|
-
margin-block-end: var(--size-xs);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
small {
|
|
98
|
-
color: var(--fg-muted);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.bento-code-sample {
|
|
103
|
-
padding: var(--size-md);
|
|
104
|
-
font-family: var(--font-mono);
|
|
105
|
-
font-size: var(--text-xs);
|
|
106
|
-
line-height: 1.6;
|
|
107
|
-
|
|
108
|
-
.token-tag {
|
|
109
|
-
color: hsl(var(--color-primary));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.token-attr {
|
|
113
|
-
color: hsl(var(--color-success, 150 80% 40%));
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@mixin bento-span($cols) {
|
|
120
|
-
@media (min-width: 768px) {
|
|
121
|
-
grid-column: span #{$cols};
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@mixin bento-row-span($rows: 2) {
|
|
126
|
-
@media (min-width: 768px) {
|
|
127
|
-
grid-row: span #{$rows};
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// ---------------------------------------------------------------------------
|
|
132
|
-
// Component Classes
|
|
133
|
-
// ---------------------------------------------------------------------------
|
|
134
|
-
.bento-grid {
|
|
135
|
-
@include bento-grid;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.bento-card {
|
|
139
|
-
@include bento-card;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@media (min-width: 768px) {
|
|
143
|
-
.bento-span-4 { @include bento-span(4); }
|
|
144
|
-
.bento-span-5 { @include bento-span(5); }
|
|
145
|
-
.bento-span-6 { @include bento-span(6); }
|
|
146
|
-
.bento-span-7 { @include bento-span(7); }
|
|
147
|
-
.bento-span-8 { @include bento-span(8); }
|
|
148
|
-
.bento-span-12 { @include bento-span(12); }
|
|
149
|
-
|
|
150
|
-
.bento-row-span-2 { @include bento-row-span(2); }
|
|
151
|
-
}
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Presentation Bento Grid — ln-ashlar
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
// Modern asymmetric bento-box grid layouts for highlighting core features.
|
|
5
|
+
// Provided both as SCSS mixins (for ID/semantic composition) and classes.
|
|
6
|
+
// ==========================================================================
|
|
7
|
+
|
|
8
|
+
@mixin bento-grid {
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: 1fr;
|
|
11
|
+
gap: var(--size-lg);
|
|
12
|
+
|
|
13
|
+
@media (min-width: 768px) {
|
|
14
|
+
grid-template-columns: repeat(12, 1fr);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin bento-card {
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
padding: clamp(1.5rem, 3vw, 2.25rem);
|
|
25
|
+
background-color: var(--bg-elevated);
|
|
26
|
+
border: var(--border-width) solid var(--color-border);
|
|
27
|
+
border-radius: var(--radius-xl);
|
|
28
|
+
box-shadow: var(--shadow-sm);
|
|
29
|
+
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
transform: translateY(-2px);
|
|
33
|
+
box-shadow:
|
|
34
|
+
0 12px 30px -10px hsl(var(--color-primary) / 0.16),
|
|
35
|
+
var(--shadow-md);
|
|
36
|
+
border-color: color-mix(in srgb, hsl(var(--color-primary)) 40%, var(--color-border));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.bento-header {
|
|
40
|
+
margin-block-end: var(--size-md);
|
|
41
|
+
|
|
42
|
+
.bento-title {
|
|
43
|
+
font-size: var(--text-heading-md);
|
|
44
|
+
font-weight: 700;
|
|
45
|
+
letter-spacing: -0.02em;
|
|
46
|
+
color: var(--color-fg);
|
|
47
|
+
margin-block-start: 0;
|
|
48
|
+
margin-block-end: var(--size-xs-up);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bento-desc {
|
|
52
|
+
font-size: var(--text-body-md);
|
|
53
|
+
color: var(--fg-muted);
|
|
54
|
+
margin: 0;
|
|
55
|
+
line-height: 1.55;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bento-visual {
|
|
60
|
+
margin-block-start: var(--size-lg);
|
|
61
|
+
border-radius: var(--radius-lg);
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
|
|
64
|
+
&.bento-pill-group {
|
|
65
|
+
display: flex;
|
|
66
|
+
gap: var(--size-xs);
|
|
67
|
+
flex-wrap: wrap;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.bento-type-sample {
|
|
71
|
+
padding: var(--size-lg);
|
|
72
|
+
|
|
73
|
+
.type-display {
|
|
74
|
+
font-size: clamp(1.5rem, 3.5vw, 2.5rem);
|
|
75
|
+
font-weight: 800;
|
|
76
|
+
line-height: 1.2;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.type-code {
|
|
80
|
+
margin-block-start: var(--size-xs);
|
|
81
|
+
margin-block-end: 0;
|
|
82
|
+
font-size: var(--text-xs);
|
|
83
|
+
font-family: var(--font-mono);
|
|
84
|
+
color: var(--fg-muted);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.bento-glass-sample {
|
|
89
|
+
padding: var(--size-md);
|
|
90
|
+
text-align: center;
|
|
91
|
+
|
|
92
|
+
.badge-dot {
|
|
93
|
+
margin-inline: auto;
|
|
94
|
+
margin-block-end: var(--size-xs);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
small {
|
|
98
|
+
color: var(--fg-muted);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.bento-code-sample {
|
|
103
|
+
padding: var(--size-md);
|
|
104
|
+
font-family: var(--font-mono);
|
|
105
|
+
font-size: var(--text-xs);
|
|
106
|
+
line-height: 1.6;
|
|
107
|
+
|
|
108
|
+
.token-tag {
|
|
109
|
+
color: hsl(var(--color-primary));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token-attr {
|
|
113
|
+
color: hsl(var(--color-success, 150 80% 40%));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@mixin bento-span($cols) {
|
|
120
|
+
@media (min-width: 768px) {
|
|
121
|
+
grid-column: span #{$cols};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@mixin bento-row-span($rows: 2) {
|
|
126
|
+
@media (min-width: 768px) {
|
|
127
|
+
grid-row: span #{$rows};
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// ---------------------------------------------------------------------------
|
|
132
|
+
// Component Classes
|
|
133
|
+
// ---------------------------------------------------------------------------
|
|
134
|
+
.bento-grid {
|
|
135
|
+
@include bento-grid;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.bento-card {
|
|
139
|
+
@include bento-card;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@media (min-width: 768px) {
|
|
143
|
+
.bento-span-4 { @include bento-span(4); }
|
|
144
|
+
.bento-span-5 { @include bento-span(5); }
|
|
145
|
+
.bento-span-6 { @include bento-span(6); }
|
|
146
|
+
.bento-span-7 { @include bento-span(7); }
|
|
147
|
+
.bento-span-8 { @include bento-span(8); }
|
|
148
|
+
.bento-span-12 { @include bento-span(12); }
|
|
149
|
+
|
|
150
|
+
.bento-row-span-2 { @include bento-row-span(2); }
|
|
151
|
+
}
|
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
// ==========================================================================
|
|
2
|
-
// Presentation Call to Action (CTA) — ln-ashlar
|
|
3
|
-
// ==========================================================================
|
|
4
|
-
// High-conversion banners with ambient gradients, glows, and dual action rows.
|
|
5
|
-
// Provided as mixins, semantic selectors (#cta), and classes.
|
|
6
|
-
// ==========================================================================
|
|
7
|
-
|
|
8
|
-
@mixin cta-box {
|
|
9
|
-
position: relative;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
background-color: var(--bg-elevated);
|
|
12
|
-
border: var(--border-width) solid color-mix(in srgb, hsl(var(--color-primary)) 28%, var(--color-border));
|
|
13
|
-
border-radius: var(--radius-2xl);
|
|
14
|
-
padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
|
|
15
|
-
text-align: center;
|
|
16
|
-
box-shadow: 0 20px 50px -15px hsl(var(--color-primary) / 0.15), var(--shadow-lg);
|
|
17
|
-
|
|
18
|
-
&::before {
|
|
19
|
-
content: '';
|
|
20
|
-
position: absolute;
|
|
21
|
-
inset-inline-start: 50%;
|
|
22
|
-
top: -6rem;
|
|
23
|
-
transform: translateX(-50%);
|
|
24
|
-
width: clamp(20rem, 60vw, 45rem);
|
|
25
|
-
height: clamp(12rem, 30vw, 25rem);
|
|
26
|
-
background: radial-gradient(
|
|
27
|
-
ellipse at center,
|
|
28
|
-
hsl(var(--color-primary) / 0.22) 0%,
|
|
29
|
-
transparent 70%
|
|
30
|
-
);
|
|
31
|
-
filter: blur(50px);
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
z-index: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
> * {
|
|
37
|
-
position: relative;
|
|
38
|
-
z-index: 1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
h2,
|
|
42
|
-
.cta-title {
|
|
43
|
-
font-size: var(--text-section-title);
|
|
44
|
-
line-height: var(--lh-section-title);
|
|
45
|
-
font-weight: 800;
|
|
46
|
-
letter-spacing: -0.03em;
|
|
47
|
-
color: var(--color-fg);
|
|
48
|
-
text-wrap: balance;
|
|
49
|
-
margin-block-start: 0;
|
|
50
|
-
margin-block-end: var(--size-md);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
p,
|
|
54
|
-
.cta-lead {
|
|
55
|
-
font-size: var(--text-lead);
|
|
56
|
-
line-height: var(--lh-lead);
|
|
57
|
-
color: var(--fg-muted);
|
|
58
|
-
text-wrap: pretty;
|
|
59
|
-
margin-inline: auto;
|
|
60
|
-
margin-block-end: var(--size-xl);
|
|
61
|
-
max-width: var(--max-w-prose);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.badge-pill,
|
|
65
|
-
.cta-badge {
|
|
66
|
-
margin-block-end: var(--size-md);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
nav,
|
|
70
|
-
footer,
|
|
71
|
-
.cta-actions {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
flex-wrap: wrap;
|
|
76
|
-
gap: var(--size-md);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.cta-island-card {
|
|
80
|
-
text-align: left;
|
|
81
|
-
padding: clamp(1.75rem, 3.5vw, 2.5rem);
|
|
82
|
-
|
|
83
|
-
.island-badge,
|
|
84
|
-
> span.badge-pill {
|
|
85
|
-
margin-block-end: var(--size-md);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.island-title,
|
|
89
|
-
h3 {
|
|
90
|
-
margin-block-start: 0;
|
|
91
|
-
margin-block-end: var(--size-xs);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.island-desc,
|
|
95
|
-
p {
|
|
96
|
-
color: var(--fg-muted);
|
|
97
|
-
font-size: var(--text-sm);
|
|
98
|
-
margin-block-start: 0;
|
|
99
|
-
margin-block-end: var(--size-lg);
|
|
100
|
-
line-height: 1.55;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// ─── Declarative Selectors ───────────────────────────────────────────────────
|
|
106
|
-
|
|
107
|
-
#cta .cta-box,
|
|
108
|
-
#cta article,
|
|
109
|
-
.cta-box {
|
|
110
|
-
@include cta-box;
|
|
111
|
-
}
|
|
1
|
+
// ==========================================================================
|
|
2
|
+
// Presentation Call to Action (CTA) — ln-ashlar
|
|
3
|
+
// ==========================================================================
|
|
4
|
+
// High-conversion banners with ambient gradients, glows, and dual action rows.
|
|
5
|
+
// Provided as mixins, semantic selectors (#cta), and classes.
|
|
6
|
+
// ==========================================================================
|
|
7
|
+
|
|
8
|
+
@mixin cta-box {
|
|
9
|
+
position: relative;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
background-color: var(--bg-elevated);
|
|
12
|
+
border: var(--border-width) solid color-mix(in srgb, hsl(var(--color-primary)) 28%, var(--color-border));
|
|
13
|
+
border-radius: var(--radius-2xl);
|
|
14
|
+
padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
|
|
15
|
+
text-align: center;
|
|
16
|
+
box-shadow: 0 20px 50px -15px hsl(var(--color-primary) / 0.15), var(--shadow-lg);
|
|
17
|
+
|
|
18
|
+
&::before {
|
|
19
|
+
content: '';
|
|
20
|
+
position: absolute;
|
|
21
|
+
inset-inline-start: 50%;
|
|
22
|
+
top: -6rem;
|
|
23
|
+
transform: translateX(-50%);
|
|
24
|
+
width: clamp(20rem, 60vw, 45rem);
|
|
25
|
+
height: clamp(12rem, 30vw, 25rem);
|
|
26
|
+
background: radial-gradient(
|
|
27
|
+
ellipse at center,
|
|
28
|
+
hsl(var(--color-primary) / 0.22) 0%,
|
|
29
|
+
transparent 70%
|
|
30
|
+
);
|
|
31
|
+
filter: blur(50px);
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
z-index: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
> * {
|
|
37
|
+
position: relative;
|
|
38
|
+
z-index: 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h2,
|
|
42
|
+
.cta-title {
|
|
43
|
+
font-size: var(--text-section-title);
|
|
44
|
+
line-height: var(--lh-section-title);
|
|
45
|
+
font-weight: 800;
|
|
46
|
+
letter-spacing: -0.03em;
|
|
47
|
+
color: var(--color-fg);
|
|
48
|
+
text-wrap: balance;
|
|
49
|
+
margin-block-start: 0;
|
|
50
|
+
margin-block-end: var(--size-md);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
p,
|
|
54
|
+
.cta-lead {
|
|
55
|
+
font-size: var(--text-lead);
|
|
56
|
+
line-height: var(--lh-lead);
|
|
57
|
+
color: var(--fg-muted);
|
|
58
|
+
text-wrap: pretty;
|
|
59
|
+
margin-inline: auto;
|
|
60
|
+
margin-block-end: var(--size-xl);
|
|
61
|
+
max-width: var(--max-w-prose);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.badge-pill,
|
|
65
|
+
.cta-badge {
|
|
66
|
+
margin-block-end: var(--size-md);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
nav,
|
|
70
|
+
footer,
|
|
71
|
+
.cta-actions {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
flex-wrap: wrap;
|
|
76
|
+
gap: var(--size-md);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.cta-island-card {
|
|
80
|
+
text-align: left;
|
|
81
|
+
padding: clamp(1.75rem, 3.5vw, 2.5rem);
|
|
82
|
+
|
|
83
|
+
.island-badge,
|
|
84
|
+
> span.badge-pill {
|
|
85
|
+
margin-block-end: var(--size-md);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.island-title,
|
|
89
|
+
h3 {
|
|
90
|
+
margin-block-start: 0;
|
|
91
|
+
margin-block-end: var(--size-xs);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.island-desc,
|
|
95
|
+
p {
|
|
96
|
+
color: var(--fg-muted);
|
|
97
|
+
font-size: var(--text-sm);
|
|
98
|
+
margin-block-start: 0;
|
|
99
|
+
margin-block-end: var(--size-lg);
|
|
100
|
+
line-height: 1.55;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// ─── Declarative Selectors ───────────────────────────────────────────────────
|
|
106
|
+
|
|
107
|
+
#cta .cta-box,
|
|
108
|
+
#cta article,
|
|
109
|
+
.cta-box {
|
|
110
|
+
@include cta-box;
|
|
111
|
+
}
|