elements-kit 0.5.2 → 0.6.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/README.md +0 -6
- package/dist/ui/badge/badge.css +1 -1
- package/dist/ui/button/button.css +30 -30
- package/dist/ui/marketing/marketing.css +392 -0
- package/dist/ui/styles/base/mauve.css +28 -28
- package/dist/ui/styles/base/olive.css +28 -28
- package/dist/ui/styles/base/sage.css +28 -28
- package/dist/ui/styles/base/sand.css +28 -28
- package/dist/ui/styles/base/slate.css +28 -28
- package/dist/ui/styles/colors/base.css +28 -28
- package/dist/ui/styles/material.css +2 -2
- package/dist/ui/styles/palette/base.css +158 -0
- package/dist/ui/styles/shadow.css +42 -42
- package/dist/ui/styles/theme.css +162 -3
- package/package.json +3 -3
- package/dist/ui/styles/colors/gray.css +0 -30
package/README.md
CHANGED
|
@@ -493,9 +493,3 @@ class XPicker extends HTMLElement {
|
|
|
493
493
|
- [ARCHITECTURE.md](ARCHITECTURE.md) — how the library works
|
|
494
494
|
- [CONTRIBUTING.md](CONTRIBUTING.md) — build, test, PR checklist
|
|
495
495
|
|
|
496
|
-
## Roadmap
|
|
497
|
-
|
|
498
|
-
- [ ] Context — share state across a subtree without prop drilling
|
|
499
|
-
- [ ] UI library — pre-built reactive components built on ElementsKit primitives
|
|
500
|
-
- [ ] More framework integrations (Vue, Solid, Angular, …)
|
|
501
|
-
- [ ] Tutorial — building a full app from scratch
|
package/dist/ui/badge/badge.css
CHANGED
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
|
|
55
55
|
:where(:root) {
|
|
56
56
|
--base-button-classic-after-inset: 2px;
|
|
57
|
-
--base-button-classic-box-shadow-top: inset 0 0 0 1px var(--
|
|
58
|
-
inset 0 -2px 1px var(--
|
|
57
|
+
--base-button-classic-box-shadow-top: inset 0 0 0 1px var(--base-color-a4),
|
|
58
|
+
inset 0 -2px 1px var(--base-color-a3);
|
|
59
59
|
--base-button-classic-box-shadow-bottom: inset 0 4px 2px -2px var(--white-a9),
|
|
60
60
|
inset 0 2px 1px -1px var(--white-a9);
|
|
61
61
|
--base-button-classic-disabled-box-shadow: var(--base-button-classic-box-shadow-top),
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
inset 0 1px 1px var(--white-a6),
|
|
73
73
|
inset 0 -1px 1px var(--black-a6);
|
|
74
74
|
--base-button-classic-box-shadow-bottom: 0 0 transparent;
|
|
75
|
-
--base-button-classic-disabled-box-shadow: inset 0 0 0 1px var(--
|
|
76
|
-
inset 0 4px 2px -2px var(--
|
|
77
|
-
inset 0 1px 1px var(--
|
|
75
|
+
--base-button-classic-disabled-box-shadow: inset 0 0 0 1px var(--base-color-a5),
|
|
76
|
+
inset 0 4px 2px -2px var(--base-color-a2),
|
|
77
|
+
inset 0 1px 1px var(--base-color-a5),
|
|
78
78
|
inset 0 -1px 1px var(--black-a3),
|
|
79
|
-
inset 0 0 0 1px var(--
|
|
79
|
+
inset 0 0 0 1px var(--base-color-a2);
|
|
80
80
|
--base-button-classic-active-filter: brightness(1.08);
|
|
81
81
|
--base-button-classic-high-contrast-hover-filter: contrast(.88) saturate(1.3) brightness(1.14);
|
|
82
82
|
--base-button-classic-high-contrast-active-filter: brightness(.95) saturate(1.2);
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
background-color: var(--color-9);
|
|
87
87
|
color: var(--accent-contrast);
|
|
88
88
|
z-index: 0;
|
|
89
|
-
background-image: linear-gradient(to bottom, transparent 50%, var(--
|
|
89
|
+
background-image: linear-gradient(to bottom, transparent 50%, var(--base-color-a4)),
|
|
90
90
|
linear-gradient(to bottom, transparent 50%, var(--color-9) 80%);
|
|
91
91
|
box-shadow: var(--base-button-classic-box-shadow-top),
|
|
92
92
|
inset 0 0 0 1px var(--color-9),
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
|
|
113
113
|
.x-button:where([data-variant="classic"]):where([data-high-contrast]) {
|
|
114
114
|
background-color: var(--color-12);
|
|
115
|
-
color: var(--
|
|
116
|
-
background-image: linear-gradient(to bottom, transparent 50%, var(--
|
|
115
|
+
color: var(--base-color-1);
|
|
116
|
+
background-image: linear-gradient(to bottom, transparent 50%, var(--base-color-a4)),
|
|
117
117
|
linear-gradient(to bottom, transparent 50%, var(--color-12) 80%);
|
|
118
118
|
box-shadow: var(--base-button-classic-box-shadow-top),
|
|
119
119
|
inset 0 0 0 1px var(--color-12),
|
|
@@ -180,11 +180,11 @@
|
|
|
180
180
|
background-color: var(--color-9);
|
|
181
181
|
background-image: linear-gradient(var(--black-a1), transparent);
|
|
182
182
|
padding-top: var(--base-button-classic-active-padding-top);
|
|
183
|
-
box-shadow: inset 0 4px 2px -2px var(--
|
|
184
|
-
inset 0 1px 1px var(--
|
|
185
|
-
inset 0 0 0 1px var(--
|
|
183
|
+
box-shadow: inset 0 4px 2px -2px var(--base-color-a4),
|
|
184
|
+
inset 0 1px 1px var(--base-color-a7),
|
|
185
|
+
inset 0 0 0 1px var(--base-color-a5),
|
|
186
186
|
inset 0 0 0 1px var(--color-9),
|
|
187
|
-
inset 0 3px 2px var(--
|
|
187
|
+
inset 0 3px 2px var(--base-color-a3),
|
|
188
188
|
inset 0 0 0 1px var(--white-a7),
|
|
189
189
|
inset 0 -2px 1px var(--white-a5);
|
|
190
190
|
}
|
|
@@ -212,8 +212,8 @@
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.x-button:where([data-variant="classic"]):where([data-disabled]) {
|
|
215
|
-
color: var(--
|
|
216
|
-
background-color: var(--
|
|
215
|
+
color: var(--base-color-a8);
|
|
216
|
+
background-color: var(--base-color-2);
|
|
217
217
|
box-shadow: var(--base-button-classic-disabled-box-shadow);
|
|
218
218
|
filter: none;
|
|
219
219
|
background-image: none;
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
|
|
223
223
|
.x-button:where([data-variant="classic"]):where([data-disabled]):after {
|
|
224
224
|
box-shadow: none;
|
|
225
|
-
background-color: var(--
|
|
225
|
+
background-color: var(--base-color-a2);
|
|
226
226
|
background-image: linear-gradient(var(--black-a1) -20%,
|
|
227
227
|
transparent,
|
|
228
228
|
var(--white-a1));
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
|
|
279
279
|
.x-button:where([data-variant="solid"]):where([data-high-contrast]) {
|
|
280
280
|
background-color: var(--color-12);
|
|
281
|
-
color: var(--
|
|
281
|
+
color: var(--base-color-1);
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
@media (hover: hover) {
|
|
@@ -299,8 +299,8 @@
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.x-button:where([data-variant="solid"]):where([data-disabled]) {
|
|
302
|
-
color: var(--
|
|
303
|
-
background-color: var(--
|
|
302
|
+
color: var(--base-color-a8);
|
|
303
|
+
background-color: var(--base-color-a3);
|
|
304
304
|
filter: none;
|
|
305
305
|
outline: none;
|
|
306
306
|
}
|
|
@@ -314,8 +314,8 @@
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
.x-button:where([data-variant="soft"], [data-variant="ghost"], [data-variant="ghost-offset"]):where([data-disabled]) {
|
|
317
|
-
color: var(--
|
|
318
|
-
background-color: var(--
|
|
317
|
+
color: var(--base-color-a8);
|
|
318
|
+
background-color: var(--base-color-a3);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.x-button:where([data-variant="soft"]) {
|
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.x-button:where([data-variant="soft"]):where([data-disabled]) {
|
|
345
|
-
color: var(--
|
|
346
|
-
background-color: var(--
|
|
345
|
+
color: var(--base-color-a8);
|
|
346
|
+
background-color: var(--base-color-a3);
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
@media (hover: hover) {
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.x-button:where([data-variant="ghost"], [data-variant="ghost-offset"]):where([data-disabled]) {
|
|
369
|
-
color: var(--
|
|
369
|
+
color: var(--base-color-a8);
|
|
370
370
|
background-color: #0000;
|
|
371
371
|
}
|
|
372
372
|
|
|
@@ -396,13 +396,13 @@
|
|
|
396
396
|
|
|
397
397
|
.x-button:where([data-variant="outline"]):where([data-high-contrast]) {
|
|
398
398
|
box-shadow: inset 0 0 0 1px var(--color-a7),
|
|
399
|
-
inset 0 0 0 1px var(--
|
|
399
|
+
inset 0 0 0 1px var(--base-color-a11);
|
|
400
400
|
color: var(--color-12);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
.x-button:where([data-variant="outline"]):where([data-disabled]) {
|
|
404
|
-
color: var(--
|
|
405
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
404
|
+
color: var(--base-color-a8);
|
|
405
|
+
box-shadow: inset 0 0 0 1px var(--base-color-a7);
|
|
406
406
|
background-color: #0000;
|
|
407
407
|
}
|
|
408
408
|
|
|
@@ -437,9 +437,9 @@
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.x-button:where([data-variant="surface"]):where([data-disabled]) {
|
|
440
|
-
color: var(--
|
|
441
|
-
box-shadow: inset 0 0 0 1px var(--
|
|
442
|
-
background-color: var(--
|
|
440
|
+
color: var(--base-color-a8);
|
|
441
|
+
box-shadow: inset 0 0 0 1px var(--base-color-a6);
|
|
442
|
+
background-color: var(--base-color-a2);
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.x-button:where(:not([data-variant="ghost"])) :where(svg) {
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
.hero :is(h1, h2, h3, h4, h5, h6, p), .section-header :is(h1, h2, h3, h4, h5, h6, p), .section-heading, .section-paragraph, .river-content :is(h1, h2, h3, h4, h5, h6, p), .pillar :is(h1, h2, h3, h4, h5, h6, p, [data-heading], [data-paragraph]) {
|
|
2
|
+
margin: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.hero {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
padding-top: 3rem;
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.hero .section-paragraph {
|
|
12
|
+
font-weight: var(--font-weight-medium);
|
|
13
|
+
letter-spacing: var(--letter-spacing-9);
|
|
14
|
+
text-wrap: pretty;
|
|
15
|
+
margin-top: 1.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.hero .river-content {
|
|
19
|
+
row-gap: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media (min-width: 40rem) {
|
|
23
|
+
.hero {
|
|
24
|
+
padding-top: 7rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.hero .section-paragraph {
|
|
28
|
+
max-width: min(42rem, 70%);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (min-width: 64rem) {
|
|
33
|
+
.hero .section-paragraph {
|
|
34
|
+
font-size: var(--font-size-5);
|
|
35
|
+
line-height: var(--line-height-5);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hero[data-align="center"] :is(.section-heading, .section-paragraph) {
|
|
40
|
+
text-align: center;
|
|
41
|
+
text-wrap: balance;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hero:has(.river[data-align="start"]) {
|
|
45
|
+
padding-block: 6rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.hero:has(.river[data-align="start"]) .section-paragraph {
|
|
49
|
+
text-wrap: pretty;
|
|
50
|
+
font-size: var(--font-size-3) !important;
|
|
51
|
+
line-height: var(--line-height-3) !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (min-width: 48rem) {
|
|
55
|
+
.hero:has(.river[data-align="start"]) {
|
|
56
|
+
padding-block: 8rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.page-section {
|
|
61
|
+
background-color: var(--color-background);
|
|
62
|
+
padding-block: 3rem;
|
|
63
|
+
position: relative;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (min-width: 48rem) {
|
|
67
|
+
.page-section {
|
|
68
|
+
padding-top: 7rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.page-bounds {
|
|
73
|
+
box-sizing: border-box;
|
|
74
|
+
padding-left: var(--page-padding-left, 1rem);
|
|
75
|
+
padding-right: var(--page-padding-right, 1rem);
|
|
76
|
+
max-width: var(--page-max-width, 72rem);
|
|
77
|
+
width: 100%;
|
|
78
|
+
margin-inline: auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.section-header {
|
|
82
|
+
text-wrap: balance;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
gap: 1rem;
|
|
86
|
+
margin-block: 1.5rem;
|
|
87
|
+
display: flex;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.section-header .section-heading {
|
|
91
|
+
max-width: 20ch;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.section-header .section-paragraph {
|
|
95
|
+
text-wrap: balance;
|
|
96
|
+
max-width: 82ch;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.section-header[data-align="center"] {
|
|
100
|
+
align-items: safe center;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.section-header[data-align="center"] .section-heading, .section-header[data-align="center"] .section-paragraph {
|
|
104
|
+
text-align: center;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.section-header[data-align="center"] > a {
|
|
108
|
+
margin-top: 1rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.section-heading {
|
|
112
|
+
font-family: var(--font-heading);
|
|
113
|
+
letter-spacing: var(--letter-spacing-9);
|
|
114
|
+
overflow-wrap: break-word;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[dir="rtl"] .section-heading {
|
|
119
|
+
letter-spacing: 0;
|
|
120
|
+
line-height: 1.4;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.section-heading-1 {
|
|
124
|
+
font-size: calc(48px * var(--scaling, 1));
|
|
125
|
+
letter-spacing: -.04em;
|
|
126
|
+
font-weight: 550;
|
|
127
|
+
line-height: 1;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.section-heading-2 {
|
|
131
|
+
font-size: var(--font-size-8);
|
|
132
|
+
line-height: var(--line-height-8);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.section-heading-3 {
|
|
136
|
+
font-size: calc(30px * var(--scaling, 1));
|
|
137
|
+
line-height: calc(36px * var(--scaling, 1));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.section-heading-4 {
|
|
141
|
+
font-size: var(--font-size-5);
|
|
142
|
+
line-height: var(--line-height-5);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media (min-width: 64rem) {
|
|
146
|
+
.section-heading-1 {
|
|
147
|
+
font-size: var(--font-size-9);
|
|
148
|
+
line-height: 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.section-heading-2 {
|
|
152
|
+
font-size: calc(48px * var(--scaling, 1));
|
|
153
|
+
line-height: 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.section-heading-3 {
|
|
157
|
+
font-size: var(--font-size-8);
|
|
158
|
+
line-height: var(--line-height-8);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.section-paragraph {
|
|
163
|
+
line-height: var(--default-line-height, 1.5);
|
|
164
|
+
text-wrap: pretty;
|
|
165
|
+
white-space: pre-line;
|
|
166
|
+
overflow-wrap: break-word;
|
|
167
|
+
color: var(--base-color-11);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.section-paragraph em {
|
|
171
|
+
color: var(--base-color-12);
|
|
172
|
+
font-style: normal;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.river {
|
|
176
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
177
|
+
grid-auto-rows: min-content;
|
|
178
|
+
row-gap: 2rem;
|
|
179
|
+
display: grid;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.river > * {
|
|
183
|
+
grid-column: 1 / -1;
|
|
184
|
+
min-width: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@media (min-width: 48rem) {
|
|
188
|
+
.river {
|
|
189
|
+
grid-auto-rows: auto;
|
|
190
|
+
gap: 0 3rem;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.river > * {
|
|
194
|
+
grid-column: span 6 / span 6;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.river[data-align="start"][data-large-visual] > .river-content, .river[data-align="end"][data-large-visual] > .river-content {
|
|
198
|
+
grid-column: span 5 / span 5;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.river[data-align="start"][data-large-visual] > .river-visual, .river[data-align="end"][data-large-visual] > .river-visual {
|
|
202
|
+
grid-column: span 7 / span 7;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.river[data-align="center"] {
|
|
207
|
+
grid-auto-rows: min-content;
|
|
208
|
+
align-items: safe center;
|
|
209
|
+
gap: 3rem 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.river[data-align="center"] > * {
|
|
213
|
+
grid-column: 1 / -1;
|
|
214
|
+
justify-self: center;
|
|
215
|
+
padding-inline: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.river[data-align="center"] > .river-content {
|
|
219
|
+
align-items: safe center;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.river[data-align="center"] > .river-content > .section-heading {
|
|
223
|
+
text-align: center;
|
|
224
|
+
text-wrap: balance;
|
|
225
|
+
max-width: 24ch;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.river[data-align="center"] > .river-content > .section-paragraph {
|
|
229
|
+
text-align: center;
|
|
230
|
+
text-wrap: balance;
|
|
231
|
+
max-width: 72ch;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media (min-width: 48rem) {
|
|
235
|
+
.river[data-align="end"] > .river-content {
|
|
236
|
+
order: 1;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.river[data-align="end"] > .river-visual {
|
|
240
|
+
order: 0;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@media (min-width: 64rem) {
|
|
245
|
+
.river[data-align="end"] > .river-content {
|
|
246
|
+
padding-inline: 4rem;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.river[data-align="breakout"] {
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
gap: 2.5rem;
|
|
253
|
+
padding-block: 2.5rem;
|
|
254
|
+
display: flex;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.river[data-align="breakout"] > .section-heading:first-child {
|
|
258
|
+
clip: rect(0, 0, 0, 0);
|
|
259
|
+
word-wrap: normal;
|
|
260
|
+
border: 0;
|
|
261
|
+
width: 1px;
|
|
262
|
+
height: 1px;
|
|
263
|
+
padding: 0;
|
|
264
|
+
position: absolute;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.river[data-align="breakout"] > .river-content {
|
|
268
|
+
order: 1;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.river[data-align="breakout"] > .river-content .section-paragraph {
|
|
272
|
+
font-family: var(--font-heading);
|
|
273
|
+
font-size: var(--font-size-6);
|
|
274
|
+
letter-spacing: var(--letter-spacing-9);
|
|
275
|
+
text-wrap: pretty;
|
|
276
|
+
color: var(--base-color-11);
|
|
277
|
+
font-weight: 600;
|
|
278
|
+
line-height: 1.2;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.river[data-align="breakout"] > .river-content > [data-trailing] {
|
|
282
|
+
margin-top: 1.5rem;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.river[data-align="breakout"] > .river-visual {
|
|
286
|
+
border-radius: var(--radius-4);
|
|
287
|
+
order: 0;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@media (min-width: 48rem) {
|
|
291
|
+
.river[data-align="breakout"] {
|
|
292
|
+
row-gap: 4rem;
|
|
293
|
+
padding-block: 3rem;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.river[data-align="breakout"] > .river-content .section-paragraph {
|
|
297
|
+
font-size: var(--font-size-8);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.river[data-align="breakout"] .river-content {
|
|
301
|
+
grid-template-columns: 5fr 3fr;
|
|
302
|
+
grid-template-areas: "text trailing"
|
|
303
|
+
"cta trailing";
|
|
304
|
+
grid-auto-rows: auto 1fr;
|
|
305
|
+
gap: 2rem 3rem;
|
|
306
|
+
display: grid;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.river[data-align="breakout"] .river-content .section-paragraph {
|
|
310
|
+
grid-area: text;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.river[data-align="breakout"] .river-content [data-cta] {
|
|
314
|
+
grid-area: cta;
|
|
315
|
+
justify-self: start;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.river[data-align="breakout"] .river-content > [data-trailing] {
|
|
319
|
+
grid-area: trailing;
|
|
320
|
+
justify-self: end;
|
|
321
|
+
margin-block-start: 0;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.river-content {
|
|
326
|
+
flex-direction: column;
|
|
327
|
+
order: 0;
|
|
328
|
+
align-items: flex-start;
|
|
329
|
+
row-gap: 1rem;
|
|
330
|
+
min-width: 0;
|
|
331
|
+
display: flex;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.river-content > .section-heading {
|
|
335
|
+
text-wrap: balance;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.river-content > a {
|
|
339
|
+
margin-top: 1rem;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.river-visual {
|
|
343
|
+
order: 1;
|
|
344
|
+
min-width: 0;
|
|
345
|
+
position: relative;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.river-visual[data-border] {
|
|
349
|
+
border-radius: var(--radius-4);
|
|
350
|
+
border: 1px solid var(--base-color-a6);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.pillar {
|
|
354
|
+
text-align: start;
|
|
355
|
+
flex-direction: column;
|
|
356
|
+
align-items: flex-start;
|
|
357
|
+
max-width: 50ch;
|
|
358
|
+
display: flex;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.pillar > [data-heading] {
|
|
362
|
+
font-size: var(--font-size-5);
|
|
363
|
+
letter-spacing: var(--letter-spacing-8);
|
|
364
|
+
margin-bottom: .5rem;
|
|
365
|
+
font-weight: 600;
|
|
366
|
+
line-height: 1.3;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.pillar > svg:first-child {
|
|
370
|
+
color: var(--color-9);
|
|
371
|
+
margin-bottom: 1.5rem;
|
|
372
|
+
font-size: 2rem;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.pillar > [data-paragraph] {
|
|
376
|
+
font-size: var(--font-size-2);
|
|
377
|
+
line-height: var(--default-line-height, 1.5);
|
|
378
|
+
font-weight: var(--font-weight-regular);
|
|
379
|
+
letter-spacing: 0;
|
|
380
|
+
color: var(--base-color-11);
|
|
381
|
+
margin-bottom: 1.5rem;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.pillar > a {
|
|
385
|
+
margin-top: 1rem;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.pillar[data-border] {
|
|
389
|
+
border-radius: var(--radius-5);
|
|
390
|
+
border: 1px solid var(--base-color-a6);
|
|
391
|
+
padding: 2rem;
|
|
392
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
[data-gray-color="mauve"] {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
2
|
+
--base-color-1: var(--mauve-1);
|
|
3
|
+
--base-color-2: var(--mauve-2);
|
|
4
|
+
--base-color-3: var(--mauve-3);
|
|
5
|
+
--base-color-4: var(--mauve-4);
|
|
6
|
+
--base-color-5: var(--mauve-5);
|
|
7
|
+
--base-color-6: var(--mauve-6);
|
|
8
|
+
--base-color-7: var(--mauve-7);
|
|
9
|
+
--base-color-8: var(--mauve-8);
|
|
10
|
+
--base-color-9: var(--mauve-9);
|
|
11
|
+
--base-color-10: var(--mauve-10);
|
|
12
|
+
--base-color-11: var(--mauve-11);
|
|
13
|
+
--base-color-12: var(--mauve-12);
|
|
14
|
+
--base-color-a1: var(--mauve-a1);
|
|
15
|
+
--base-color-a2: var(--mauve-a2);
|
|
16
|
+
--base-color-a3: var(--mauve-a3);
|
|
17
|
+
--base-color-a4: var(--mauve-a4);
|
|
18
|
+
--base-color-a5: var(--mauve-a5);
|
|
19
|
+
--base-color-a6: var(--mauve-a6);
|
|
20
|
+
--base-color-a7: var(--mauve-a7);
|
|
21
|
+
--base-color-a8: var(--mauve-a8);
|
|
22
|
+
--base-color-a9: var(--mauve-a9);
|
|
23
|
+
--base-color-a10: var(--mauve-a10);
|
|
24
|
+
--base-color-a11: var(--mauve-a11);
|
|
25
|
+
--base-color-a12: var(--mauve-a12);
|
|
26
|
+
--base-color-contrast: var(--mauve-contrast);
|
|
27
|
+
--base-color-surface: var(--mauve-surface);
|
|
28
|
+
--base-color-indicator: var(--mauve-indicator);
|
|
29
|
+
--base-color-track: var(--mauve-track);
|
|
30
30
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
[data-gray-color="olive"] {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
2
|
+
--base-color-1: var(--olive-1);
|
|
3
|
+
--base-color-2: var(--olive-2);
|
|
4
|
+
--base-color-3: var(--olive-3);
|
|
5
|
+
--base-color-4: var(--olive-4);
|
|
6
|
+
--base-color-5: var(--olive-5);
|
|
7
|
+
--base-color-6: var(--olive-6);
|
|
8
|
+
--base-color-7: var(--olive-7);
|
|
9
|
+
--base-color-8: var(--olive-8);
|
|
10
|
+
--base-color-9: var(--olive-9);
|
|
11
|
+
--base-color-10: var(--olive-10);
|
|
12
|
+
--base-color-11: var(--olive-11);
|
|
13
|
+
--base-color-12: var(--olive-12);
|
|
14
|
+
--base-color-a1: var(--olive-a1);
|
|
15
|
+
--base-color-a2: var(--olive-a2);
|
|
16
|
+
--base-color-a3: var(--olive-a3);
|
|
17
|
+
--base-color-a4: var(--olive-a4);
|
|
18
|
+
--base-color-a5: var(--olive-a5);
|
|
19
|
+
--base-color-a6: var(--olive-a6);
|
|
20
|
+
--base-color-a7: var(--olive-a7);
|
|
21
|
+
--base-color-a8: var(--olive-a8);
|
|
22
|
+
--base-color-a9: var(--olive-a9);
|
|
23
|
+
--base-color-a10: var(--olive-a10);
|
|
24
|
+
--base-color-a11: var(--olive-a11);
|
|
25
|
+
--base-color-a12: var(--olive-a12);
|
|
26
|
+
--base-color-contrast: var(--olive-contrast);
|
|
27
|
+
--base-color-surface: var(--olive-surface);
|
|
28
|
+
--base-color-indicator: var(--olive-indicator);
|
|
29
|
+
--base-color-track: var(--olive-track);
|
|
30
30
|
}
|