@conduction/theme 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,318 @@
1
+ .xxllnc-theme,
2
+ .xxllnc-theme ::backdrop {
3
+ /* xxllnc Tokens */
4
+
5
+ /* Sizes */
6
+ --xxllnc-size-4xs: 1px;
7
+ --xxllnc-size-3xs: 2px;
8
+ --xxllnc-size-2xs: 4px;
9
+ --xxllnc-size-xs: 8px;
10
+ --xxllnc-size-sm: 14px;
11
+ --xxllnc-size-md: 18px;
12
+ --xxllnc-size-lg: 24px;
13
+ --xxllnc-size-xl: 32px;
14
+ --xxllnc-size-2xl: 48px;
15
+ --xxllnc-size-3xl: 72px;
16
+ --xxllnc-size-4xl: 96px;
17
+
18
+ /* Font sizes */
19
+ --xxllnc-font-size-4xs: 5px;
20
+ --xxllnc-font-size-3xs: 8px;
21
+ --xxllnc-font-size-2xs: 10px;
22
+ --xxllnc-font-size-xs: 12px;
23
+ --xxllnc-font-size-sm: 14px;
24
+ --xxllnc-font-size-md: 18px;
25
+ --xxllnc-font-size-lg: 20px;
26
+ --xxllnc-font-size-xl: 24px;
27
+ --xxllnc-font-size-2xl: 32px;
28
+ --xxllnc-font-size-3xl: 48px;
29
+ --xxllnc-font-size-4xl: 58px;
30
+
31
+ /* Font weights */
32
+ --xxllnc-font-weight-light: 100;
33
+ --xxllnc-font-weight-normal: 400;
34
+ --xxllnc-font-weight-bold: 700;
35
+
36
+ /* Letter Spacing */
37
+ --xxllnc-letter-spacing-normal: normal;
38
+
39
+ /* Colors */
40
+ --xxllnc-color-primary: #000000ad;
41
+ --xxllnc-color-primary-hover: #00000080;
42
+
43
+ --xxllnc-color-error: #dc3545;
44
+ --xxllnc-color-alert-error: #721c24;
45
+ --xxllnc-color-alert-error-background: #f8d7da;
46
+
47
+ --xxllnc-color-warning: #ffc107;
48
+ --xxllnc-color-alert-warning: #856404;
49
+ --xxllnc-color-alert-warning-background: #333338;
50
+
51
+ --xxllnc-color-success: #28a745;
52
+ --xxllnc-color-alert-success: #155724;
53
+ --xxllnc-color-alert-success-background: #d4edda;
54
+
55
+ --xxllnc-color-info: var(--xxllnc-color-primary);
56
+ --xxllnc-color-alert-info: var(--xxllnc-color-black);
57
+ --xxllnc-color-alert-info-background: var(--xxllncs-color-grey);
58
+
59
+ --xxllnc-color-lightgrey: #f5f5f5;
60
+ --xxllnc-color-white: #ffffff;
61
+
62
+ --xxllncs-color-grey: #eaeaea;
63
+ --xxllnc-color-black: #28282c;
64
+
65
+ /* Typography */
66
+ --xxllnc-typography-sans-serif-font-family: neue-haas-grotesk-text, sans-serif;
67
+ --xxllnc-typography-header-font-family: neue-haas-grotesk-text, sans-serif,
68
+ sans-serif;
69
+ --xxllnc-typography-code-font-family: Monospace, "Lucida Console";
70
+
71
+ /*
72
+ *
73
+ * xxllnc COMPONENT OVERRIDES
74
+ *
75
+ */
76
+
77
+ /* Container */
78
+ --xxllnc-container-padding-inline: var(--xxllnc-size-xl);
79
+
80
+ /*
81
+ *
82
+ * UTRECHT COMPONENTS & DEFAULTS
83
+ *
84
+ */
85
+
86
+ /* Sizes */
87
+
88
+ --utrecht-space-block-3xs: var(--xxllnc-size-3xs);
89
+ --utrecht-space-block-2xs: var(--xxllnc-size-2xs);
90
+ --utrecht-space-block-xs: var(--xxllnc-size-xs);
91
+ --utrecht-space-block-sm: var(--xxllnc-size-sm);
92
+ --utrecht-space-block-md: var(--xxllnc-size-md);
93
+ --utrecht-space-block-lg: var(--xxllnc-size-lg);
94
+ --utrecht-space-block-xl: var(--xxllnc-size-xl);
95
+ --utrecht-space-block-2xl: var(--xxllnc-size-2xl);
96
+ --utrecht-space-block-3xl: var(--xxllnc-size-3xl);
97
+
98
+ --utrecht-space-inline-3xs: var(--xxllnc-size-3xs);
99
+ --utrecht-space-inline-2xs: var(--xxllnc-size-2xs);
100
+ --utrecht-space-inline-xs: var(--xxllnc-size-xs);
101
+ --utrecht-space-inline-sm: var(--xxllnc-size-sm);
102
+ --utrecht-space-inline-md: var(--xxllnc-size-md);
103
+ --utrecht-space-inline-lg: var(--xxllnc-size-lg);
104
+ --utrecht-space-inline-xl: var(--xxllnc-size-xl);
105
+ --utrecht-space-inline-2xl: var(--xxllnc-size-2xl);
106
+ --utrecht-space-inline-3xl: var(--xxllnc-size-3xl);
107
+
108
+ --utrecht-typography-scale-2xs: var(--xxllnc-font-size-2xs);
109
+ --utrecht-typography-scale-xs: var(--xxllnc-font-size-xs);
110
+ --utrecht-typography-scale-sm: var(--xxllnc-font-size-sm);
111
+ --utrecht-typography-scale-md: var(--xxllnc-font-size-md);
112
+ --utrecht-typography-scale-lg: var(--xxllnc-font-size-lg);
113
+ --utrecht-typography-scale-xl: var(--xxllnc-font-size-xl);
114
+ --utrecht-typography-scale-2xl: var(--xxllnc-font-size-2xl);
115
+ --utrecht-typography-scale-3xl: var(--xxllnc-font-size-3xl);
116
+ --utrecht-typography-scale-4xl: var(--xxllnc-font-size-4xl);
117
+
118
+ /* Document */
119
+ --utrecht-document-font-family: var(
120
+ --xxllnc-typography-sans-serif-font-family
121
+ );
122
+ --utrecht-document-font-size: var(--xxllnc-font-size-sm);
123
+ --utrecht-document-color: var(--xxllnc-color-black);
124
+ --utrecht-space-around: 1;
125
+
126
+ /* Typography */
127
+ --utrecht-typography-sans-serif-font-family: var(
128
+ --xxllnc-typography-sans-serif-font-family
129
+ );
130
+
131
+ /* Header */
132
+ --utrecht-page-header-color: var(--xxllnc-color-black);
133
+ --utrecht-page-header-background-color: var(--xxllncs-color-grey);
134
+ --utrecht-page-header-padding-block-start: var(--xxllnc-size-sm);
135
+ --utrecht-page-header-padding-block-end: var(--xxllnc-size-sm);
136
+
137
+ /* Page */
138
+ --utrecht-page-padding-inline-start: var(--xxllnc-size-lg);
139
+ --utrecht-page-padding-inline-end: var(--xxllnc-size-lg);
140
+ --utrecht-page-max-inline-size: 1140px;
141
+ --utrehct-page-content-background-color: var(--xxllnc-color-black);
142
+
143
+ /* Headings */
144
+ --utrecht-heading-1-font-family: var(--xxllnc-typography-header-font-family);
145
+ --utrecht-heading-1-font-size: var(--xxllnc-font-size-3xl);
146
+ --utrecht-heading-1-font-weight: var(--xxllnc-font-weight-normal);
147
+ --utrecht-heading-1-letter-spacing: var(--xxllnc-letter-spacing-normal);
148
+ --utrecht-heading-1-margin-block-start: var(--xxllnc-size-2xl);
149
+ --utrecht-heading-1-margin-block-end: var(--xxllnc-size-md);
150
+
151
+ --utrecht-heading-2-font-family: var(--xxllnc-typography-header-font-family);
152
+ --utrecht-heading-2-font-weight: var(--xxllnc-font-weight-normal);
153
+ --utrecht-heading-2-font-size: var(--xxllnc-font-size-2xl);
154
+ --utrecht-heading-2-letter-spacing: var(--xxllnc-letter-spacing-normal);
155
+ --utrecht-heading-2-margin-block-start: var(--xxllnc-size-2xl);
156
+ --utrecht-heading-2-margin-block-end: var(--xxllnc-size-md);
157
+
158
+ --utrecht-heading-3-font-family: var(--xxllnc-typography-header-font-family);
159
+ --utrecht-heading-3-font-weight: var(--xxllnc-font-weight-normal);
160
+ --utrecht-heading-3-font-size: var(--xxllnc-font-size-xl);
161
+ --utrecht-heading-3-letter-spacing: var(--xxllnc-letter-spacing-normal);
162
+ --utrecht-heading-3-margin-block-start: var(--xxllnc-size-xl);
163
+ --utrecht-heading-3-margin-block-end: var(--xxllnc-size-md);
164
+
165
+ --utrecht-heading-4-font-family: var(--xxllnc-typography-header-font-family);
166
+ --utrecht-heading-4-font-size: var(--xxllnc-font-size-lg);
167
+ --utrecht-heading-4-font-weight: var(--xxllnc-font-weight-normal);
168
+ --utrecht-heading-4-letter-spacing: var(--xxllnc-letter-spacing-normal);
169
+ --utrecht-heading-4-margin-block-start: var(--xxllnc-size-lf);
170
+ --utrecht-heading-4-margin-block-end: var(--xxllnc-size-md);
171
+
172
+ --utrecht-heading-5-font-family: var(--xxllnc-typography-header-font-family);
173
+ --utrecht-heading-5-font-size: var(--xxllnc-font-size-md);
174
+ --utrecht-heading-5-font-weight: var(--xxllnc-font-weight-light);
175
+ --utrecht-heading-5-letter-spacing: var(--xxllnc-letter-spacing-normal);
176
+ --utrecht-heading-5-text-transform: unset;
177
+ --utrecht-heading-5-margin-block-start: var(--xxllnc-size-lg);
178
+ --utrecht-heading-5-margin-block-end: var(--conductino-size-md);
179
+
180
+ /* Paragraph */
181
+ --utrecht-paragraph-color: var(--utrecht-document-color) inherit;
182
+ --utrecht-paragraph-font-family: var(
183
+ --xxllnc-typography-sans-serif-font-family
184
+ );
185
+ --utrecht-paragraph-font-size: var(--xxllnc-font-size-sm);
186
+ --utrecht-paragraph-font-weight: var(--xxllnc-font-weight-normal);
187
+ --utrecht-paragraph-line-height: 1.5;
188
+ --utrecht-paragraph-margin-block-start: 0;
189
+ --utrecht-paragraph-margin-block-end: 0;
190
+
191
+ /* Footer */
192
+ --utrecht-page-footer-color: var(--xxllnc-color-primary);
193
+ --utrecht-page-footer-background-color: var(--xxllnc-color-white);
194
+ --utrecht-page-footer-background-image: unset;
195
+ --utrecht-page-footer-padding-block-start: var(--xxllnc-size-2xl);
196
+ --utrecht-page-footer-padding-block-end: var(--xxllnc-size-2xl);
197
+ --utrecht-page-footer-padding-inline-start: var(--xxllnc-size-sm);
198
+ --utrecht-page-footer-padding-inline-end: var(--xxllnc-size-sm);
199
+
200
+ /* List */
201
+ --utrecht-ordered-list-font-size: var(--utrecht-document-font-size) inherit;
202
+ --utrecht-ordered-list-padding-inline-start: var(--xxllnc-size-xl);
203
+ --utrecht-ordered-list-margin-block-start: var(--xxllnc-size-sm);
204
+ --utrecht-ordered-list-margin-block-end: var(--xxllnc-size-sm);
205
+
206
+ --utrecht-ordered-list-item-margin-block-start: var(--xxllnc-size-2xs);
207
+ --utrecht-ordered-list-item-margin-block-end: var(--xxllnc-size-2xs);
208
+ --utrecht-ordered-list-item-padding-inline-start: 1ch;
209
+
210
+ --utrecht-unordered-list-font-size: var(--utrecht-document-font-size);
211
+ --utrecht-unordered-list-margin-block-start: var(--xxllnc-size-md);
212
+ --utrecht-unordered-list-margin-block-end: 0;
213
+ --utrecht-unordered-list-padding-inline-start: 2ch;
214
+
215
+ --utrecht-unordered-list-item-margin-block-start: var(--xxllnc-size-xs);
216
+ --utrecht-unordered-list-item-margin-block-end: var(--xxllnc-size-xs);
217
+ --utrecht-unordered-list-item-padding-inline-start: 1ch;
218
+
219
+ /* Link */
220
+ --utrecht-link-color: var(--xxllnc-color-primary);
221
+ --utrecht-link-visited-color: var(--xxllnc-color-primary);
222
+ --utrecht-link-icon-size: var(--xxllnc-size-md);
223
+ --utrecht-link-text-decoration: none;
224
+ --utrecht-link-text-decoration-color: unset;
225
+ --utrecht-link-text-decoration-thickness: 0;
226
+ --utrecht-link-text-underline-offset: var(--xxllnc-size-3xs);
227
+
228
+ --utrecht-link-hover-color: var(--xxllnc-color-primary-hover);
229
+
230
+ /* Blockquote */
231
+ --utrecht-blockquote-content-color: var(--xxllnc-color-black);
232
+ --utrecht-blockquote-content-font-size: var(--xxllnc-size-md);
233
+ --utrecht-blockquote-margin-inline-start: var(--xxllnc-size-xl);
234
+ --utrecht-blockquote-margin-inline-end: var(--xxllnc-size-xl);
235
+
236
+ /* Code */
237
+ --utrecht-code-color: var(--xxllnc-color-black);
238
+ --utrecht-code-background-color: var(--xxllnc-color-lightgrey);
239
+ --utrecht-code-font-family: var(--xxllnc-typography-code-font-family);
240
+ --utrecht-code-font-size: inherit;
241
+
242
+ --utrecht-code-block-color: var(--xxllnc-color-black);
243
+ --utrecht-code-block-background-color: var(--xxllnc-color-lightgrey);
244
+ --utrecht-code-block-font-family: var(--xxllnc-typography-code-font-family);
245
+ --utrecht-code-block-font-size: var(--xxllnc-font-size-sm);
246
+ --utrecht-code-block-font-weight: var(--xxllnc-font-weight-normal);
247
+ --utrecht-code-block-line-height: var(--xxllnc-size-lg);
248
+ --utrecht-code-block-margin-block-start: var(--xxllnc-size-md);
249
+ --utrecht-code-block-margin-block-end: var(--xxllnc-size-md);
250
+ --utrecht-code-block-margin-inline-start: 0;
251
+ --utrecht-code-block-margin-inline-end: 0;
252
+ --utrecht-code-block-padding-block-start: var(--xxllnc-size-md);
253
+ --utrecht-code-block-padding-block-end: var(--xxllnc-size-md);
254
+ --utrecht-code-block-padding-inline-start: var(--xxllnc-size-md);
255
+ --utrecht-code-block-padding-inline-end: var(--xxllnc-size-md);
256
+
257
+ /* Pseudo Elements */
258
+ --utrecht-unordered-list-marker-color: var(--xxllnc-color-primary);
259
+
260
+ /* Table */
261
+ --utrecht-table-border-color: var(--xxllnc-color-lightgrey);
262
+ --utrecht-table-border-width: var(--xxllnc-size-4xs);
263
+ --utrecht-table-font-family: var(--utrecht-document-font-family) inherit;
264
+ --utrecht-table-font-size: var(--utrecht-document-font-size) inherit;
265
+ --utrecht-table-margin-block-start: var(--xxllnc-size-md);
266
+ --utrecht-table-margin-block-end: 0;
267
+
268
+ --utrecht-table-header-color: var(--utrecht-document-color) inherit;
269
+ --utrecht-table-header-font-weight: var(--xxllnc-font-weight-bold);
270
+ --utrecht-table-header-text-transform: unset;
271
+
272
+ --utrecht-table-header-cell-font-size: var(--utrecht-document-font-size)
273
+ inherit;
274
+ --utrecht-table-header-cell-font-weight: var(--xxllnc-font-weight-bold);
275
+ --utrecht-table-header-cell-text-transform: unset;
276
+
277
+ --utrecht-table-row-border-block-end-color: var(--xxllnc-color-lightgrey);
278
+ --utrecht-table-row-border-block-end-width: var(--xxllnc-size-4xs);
279
+
280
+ --utrecht-table-cell-padding-block-start: var(--xxllnc-size-md);
281
+ --utrecht-table-cell-padding-block-end: var(--xxllnc-size-md);
282
+ --utrecht-table-cell-padding-inline-start: var(--xxllnc-size-md);
283
+ --utrecht-table-cell-padding-inline-end: var(--xxllnc-size-md);
284
+
285
+ /* Alert */
286
+ --utrecht-alert-color: var(--xxllnc-color-alert-info);
287
+ --utrecht-alert-background-color: var(--xxllnc-color-alert-info-background);
288
+ /* --utrecht-alert-border-color: <color>; */
289
+ /* --utrecht-alert-border-width: <length>; */
290
+ --utrecht-alert-padding-block-start: var(--xxllnc-size-lg);
291
+ --utrecht-alert-padding-block-end: var(--xxllnc-size-lg);
292
+ --utrecht-alert-padding-inline-start: var(--xxllnc-size-lg);
293
+ --utrecht-alert-padding-inline-end: var(--xxllnc-size-lg);
294
+ /* --utrecht-alert-margin-block-start: <length>; */
295
+ /* --utrecht-alert-margin-block-end: <length>; */
296
+ /* --utrecht-alert-warning-background-color: <color>; */
297
+ /* --utrecht-alert-warning-color: <color>; */
298
+ /* --utrecht-alert-warning-border-color: <color>; */
299
+ /* --utrecht-alert-warning-border-width: <length>; */
300
+ --utrecht-alert-error-background-color: var(
301
+ --xxllnc-color-alert-error-background
302
+ );
303
+ --utrecht-alert-error-color: var(--xxllnc-color-alert-error);
304
+ /* --utrecht-alert-error-border-color: <color>; */
305
+ /* --utrecht-alert-error-border-width: <color>; */
306
+ /* --utrecht-alert-ok-background-color: <color>; */
307
+ /* --utrecht-alert-ok-color: <color>; */
308
+ /* --utrecht-alert-ok-border-color: <color>; */
309
+ /* --utrecht-alert-ok-border-width: <length>; */
310
+ --utrecht-alert-icon-color: var(--xxllnc-color-alert-info);
311
+ --utrecht-alert-icon-error-color: var(--xxllnc-color-alert-error);
312
+ --utrecht-alert-icon-warning-color: var(--xxllnc-color-alert-warning);
313
+ --utrecht-alert-icon-ok-color: var(--xxllnc-color-alert-success);
314
+
315
+ /* Icon */
316
+ --utrecht-alert-icon-gap: var(--xxllnc-size-xs);
317
+ --utrecht-icon-gap: var(--xxllnc-size-xs);
318
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/theme",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Conduction's design tokens theme",
5
5
  "main": "index.js",
6
6
  "repository": {
package/theme.css CHANGED
@@ -130,6 +130,7 @@
130
130
  /* Page */
131
131
  --utrecht-page-padding-inline-start: var(--conduction-size-lg);
132
132
  --utrecht-page-padding-inline-end: var(--conduction-size-lg);
133
+ --utrecht-page-max-inline-size: 1140px;
133
134
 
134
135
  /* Headings */
135
136
  --utrecht-heading-1-font-family: var(--conduction-typography-header-font-family);