@deque/cauldron-styles 6.4.2-canary.2249b8a6 → 6.4.2-canary.40759dba
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/dist/index.css +97 -29
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -103,14 +103,6 @@
|
|
|
103
103
|
/* fonts */
|
|
104
104
|
--base-font-family: 'Roboto', Helvetica, Arial, sans-serif;
|
|
105
105
|
|
|
106
|
-
/* font weight */
|
|
107
|
-
--font-weight-thin: 100;
|
|
108
|
-
--font-weight-light: 300;
|
|
109
|
-
--font-weight-normal: 400;
|
|
110
|
-
--font-weight-medium: 500;
|
|
111
|
-
--font-weight-bold: 700;
|
|
112
|
-
--font-weight-ultra-bold: 900;
|
|
113
|
-
|
|
114
106
|
/* icon sizes */
|
|
115
107
|
--icon-size: 24px;
|
|
116
108
|
|
|
@@ -151,6 +143,49 @@
|
|
|
151
143
|
--focus: var(--focus-dark);
|
|
152
144
|
}
|
|
153
145
|
|
|
146
|
+
:root {
|
|
147
|
+
--text-size-base: 16px;
|
|
148
|
+
|
|
149
|
+
/* headings */
|
|
150
|
+
--text-size-heading-1: 1.875rem; /* 30px */
|
|
151
|
+
--text-size-heading-2: 1.5rem; /* 24px */
|
|
152
|
+
--text-size-heading-3: 1.25rem; /* 20px */
|
|
153
|
+
--text-size-heading-4: 1.125rem; /* 18px */
|
|
154
|
+
--text-size-heading-5: 1rem; /* 16px */
|
|
155
|
+
--text-size-heading-6: 1rem; /* 16px */
|
|
156
|
+
|
|
157
|
+
--line-height-heading-1: 1.3;
|
|
158
|
+
--line-height-heading-2: 1.3;
|
|
159
|
+
--line-height-heading-3: 1.3;
|
|
160
|
+
--line-height-heading-4: 1.5;
|
|
161
|
+
--line-height-heading-5: 1.5;
|
|
162
|
+
--line-height-heading-6: 1.5;
|
|
163
|
+
|
|
164
|
+
/* weights */
|
|
165
|
+
--font-weight-thin: 100;
|
|
166
|
+
--font-weight-light: 300;
|
|
167
|
+
--font-weight-normal: 400;
|
|
168
|
+
--font-weight-medium: 500;
|
|
169
|
+
--font-weight-semi-bold: 600;
|
|
170
|
+
--font-weight-bold: 700;
|
|
171
|
+
--font-weight-ultra-bold: 900;
|
|
172
|
+
|
|
173
|
+
/* display */
|
|
174
|
+
--text-size-display-stat: 2.5rem; /* 36px */
|
|
175
|
+
--text-size-display-stat-small: 1.875; /* 30px */
|
|
176
|
+
|
|
177
|
+
--line-height-display-stat: 1.3;
|
|
178
|
+
|
|
179
|
+
/* buttons */
|
|
180
|
+
--text-size-button: 1rem; /* 16px */
|
|
181
|
+
|
|
182
|
+
/* body */
|
|
183
|
+
--text-size-body: 1rem; /* 16px */
|
|
184
|
+
--text-size-body-small: 0.875rem; /* 14px */
|
|
185
|
+
--line-height-body: 1.5;
|
|
186
|
+
--line-height-body-small: 1.7;
|
|
187
|
+
}
|
|
188
|
+
|
|
154
189
|
:root {
|
|
155
190
|
--workspace-background-color: #f0f2f5;
|
|
156
191
|
}
|
|
@@ -236,7 +271,7 @@ a {
|
|
|
236
271
|
}
|
|
237
272
|
|
|
238
273
|
p {
|
|
239
|
-
line-height:
|
|
274
|
+
line-height: var(--line-height-body);
|
|
240
275
|
}
|
|
241
276
|
|
|
242
277
|
.cauldron--theme-dark h1,
|
|
@@ -1131,7 +1166,8 @@ textarea.Field--has-error:focus:hover,
|
|
|
1131
1166
|
--button-outline-color-error: var(--error);
|
|
1132
1167
|
|
|
1133
1168
|
--button-text-color-dark: var(--gray-90);
|
|
1134
|
-
--button-text-color-light:
|
|
1169
|
+
--button-text-color-light: #fff;
|
|
1170
|
+
--button-text-color-disabled: var(--disabled);
|
|
1135
1171
|
--button-focus-ring-color: var(--focus-light);
|
|
1136
1172
|
--button-thin-height: var(--target-size-minimum);
|
|
1137
1173
|
|
|
@@ -1140,6 +1176,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1140
1176
|
|
|
1141
1177
|
.Button--primary,
|
|
1142
1178
|
.Button--secondary,
|
|
1179
|
+
.Button--tertiary,
|
|
1143
1180
|
.Button--clear,
|
|
1144
1181
|
.Button--error {
|
|
1145
1182
|
border-radius: 3px;
|
|
@@ -1169,6 +1206,7 @@ button.Link {
|
|
|
1169
1206
|
|
|
1170
1207
|
.Button--primary:focus,
|
|
1171
1208
|
.Button--secondary:focus,
|
|
1209
|
+
.Button--tertiary:focus,
|
|
1172
1210
|
.Button--clear:focus,
|
|
1173
1211
|
.Button--error:focus {
|
|
1174
1212
|
outline: none;
|
|
@@ -1176,6 +1214,7 @@ button.Link {
|
|
|
1176
1214
|
|
|
1177
1215
|
.Button--primary:before,
|
|
1178
1216
|
.Button--secondary:before,
|
|
1217
|
+
.Button--tertiary:before,
|
|
1179
1218
|
.Button--clear:before,
|
|
1180
1219
|
.Button--error:before,
|
|
1181
1220
|
.Button--tag:before {
|
|
@@ -1197,7 +1236,8 @@ button.Link {
|
|
|
1197
1236
|
box-shadow: 0 0 0 1px var(--button-outline-color-primary);
|
|
1198
1237
|
}
|
|
1199
1238
|
|
|
1200
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1239
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1240
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1201
1241
|
box-shadow: 0 0 0 1px var(--button-outline-color-secondary);
|
|
1202
1242
|
}
|
|
1203
1243
|
|
|
@@ -1211,6 +1251,7 @@ button.Link {
|
|
|
1211
1251
|
|
|
1212
1252
|
.Button--primary:focus:before,
|
|
1213
1253
|
.Button--secondary:focus:before,
|
|
1254
|
+
.Button--tertiary:focus:before,
|
|
1214
1255
|
.Button--error:focus:before {
|
|
1215
1256
|
box-shadow: 0 0 1px 2px var(--button-focus-ring-color, --focus);
|
|
1216
1257
|
}
|
|
@@ -1229,19 +1270,29 @@ button.Link {
|
|
|
1229
1270
|
background: var(--button-background-color-primary-active);
|
|
1230
1271
|
}
|
|
1231
1272
|
|
|
1232
|
-
.Button--secondary
|
|
1273
|
+
.Button--secondary,
|
|
1274
|
+
.Button--tertiary {
|
|
1233
1275
|
background-color: var(--button-background-color-secondary);
|
|
1234
1276
|
color: var(--button-text-color-dark);
|
|
1235
1277
|
border: 1px solid var(--field-border-color);
|
|
1236
1278
|
}
|
|
1237
1279
|
|
|
1238
|
-
.Button--
|
|
1239
|
-
|
|
1240
|
-
color:
|
|
1280
|
+
.Button--tertiary:is(:not(:hover, :focus), [disabled], [aria-disabled='true']) {
|
|
1281
|
+
border-color: transparent;
|
|
1282
|
+
background-color: transparent;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.Button--secondary:is([aria-disabled='true'], [disabled]) {
|
|
1286
|
+
color: var(--button-text-color-disabled);
|
|
1241
1287
|
background-color: var(--button-background-color-secondary-disabled);
|
|
1242
1288
|
}
|
|
1243
1289
|
|
|
1244
|
-
.Button--
|
|
1290
|
+
.Button--tertiary:is([aria-disabled='true'], [disabled]) {
|
|
1291
|
+
color: var(--button-text-color-disabled);
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.Button--secondary:not([disabled], [aria-disabled='true']):active,
|
|
1295
|
+
.Button--tertiary:not([disabled], [aria-disabled='true']):active {
|
|
1245
1296
|
background-color: var(--button-background-color-secondary-active);
|
|
1246
1297
|
}
|
|
1247
1298
|
|
|
@@ -1262,13 +1313,13 @@ button.Link {
|
|
|
1262
1313
|
background-color: var(--button-background-color-error-active);
|
|
1263
1314
|
}
|
|
1264
1315
|
|
|
1265
|
-
.Button--tag[aria-disabled='true']
|
|
1266
|
-
.Button--tag[disabled] {
|
|
1316
|
+
.Button--tag:is([disabled], [aria-disabled='true']) {
|
|
1267
1317
|
color: var(--disabled);
|
|
1268
1318
|
}
|
|
1269
1319
|
|
|
1270
1320
|
.Button--primary .Icon,
|
|
1271
1321
|
.Button--secondary .Icon,
|
|
1322
|
+
.Button--tertiary .Icon,
|
|
1272
1323
|
.Button--clear .Icon,
|
|
1273
1324
|
.Button--error .Icon {
|
|
1274
1325
|
margin: 0 -4px;
|
|
@@ -1279,12 +1330,16 @@ button.Link {
|
|
|
1279
1330
|
height: calc(var(--button-thin-height) - 8px);
|
|
1280
1331
|
}
|
|
1281
1332
|
|
|
1333
|
+
/* Usage of .DefinitionButton is deprecated and no longer supported */
|
|
1334
|
+
|
|
1282
1335
|
.DefinitionButton {
|
|
1283
1336
|
display: inline;
|
|
1284
1337
|
vertical-align: baseline;
|
|
1285
1338
|
position: relative;
|
|
1286
1339
|
}
|
|
1287
1340
|
|
|
1341
|
+
/* Usage of .DefinitionButton is deprecated and no longer supported */
|
|
1342
|
+
|
|
1288
1343
|
.DefinitionButton button {
|
|
1289
1344
|
background-color: transparent;
|
|
1290
1345
|
color: var(--text-color-base);
|
|
@@ -1339,26 +1394,33 @@ button.Link {
|
|
|
1339
1394
|
border: 2px solid var(--accent-light);
|
|
1340
1395
|
}
|
|
1341
1396
|
|
|
1397
|
+
.cauldron--theme-dark .Button--tertiary {
|
|
1398
|
+
color: var(--accent-light);
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
.cauldron--theme-dark .Button--tertiary:not(:hover, :focus) {
|
|
1402
|
+
color: #fff;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1342
1405
|
.cauldron--theme-dark .Button--error {
|
|
1343
1406
|
background-color: var(--accent-medium);
|
|
1344
|
-
color:
|
|
1407
|
+
color: #fff;
|
|
1345
1408
|
border: 2px solid var(--accent-danger);
|
|
1346
1409
|
}
|
|
1347
1410
|
|
|
1348
|
-
.cauldron--theme-dark .Button--primary[aria-disabled='true'],
|
|
1349
|
-
.cauldron--theme-dark .Button--
|
|
1350
|
-
.cauldron--theme-dark .Button--
|
|
1351
|
-
.cauldron--theme-dark .Button--
|
|
1352
|
-
.cauldron--theme-dark .Button--error[aria-disabled='true'],
|
|
1353
|
-
.cauldron--theme-dark .Button--error[disabled],
|
|
1354
|
-
.cauldron--theme-dark .Button--tag[disabled] {
|
|
1411
|
+
.cauldron--theme-dark .Button--primary:is([disabled], [aria-disabled='true']),
|
|
1412
|
+
.cauldron--theme-dark .Button--secondary:is([disabled], [aria-disabled='true']),
|
|
1413
|
+
.cauldron--theme-dark .Button--error:is([disabled], [aria-disabled='true']),
|
|
1414
|
+
.cauldron--theme-dark .Button--tag:is([disabled], [aria-disabled='true']) {
|
|
1355
1415
|
color: var(--dark-workspace-color);
|
|
1356
1416
|
}
|
|
1357
1417
|
|
|
1358
1418
|
.cauldron--theme-dark
|
|
1359
1419
|
.Button--primary:not([disabled]):not([aria-disabled='true']):active,
|
|
1360
1420
|
.cauldron--theme-dark
|
|
1361
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):active
|
|
1421
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):active,
|
|
1422
|
+
.cauldron--theme-dark
|
|
1423
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):active {
|
|
1362
1424
|
color: var(--accent-medium);
|
|
1363
1425
|
}
|
|
1364
1426
|
|
|
@@ -1373,7 +1435,7 @@ button.Link {
|
|
|
1373
1435
|
}
|
|
1374
1436
|
|
|
1375
1437
|
.cauldron--theme-dark button.Link:hover {
|
|
1376
|
-
color:
|
|
1438
|
+
color: #fff;
|
|
1377
1439
|
}
|
|
1378
1440
|
|
|
1379
1441
|
.cauldron--theme-dark
|
|
@@ -1383,7 +1445,9 @@ button.Link {
|
|
|
1383
1445
|
}
|
|
1384
1446
|
|
|
1385
1447
|
.cauldron--theme-dark
|
|
1386
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1448
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1449
|
+
.cauldron--theme-dark
|
|
1450
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1387
1451
|
box-shadow: 0 0 0 1px var(--dark-workspace-color),
|
|
1388
1452
|
0 0 0 2px var(--accent-light);
|
|
1389
1453
|
}
|
|
@@ -1400,6 +1464,10 @@ button.Link {
|
|
|
1400
1464
|
0 0 0 2px var(--accent-info);
|
|
1401
1465
|
}
|
|
1402
1466
|
|
|
1467
|
+
.cauldron--theme-dark .Button--tertiary:is([disabled], [aria-disabled='true']) {
|
|
1468
|
+
color: #74818b;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1403
1471
|
:root {
|
|
1404
1472
|
/* Primary */
|
|
1405
1473
|
--icon-button-primary-color: var(--button-text-color-light);
|
package/package.json
CHANGED