@db-ux/core-foundations 5.7.0 → 6.0.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.
@@ -1,4 +1,4 @@
1
- /* Use this file if you want the default color and density in your project */
1
+ /* Required styles to normalize default css */
2
2
  /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
3
3
  /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
4
4
  /* Variants for adaptive components like input, select, notification, ... */
@@ -205,630 +205,13 @@ code {
205
205
  * `defaults/default-fonts.scss`, which styles bare `h1`-`h6`, and by the Heading
206
206
  * component styles in `@db-ux/core-components`. Those must not pull in the
207
207
  * emitted default-fonts CSS just to read the mapping. */
208
- :root,
209
- :host {
210
- --db-sizing-3xs: var(--db-sizing-regular-3xs);
211
- --db-sizing-2xs: var(--db-sizing-regular-2xs);
212
- --db-sizing-xs: var(--db-sizing-regular-xs);
213
- --db-sizing-sm: var(--db-sizing-regular-sm);
214
- --db-sizing-md: var(--db-sizing-regular-md);
215
- --db-sizing-lg: var(--db-sizing-regular-lg);
216
- --db-sizing-xl: var(--db-sizing-regular-xl);
217
- --db-sizing-2xl: var(--db-sizing-regular-2xl);
218
- --db-sizing-3xl: var(--db-sizing-regular-3xl);
219
- --db-spacing-fixed-3xs: var(--db-spacing-fixed-regular-3xs);
220
- --db-spacing-fixed-2xs: var(--db-spacing-fixed-regular-2xs);
221
- --db-spacing-fixed-xs: var(--db-spacing-fixed-regular-xs);
222
- --db-spacing-fixed-sm: var(--db-spacing-fixed-regular-sm);
223
- --db-spacing-fixed-md: var(--db-spacing-fixed-regular-md);
224
- --db-spacing-fixed-lg: var(--db-spacing-fixed-regular-lg);
225
- --db-spacing-fixed-xl: var(--db-spacing-fixed-regular-xl);
226
- --db-spacing-fixed-2xl: var(--db-spacing-fixed-regular-2xl);
227
- --db-spacing-fixed-3xl: var(--db-spacing-fixed-regular-3xl);
228
- /* stylelint-disable-next-line media-query-no-invalid */
229
- }
230
- @media (width <= 48em) {
231
- :root,
232
- :host {
233
- --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-mobile-3xs);
234
- --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-mobile-2xs);
235
- --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-mobile-xs);
236
- --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-mobile-sm);
237
- --db-spacing-responsive-md: var(--db-spacing-responsive-regular-mobile-md);
238
- --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-mobile-lg);
239
- --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-mobile-xl);
240
- --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-mobile-2xl);
241
- --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-mobile-3xl);
242
- }
243
- }
244
- :root,
245
- :host {
246
- /* stylelint-disable-next-line at-rule-empty-line-before */
247
- /* stylelint-disable-next-line media-query-no-invalid */
248
- }
249
- @media (48em < width <= 64em) {
250
- :root,
251
- :host {
252
- --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-tablet-3xs);
253
- --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-tablet-2xs);
254
- --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-tablet-xs);
255
- --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-tablet-sm);
256
- --db-spacing-responsive-md: var(--db-spacing-responsive-regular-tablet-md);
257
- --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-tablet-lg);
258
- --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-tablet-xl);
259
- --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-tablet-2xl);
260
- --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-tablet-3xl);
261
- }
262
- }
263
- :root,
264
- :host {
265
- /* stylelint-disable-next-line at-rule-empty-line-before */
266
- /* stylelint-disable-next-line media-query-no-invalid */
267
- }
268
- @media (64em < width) {
269
- :root,
270
- :host {
271
- --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-desktop-3xs);
272
- --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-desktop-2xs);
273
- --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-desktop-xs);
274
- --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-desktop-sm);
275
- --db-spacing-responsive-md: var(--db-spacing-responsive-regular-desktop-md);
276
- --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-desktop-lg);
277
- --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-desktop-xl);
278
- --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-desktop-2xl);
279
- --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-desktop-3xl);
280
- }
281
- }
282
- :root,
283
- :host {
284
- /* stylelint-disable-next-line at-rule-empty-line-before */
285
- }
286
-
287
- :root,
288
- :host {
289
- /* stylelint-disable-next-line media-query-no-invalid */
290
- }
291
- @media (width <= 48em) {
292
- :root,
293
- :host {
294
- --db-type-headline-3xs: var(--db-typography-regular-mobile-headline-3xs);
295
- --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-mobile-headline-3xs);
296
- --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-mobile-headline-3xs);
297
- --db-type-headline-2xs: var(--db-typography-regular-mobile-headline-2xs);
298
- --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-mobile-headline-2xs);
299
- --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-mobile-headline-2xs);
300
- --db-type-headline-xs: var(--db-typography-regular-mobile-headline-xs);
301
- --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-mobile-headline-xs);
302
- --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-mobile-headline-xs);
303
- --db-type-headline-sm: var(--db-typography-regular-mobile-headline-sm);
304
- --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-mobile-headline-sm);
305
- --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-mobile-headline-sm);
306
- --db-type-headline-md: var(--db-typography-regular-mobile-headline-md);
307
- --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-mobile-headline-md);
308
- --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-mobile-headline-md);
309
- --db-type-headline-lg: var(--db-typography-regular-mobile-headline-lg);
310
- --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-mobile-headline-lg);
311
- --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-mobile-headline-lg);
312
- --db-type-headline-xl: var(--db-typography-regular-mobile-headline-xl);
313
- --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-mobile-headline-xl);
314
- --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-mobile-headline-xl);
315
- --db-type-headline-2xl: var(--db-typography-regular-mobile-headline-2xl);
316
- --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-mobile-headline-2xl);
317
- --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-mobile-headline-2xl);
318
- --db-type-headline-3xl: var(--db-typography-regular-mobile-headline-3xl);
319
- --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-mobile-headline-3xl);
320
- --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-headline-3xl);
321
- }
322
- }
323
- :root,
324
- :host {
325
- /* stylelint-disable-next-line at-rule-empty-line-before */
326
- /* stylelint-disable-next-line media-query-no-invalid */
327
- }
328
- @media (48em < width <= 64em) {
329
- :root,
330
- :host {
331
- --db-type-headline-3xs: var(--db-typography-regular-tablet-headline-3xs);
332
- --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-tablet-headline-3xs);
333
- --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-tablet-headline-3xs);
334
- --db-type-headline-2xs: var(--db-typography-regular-tablet-headline-2xs);
335
- --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-tablet-headline-2xs);
336
- --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-tablet-headline-2xs);
337
- --db-type-headline-xs: var(--db-typography-regular-tablet-headline-xs);
338
- --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-tablet-headline-xs);
339
- --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-tablet-headline-xs);
340
- --db-type-headline-sm: var(--db-typography-regular-tablet-headline-sm);
341
- --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-tablet-headline-sm);
342
- --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-tablet-headline-sm);
343
- --db-type-headline-md: var(--db-typography-regular-tablet-headline-md);
344
- --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-tablet-headline-md);
345
- --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-tablet-headline-md);
346
- --db-type-headline-lg: var(--db-typography-regular-tablet-headline-lg);
347
- --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-tablet-headline-lg);
348
- --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-tablet-headline-lg);
349
- --db-type-headline-xl: var(--db-typography-regular-tablet-headline-xl);
350
- --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-tablet-headline-xl);
351
- --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-tablet-headline-xl);
352
- --db-type-headline-2xl: var(--db-typography-regular-tablet-headline-2xl);
353
- --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-tablet-headline-2xl);
354
- --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-tablet-headline-2xl);
355
- --db-type-headline-3xl: var(--db-typography-regular-tablet-headline-3xl);
356
- --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-tablet-headline-3xl);
357
- --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-tablet-headline-3xl);
358
- }
359
- }
360
- :root,
361
- :host {
362
- /* stylelint-disable-next-line at-rule-empty-line-before */
363
- /* stylelint-disable-next-line media-query-no-invalid */
364
- }
365
- @media (64em < width) {
366
- :root,
367
- :host {
368
- --db-type-headline-3xs: var(--db-typography-regular-desktop-headline-3xs);
369
- --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-desktop-headline-3xs);
370
- --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-desktop-headline-3xs);
371
- --db-type-headline-2xs: var(--db-typography-regular-desktop-headline-2xs);
372
- --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-desktop-headline-2xs);
373
- --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-desktop-headline-2xs);
374
- --db-type-headline-xs: var(--db-typography-regular-desktop-headline-xs);
375
- --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-desktop-headline-xs);
376
- --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-desktop-headline-xs);
377
- --db-type-headline-sm: var(--db-typography-regular-desktop-headline-sm);
378
- --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-desktop-headline-sm);
379
- --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-desktop-headline-sm);
380
- --db-type-headline-md: var(--db-typography-regular-desktop-headline-md);
381
- --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-desktop-headline-md);
382
- --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-desktop-headline-md);
383
- --db-type-headline-lg: var(--db-typography-regular-desktop-headline-lg);
384
- --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-desktop-headline-lg);
385
- --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-desktop-headline-lg);
386
- --db-type-headline-xl: var(--db-typography-regular-desktop-headline-xl);
387
- --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-desktop-headline-xl);
388
- --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-desktop-headline-xl);
389
- --db-type-headline-2xl: var(--db-typography-regular-desktop-headline-2xl);
390
- --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-desktop-headline-2xl);
391
- --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-desktop-headline-2xl);
392
- --db-type-headline-3xl: var(--db-typography-regular-desktop-headline-3xl);
393
- --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-desktop-headline-3xl);
394
- --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-desktop-headline-3xl);
395
- }
396
- }
397
- :root,
398
- :host {
399
- /* stylelint-disable-next-line at-rule-empty-line-before */
400
- }
401
-
402
- :root,
403
- :host {
404
- /* stylelint-disable-next-line media-query-no-invalid */
405
- }
406
- @media (width <= 48em) {
407
- :root,
408
- :host {
409
- --db-type-body-3xs: var(--db-typography-regular-mobile-body-3xs);
410
- --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-mobile-body-3xs);
411
- --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-mobile-body-3xs);
412
- --db-type-body-2xs: var(--db-typography-regular-mobile-body-2xs);
413
- --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-mobile-body-2xs);
414
- --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-mobile-body-2xs);
415
- --db-type-body-xs: var(--db-typography-regular-mobile-body-xs);
416
- --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-mobile-body-xs);
417
- --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-mobile-body-xs);
418
- --db-type-body-sm: var(--db-typography-regular-mobile-body-sm);
419
- --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-mobile-body-sm);
420
- --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-mobile-body-sm);
421
- --db-type-body-md: var(--db-typography-regular-mobile-body-md);
422
- --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-mobile-body-md);
423
- --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-mobile-body-md);
424
- --db-type-body-lg: var(--db-typography-regular-mobile-body-lg);
425
- --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-mobile-body-lg);
426
- --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-mobile-body-lg);
427
- --db-type-body-xl: var(--db-typography-regular-mobile-body-xl);
428
- --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-mobile-body-xl);
429
- --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-mobile-body-xl);
430
- --db-type-body-2xl: var(--db-typography-regular-mobile-body-2xl);
431
- --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-mobile-body-2xl);
432
- --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-mobile-body-2xl);
433
- --db-type-body-3xl: var(--db-typography-regular-mobile-body-3xl);
434
- --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-mobile-body-3xl);
435
- --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-body-3xl);
436
- }
437
- }
438
- :root,
439
- :host {
440
- /* stylelint-disable-next-line at-rule-empty-line-before */
441
- /* stylelint-disable-next-line media-query-no-invalid */
442
- }
443
- @media (48em < width <= 64em) {
444
- :root,
445
- :host {
446
- --db-type-body-3xs: var(--db-typography-regular-tablet-body-3xs);
447
- --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-tablet-body-3xs);
448
- --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-tablet-body-3xs);
449
- --db-type-body-2xs: var(--db-typography-regular-tablet-body-2xs);
450
- --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-tablet-body-2xs);
451
- --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-tablet-body-2xs);
452
- --db-type-body-xs: var(--db-typography-regular-tablet-body-xs);
453
- --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-tablet-body-xs);
454
- --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-tablet-body-xs);
455
- --db-type-body-sm: var(--db-typography-regular-tablet-body-sm);
456
- --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-tablet-body-sm);
457
- --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-tablet-body-sm);
458
- --db-type-body-md: var(--db-typography-regular-tablet-body-md);
459
- --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-tablet-body-md);
460
- --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-tablet-body-md);
461
- --db-type-body-lg: var(--db-typography-regular-tablet-body-lg);
462
- --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-tablet-body-lg);
463
- --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-tablet-body-lg);
464
- --db-type-body-xl: var(--db-typography-regular-tablet-body-xl);
465
- --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-tablet-body-xl);
466
- --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-tablet-body-xl);
467
- --db-type-body-2xl: var(--db-typography-regular-tablet-body-2xl);
468
- --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-tablet-body-2xl);
469
- --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-tablet-body-2xl);
470
- --db-type-body-3xl: var(--db-typography-regular-tablet-body-3xl);
471
- --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-tablet-body-3xl);
472
- --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-tablet-body-3xl);
473
- }
474
- }
475
- :root,
476
- :host {
477
- /* stylelint-disable-next-line at-rule-empty-line-before */
478
- /* stylelint-disable-next-line media-query-no-invalid */
479
- }
480
- @media (64em < width) {
481
- :root,
482
- :host {
483
- --db-type-body-3xs: var(--db-typography-regular-desktop-body-3xs);
484
- --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-desktop-body-3xs);
485
- --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-desktop-body-3xs);
486
- --db-type-body-2xs: var(--db-typography-regular-desktop-body-2xs);
487
- --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-desktop-body-2xs);
488
- --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-desktop-body-2xs);
489
- --db-type-body-xs: var(--db-typography-regular-desktop-body-xs);
490
- --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-desktop-body-xs);
491
- --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-desktop-body-xs);
492
- --db-type-body-sm: var(--db-typography-regular-desktop-body-sm);
493
- --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-desktop-body-sm);
494
- --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-desktop-body-sm);
495
- --db-type-body-md: var(--db-typography-regular-desktop-body-md);
496
- --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-desktop-body-md);
497
- --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-desktop-body-md);
498
- --db-type-body-lg: var(--db-typography-regular-desktop-body-lg);
499
- --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-desktop-body-lg);
500
- --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-desktop-body-lg);
501
- --db-type-body-xl: var(--db-typography-regular-desktop-body-xl);
502
- --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-desktop-body-xl);
503
- --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-desktop-body-xl);
504
- --db-type-body-2xl: var(--db-typography-regular-desktop-body-2xl);
505
- --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-desktop-body-2xl);
506
- --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-desktop-body-2xl);
507
- --db-type-body-3xl: var(--db-typography-regular-desktop-body-3xl);
508
- --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-desktop-body-3xl);
509
- --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-desktop-body-3xl);
510
- }
511
- }
512
- :root,
513
- :host {
514
- /* stylelint-disable-next-line at-rule-empty-line-before */
515
- }
516
-
517
- /* Use this file if you want the default elevation data attributes in your project */
518
- .db-interactive-elevation,
519
- [data-interactive=elevation] {
520
- cursor: pointer;
521
- box-shadow: var(--db-elevation-md);
522
- }
523
- @media (prefers-reduced-motion: no-preference) {
524
- .db-interactive-elevation,
525
- [data-interactive=elevation] {
526
- transition: box-shadow var(--db-transition-duration-fast) var(--db-transition-timing-functional);
527
- }
528
- }
529
- .db-interactive-elevation,
530
- [data-interactive=elevation] {
531
- /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
532
- }
533
- .db-interactive-elevation:hover,
534
- [data-interactive=elevation]:hover {
535
- cursor: var(--db-overwrite-cursor, pointer);
536
- box-shadow: var(--db-elevation-lg);
537
- }
538
- .db-interactive-elevation:active,
539
- [data-interactive=elevation]:active {
540
- cursor: var(--db-overwrite-cursor, pointer);
541
- box-shadow: var(--db-elevation-sm);
542
- }
543
-
544
- /* Use this file if you want the default fonts for paragraph and headlines in your project */
545
- h1 {
546
- /* stylelint-disable custom-property-pattern */
547
- font: var(--db-type-headline-xl);
548
- margin-block: var(--db-spacing-fixed-xl);
549
- }
550
- h1::before, h1::after {
551
- --db-icon-font-size: var(
552
- --db-base-headline-icon-font-size-xl
553
- );
554
- --db-icon-font-weight: var(
555
- --db-base-headline-icon-weight-xl
556
- );
557
- }
558
- h1 {
559
- /* stylelint-enable custom-property-pattern */
560
- }
561
-
562
- h2 {
563
- /* stylelint-disable custom-property-pattern */
564
- font: var(--db-type-headline-lg);
565
- margin-block: var(--db-spacing-fixed-lg);
566
- }
567
- h2::before, h2::after {
568
- --db-icon-font-size: var(
569
- --db-base-headline-icon-font-size-lg
570
- );
571
- --db-icon-font-weight: var(
572
- --db-base-headline-icon-weight-lg
573
- );
574
- }
575
- h2 {
576
- /* stylelint-enable custom-property-pattern */
577
- }
578
-
579
- h3 {
580
- /* stylelint-disable custom-property-pattern */
581
- font: var(--db-type-headline-md);
582
- margin-block: var(--db-spacing-fixed-md);
583
- }
584
- h3::before, h3::after {
585
- --db-icon-font-size: var(
586
- --db-base-headline-icon-font-size-md
587
- );
588
- --db-icon-font-weight: var(
589
- --db-base-headline-icon-weight-md
590
- );
591
- }
592
- h3 {
593
- /* stylelint-enable custom-property-pattern */
594
- }
595
-
596
- h4 {
597
- /* stylelint-disable custom-property-pattern */
598
- font: var(--db-type-headline-sm);
599
- margin-block: var(--db-spacing-fixed-sm);
600
- }
601
- h4::before, h4::after {
602
- --db-icon-font-size: var(
603
- --db-base-headline-icon-font-size-sm
604
- );
605
- --db-icon-font-weight: var(
606
- --db-base-headline-icon-weight-sm
607
- );
608
- }
609
- h4 {
610
- /* stylelint-enable custom-property-pattern */
611
- }
612
-
613
- h5 {
614
- /* stylelint-disable custom-property-pattern */
615
- font: var(--db-type-headline-xs);
616
- margin-block: var(--db-spacing-fixed-xs);
617
- }
618
- h5::before, h5::after {
619
- --db-icon-font-size: var(
620
- --db-base-headline-icon-font-size-xs
621
- );
622
- --db-icon-font-weight: var(
623
- --db-base-headline-icon-weight-xs
624
- );
625
- }
626
- h5 {
627
- /* stylelint-enable custom-property-pattern */
628
- }
629
-
630
- h6 {
631
- /* stylelint-disable custom-property-pattern */
632
- font: var(--db-type-headline-2xs);
633
- margin-block: var(--db-spacing-fixed-2xs);
634
- }
635
- h6::before, h6::after {
636
- --db-icon-font-size: var(
637
- --db-base-headline-icon-font-size-2xs
638
- );
639
- --db-icon-font-weight: var(
640
- --db-base-headline-icon-weight-2xs
641
- );
642
- }
643
- h6 {
644
- /* stylelint-enable custom-property-pattern */
645
- }
646
-
647
- :is(h1, h2, h3, h4, h5, h6) {
648
- font-family: var(--db-font-family-head);
649
- font-weight: bolder;
650
- text-wrap: balance;
651
- }
652
- :is(h1, h2, h3, h4, h5, h6)[data-variant=light] {
653
- font-weight: 300;
654
- }
655
- :is(h1, h2, h3, h4, h5, h6)[data-variant=regular] {
656
- font-weight: 400;
657
- }
658
-
659
- p {
660
- margin-block: var(--db-spacing-fixed-md);
661
- }
662
-
663
- [data-font=digital] {
664
- font-weight: 300;
665
- }
666
-
667
- [data-font=regular] {
668
- font-weight: 400;
669
- }
670
-
671
- [data-font=medium] {
672
- font-weight: 500;
673
- }
674
-
675
- [data-font=semibold] {
676
- font-weight: 600;
677
- }
678
-
679
- [data-font=bold],
680
- strong {
681
- font-weight: 700;
682
- }
683
-
684
- /* Use this file if you want to use the defaults for the <code> tag in your project */
685
- pre:not([class]):has(code) {
686
- background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
687
- color: var(--db-adaptive-on-bg-inverted-default);
688
- padding: var(--db-spacing-fixed-xs);
689
- }
690
- pre:not([class]):has(code),
691
- pre:not([class]):has(code) code,
692
- pre:not([class]):has(code) span {
693
- font-family: monospace;
694
- }
695
-
696
- a:has(code:not([class]):only-child) {
697
- background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
698
- color: var(--db-adaptive-on-bg-inverted-default);
699
- /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
700
- }
701
- a:has(code:not([class]):only-child):hover {
702
- cursor: var(--db-overwrite-cursor, pointer);
703
- color: var(--db-adaptive-on-bg-inverted-hovered);
704
- }
705
- a:has(code:not([class]):only-child):active {
706
- cursor: var(--db-overwrite-cursor, pointer);
707
- color: var(--db-adaptive-on-bg-inverted-pressed);
708
- }
709
- a:has(code:not([class]):only-child) > code {
710
- color: inherit;
711
- }
712
-
713
- code:not([class]) {
714
- background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
715
- color: var(--db-adaptive-on-bg-inverted-default);
716
- padding-block: var(--db-spacing-fixed-3xs);
717
- padding-inline: var(--db-spacing-fixed-2xs);
718
- }
719
- code:not([class]),
720
- code:not([class]) span {
721
- font-family: monospace;
722
- }
723
-
724
- blockquote:not([class]) {
725
- margin: 0;
726
- padding: var(--db-spacing-fixed-sm) var(--db-spacing-fixed-md);
727
- }
728
-
729
- [data-icon]::before,
730
- [data-icon-leading]::before, [data-icon-trailing]::after {
731
- color: var(--db-icon-color, inherit);
732
- display: inline-block;
733
- /*** icon - placeholder ***/
734
- font-family: var(--db-icon-font-family, var(--db-icon-default-font-family, "db-ux-default", "icon-font-fallback")) !important;
735
- font-size: var(--db-icon-font-size, 1.5rem);
736
- -webkit-font-smoothing: antialiased;
737
- -moz-osx-font-smoothing: grayscale;
738
- font-style: normal;
739
- font-variant: normal;
740
- font-weight: var(--db-icon-font-weight, normal);
741
- line-height: 1;
742
- /* stylelint-disable-next-line declaration-property-value-no-unknown */
743
- speak: none;
744
- /* stylelint-disable-next-line declaration-property-value-no-unknown */
745
- speak: never;
746
- text-transform: none;
747
- overflow: clip;
748
- contain: layout;
749
- vertical-align: var(--db-icon-vertical-align, middle);
750
- /* stylelint-disable-next-line db-ux/use-sizing */
751
- block-size: var(--db-icon-font-size, 1.5rem);
752
- /* stylelint-disable-next-line db-ux/use-sizing */
753
- inline-size: var(--db-icon-font-size, 1.5rem);
754
- aspect-ratio: 1;
755
- flex-shrink: 0;
756
- text-underline-position: auto;
757
- content: var(--db-icon, attr(data-icon));
758
- }
759
- @supports (content: ""/"") {
760
- [data-icon]::before,
761
- [data-icon-leading]::before, [data-icon-trailing]::after {
762
- content: var(--db-icon, attr(data-icon))/"";
763
- }
764
- }
765
- @media aural {
766
- [data-icon]::before,
767
- [data-icon-leading]::before, [data-icon-trailing]::after {
768
- content: none;
769
- }
770
- }
771
- @media speech {
772
- [data-icon]::before,
773
- [data-icon-leading]::before, [data-icon-trailing]::after {
774
- content: none;
775
- }
776
- }
777
-
778
- [data-icon]:is(span):not([hidden]),
779
- [data-icon-leading]:is(span):not([hidden]),
780
- [data-icon-trailing]:is(span):not([hidden]) {
781
- display: inline-flex;
782
- }
783
- [data-icon]:is(span),
784
- [data-icon-leading]:is(span),
785
- [data-icon-trailing]:is(span) {
786
- vertical-align: baseline;
787
- }
788
-
789
- [data-show-icon=false]::before,
790
- [data-show-icon-leading=false]::before,
791
- [data-icon=none]::before,
792
- [data-icon-leading=none]::before {
793
- content: none;
794
- }
795
-
796
- [data-icon-trailing]::after {
797
- content: var(--db-icon-trailing, attr(data-icon-trailing));
798
- }
799
- @supports (content: ""/"") {
800
- [data-icon-trailing]::after {
801
- content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
802
- }
803
- }
804
-
805
- [data-show-icon-trailing=false]::after,
806
- [data-icon-trailing=none]::after {
807
- content: none;
808
- }
809
-
810
- .is-icon-text-replace[data-icon], .is-icon-text-replace[data-icon-leading] {
811
- font-size: 0 !important;
812
- }
813
- .is-icon-text-replace[data-icon-trailing] {
814
- font-size: 0 !important;
815
- }
816
-
817
- @font-face {
818
- font-display: block;
819
- font-family: icon-font-fallback;
820
- font-style: normal;
821
- font-weight: normal;
822
- src: url("data:application/octet-stream;base64,d09GMgABAAAAAALAAAsAAAAAB8gAAAJzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACFegoUPAE2AiQDCAsGAAQgBYUOBysbJAfIrjBu4YkWdj4mP/wNUwgBWAAK8Tz92uu5bzeIKpJ4PLCOwgJxKmxlVZUBVhLY/+63n6ZlVd+q+JYluo4VQv5R4ejdz9BP+Dk5hUpNjXBxv1sBaSJaC0igiNLJzS9wsNc8ihPOOIQQDhtwgIHHieM+PDyHi1tAAf8GeS/KbE3LojUWRgWST5B5exuFB3wIN0wv8NNgfEfQbtFccWvn4BgaN8+xh5YyNRvi/Ny8Zgjq3KNWw3iraG57bRo5Szkujxf+6fPVUqBoqqg37N5Cwoc5rzWOpudsgi8raEKFWaAmr+ojL1XKpCXtqeMq0KoPFcy58/oPRRSB1Op2NAA8R2mm1BqaRf4/kNsJOYtiI8CcJThDcI7gPMEFgosElwguE1whuEpwjeA6wQ2CmwS3CG4T3CG4S3CP4D7BA4KHBI8IHhM8IXhK8Izg+HBAAXXa8BOMJ38cKc/DzT/WMg9r1ILw5bU7Q/1vhVyEX53987Xt7P5KlNBG505O4806S401qeGyRnO7dvHDYvT6rJmO/t24W/TH5iq0N6GglrRp0mGZZv12aDfj8uYOA95U6jYx6h1QdPtAZdSvoJb802Q40mw00W4vc06H8XxNBN/VwbPzC2RtRmJzqMyDpVTYIXeKU5XyVfA4VFZ8ZFt5lYiVxOwF80czYtaoU3C41eRlytqAMYW1EtxbMsdxP7bsyp4IDlaEwOvSvpXDv5xYVoYIG4cU44FFUuue6ytPKUluxTaPhnoGvQTbVt9TmTBF/jzzAuUeGSOMaUhLAgdtjWRVo0QCFMt3rSkC61n2CEVjfT1Ot7X21uR1ipQK7baUlFQyBwAAAAA=");
823
- }
824
- /* Required styles to normalize default css */
825
- /* Non-ASCII character tokens as CSS custom properties.
826
- * This file is plain CSS (not SCSS) so that Sass does not resolve the escape
827
- * sequences to literal characters, which would emit @charset "UTF-8".
828
- * See: https://github.com/db-ux-design-system/core-web/issues/7525
829
- * TODO: Maybe this could become an official token as well */
830
- :root {
831
- --db-list-bullet: "\2022\a0";
208
+ /* Non-ASCII character tokens as CSS custom properties.
209
+ * This file is plain CSS (not SCSS) so that Sass does not resolve the escape
210
+ * sequences to literal characters, which would emit @charset "UTF-8".
211
+ * See: https://github.com/db-ux-design-system/core-web/issues/7525
212
+ * TODO: Maybe this could become an official token as well */
213
+ :root {
214
+ --db-list-bullet: "\2022\a0";
832
215
  }
833
216
 
834
217
  :root {
@@ -4247,405 +3630,1068 @@ blockquote:not([class]) {
4247
3630
  var(--db-burgundy-1),
4248
3631
  var(--db-burgundy-12)
4249
3632
  );
4250
- --db-burgundy-bg-inverted-contrast-max-hovered: light-dark(
4251
- var(--db-burgundy-5),
4252
- var(--db-burgundy-9)
3633
+ --db-burgundy-bg-inverted-contrast-max-hovered: light-dark(
3634
+ var(--db-burgundy-5),
3635
+ var(--db-burgundy-9)
3636
+ );
3637
+ --db-burgundy-bg-inverted-contrast-max-pressed: light-dark(
3638
+ var(--db-burgundy-2),
3639
+ var(--db-burgundy-11)
3640
+ );
3641
+ --db-burgundy-bg-inverted-contrast-high-default: light-dark(
3642
+ var(--db-burgundy-6),
3643
+ var(--db-burgundy-9)
3644
+ );
3645
+ --db-burgundy-bg-inverted-contrast-high-hovered: light-dark(
3646
+ var(--db-burgundy-2),
3647
+ var(--db-burgundy-12)
3648
+ );
3649
+ --db-burgundy-bg-inverted-contrast-high-pressed: light-dark(
3650
+ var(--db-burgundy-5),
3651
+ var(--db-burgundy-10)
3652
+ );
3653
+ --db-burgundy-bg-inverted-contrast-low-default: light-dark(
3654
+ var(--db-burgundy-7),
3655
+ var(--db-burgundy-8)
3656
+ );
3657
+ --db-burgundy-bg-inverted-contrast-low-hovered: light-dark(
3658
+ var(--db-burgundy-3),
3659
+ var(--db-burgundy-12)
3660
+ );
3661
+ --db-burgundy-bg-inverted-contrast-low-pressed: light-dark(
3662
+ var(--db-burgundy-6),
3663
+ var(--db-burgundy-9)
3664
+ );
3665
+ --db-burgundy-bg-vibrant-default: light-dark(
3666
+ var(--db-burgundy-9),
3667
+ var(--db-burgundy-9)
3668
+ );
3669
+ --db-burgundy-bg-vibrant-hovered: light-dark(
3670
+ var(--db-burgundy-12),
3671
+ var(--db-burgundy-12)
3672
+ );
3673
+ --db-burgundy-bg-vibrant-pressed: light-dark(
3674
+ var(--db-burgundy-10),
3675
+ var(--db-burgundy-10)
3676
+ );
3677
+ }
3678
+
3679
+ /* Document
3680
+ * ========================================================================== */
3681
+ /**
3682
+ * 1. Correct the line height in all browsers.
3683
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
3684
+ */
3685
+ :where(html) {
3686
+ line-height: 1.15; /* 1 */
3687
+ -webkit-text-size-adjust: 100%; /* 2 */
3688
+ text-size-adjust: 100%; /* 2 */
3689
+ }
3690
+
3691
+ /* Sections
3692
+ * ========================================================================== */
3693
+ /**
3694
+ * Correct the font size and margin on `h1` elements within `section` and
3695
+ * `article` contexts in Chrome, Edge, Firefox, and Safari.
3696
+ */
3697
+ :where(h1) {
3698
+ font-size: 2em;
3699
+ margin-block-end: 0.67em;
3700
+ margin-block-start: 0.67em;
3701
+ }
3702
+
3703
+ /* Grouping content
3704
+ * ========================================================================== */
3705
+ /**
3706
+ * Remove the margin on nested lists in Chrome, Edge, and Safari.
3707
+ */
3708
+ :where(dl, ol, ul) :where(dl, ol, ul) {
3709
+ margin-block-end: 0;
3710
+ margin-block-start: 0;
3711
+ }
3712
+
3713
+ /**
3714
+ * 1. Add the correct box sizing in Firefox.
3715
+ * 2. Correct the inheritance of border color in Firefox.
3716
+ */
3717
+ :where(hr) {
3718
+ box-sizing: content-box; /* 1 */
3719
+ color: inherit; /* 2 */
3720
+ height: 0; /* 1 */
3721
+ }
3722
+
3723
+ /* Text-level semantics
3724
+ * ========================================================================== */
3725
+ /**
3726
+ * Add the correct text decoration in Safari.
3727
+ */
3728
+ :where(abbr[title]) {
3729
+ text-decoration: underline;
3730
+ text-decoration: underline dotted;
3731
+ }
3732
+
3733
+ /**
3734
+ * Add the correct font weight in Chrome, Edge, and Safari.
3735
+ */
3736
+ :where(b, strong) {
3737
+ font-weight: bolder;
3738
+ }
3739
+
3740
+ /**
3741
+ * 1. Correct the inheritance and scaling of font size in all browsers.
3742
+ * 2. Correct the odd `em` font sizing in all browsers.
3743
+ */
3744
+ :where(code, kbd, pre, samp) {
3745
+ font-family: monospace, monospace; /* 1 */
3746
+ font-size: 1em; /* 2 */
3747
+ }
3748
+
3749
+ /**
3750
+ * Add the correct font size in all browsers.
3751
+ */
3752
+ :where(small) {
3753
+ font-size: 80%;
3754
+ }
3755
+
3756
+ /* Tabular data
3757
+ * ========================================================================== */
3758
+ /**
3759
+ * 1. Correct table border color in Chrome, Edge, and Safari.
3760
+ * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
3761
+ */
3762
+ :where(table) {
3763
+ border-color: currentColor; /* 1 */
3764
+ text-indent: 0; /* 2 */
3765
+ }
3766
+
3767
+ /* Forms
3768
+ * ========================================================================== */
3769
+ /**
3770
+ * Remove the margin on controls in Safari.
3771
+ */
3772
+ :where(button, input, select) {
3773
+ margin: 0;
3774
+ }
3775
+
3776
+ /**
3777
+ * Remove the inheritance of text transform in Firefox.
3778
+ */
3779
+ :where(button) {
3780
+ text-transform: none;
3781
+ }
3782
+
3783
+ /**
3784
+ * Correct the inability to style buttons in iOS and Safari.
3785
+ */
3786
+ :where(button, input:is([type=button i], [type=reset i], [type=submit i])) {
3787
+ -webkit-appearance: button;
3788
+ }
3789
+
3790
+ /**
3791
+ * Add the correct vertical alignment in Chrome, Edge, and Firefox.
3792
+ */
3793
+ :where(progress) {
3794
+ vertical-align: baseline;
3795
+ }
3796
+
3797
+ /**
3798
+ * Remove the inheritance of text transform in Firefox.
3799
+ */
3800
+ :where(select) {
3801
+ text-transform: none;
3802
+ }
3803
+
3804
+ /**
3805
+ * Remove the margin in Firefox and Safari.
3806
+ */
3807
+ :where(textarea) {
3808
+ margin: 0;
3809
+ }
3810
+
3811
+ /**
3812
+ * 1. Correct the odd appearance in Chrome, Edge, and Safari.
3813
+ * 2. Correct the outline style in Safari.
3814
+ */
3815
+ :where(input[type=search i]) {
3816
+ -webkit-appearance: textfield; /* 1 */
3817
+ outline-offset: -2px; /* 2 */
3818
+ }
3819
+
3820
+ /**
3821
+ * Correct the cursor style of increment and decrement buttons in Safari.
3822
+ */
3823
+ ::-webkit-inner-spin-button,
3824
+ ::-webkit-outer-spin-button {
3825
+ height: auto;
3826
+ }
3827
+
3828
+ /**
3829
+ * Correct the text style of placeholders in Chrome, Edge, and Safari.
3830
+ */
3831
+ ::-webkit-input-placeholder {
3832
+ color: inherit;
3833
+ opacity: 0.54;
3834
+ }
3835
+
3836
+ /**
3837
+ * Remove the inner padding in Chrome, Edge, and Safari on macOS.
3838
+ */
3839
+ ::-webkit-search-decoration {
3840
+ -webkit-appearance: none;
3841
+ }
3842
+
3843
+ /**
3844
+ * 1. Correct the inability to style upload buttons in iOS and Safari.
3845
+ * 2. Change font properties to `inherit` in Safari.
3846
+ */
3847
+ ::-webkit-file-upload-button {
3848
+ -webkit-appearance: button; /* 1 */
3849
+ font: inherit; /* 2 */
3850
+ }
3851
+
3852
+ /**
3853
+ * Remove the inner border and padding of focus outlines in Firefox.
3854
+ */
3855
+ :where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focus-inner {
3856
+ border-style: none;
3857
+ padding: 0;
3858
+ }
3859
+
3860
+ /**
3861
+ * Restore the focus outline styles unset by the previous rule in Firefox.
3862
+ */
3863
+ :where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focusring {
3864
+ outline: 1px dotted ButtonText;
3865
+ }
3866
+
3867
+ /**
3868
+ * Remove the additional :invalid styles in Firefox.
3869
+ */
3870
+ :where(:-moz-ui-invalid) {
3871
+ box-shadow: none;
3872
+ }
3873
+
3874
+ /* Interactive
3875
+ * ========================================================================== */
3876
+ /*
3877
+ * Add the correct styles in Safari.
3878
+ */
3879
+ :where(dialog) {
3880
+ background-color: white;
3881
+ border: solid;
3882
+ color: black;
3883
+ height: -moz-fit-content;
3884
+ height: fit-content;
3885
+ left: 0;
3886
+ margin: auto;
3887
+ padding: 1em;
3888
+ position: absolute;
3889
+ right: 0;
3890
+ width: -moz-fit-content;
3891
+ width: fit-content;
3892
+ }
3893
+
3894
+ :where(dialog:not([open])) {
3895
+ display: none;
3896
+ }
3897
+
3898
+ /*
3899
+ * Add the correct display in all browsers.
3900
+ */
3901
+ :where(summary) {
3902
+ display: list-item;
3903
+ }
3904
+
3905
+ @property --db-screen-xs {
3906
+ syntax: "*";
3907
+ inherits: true;
3908
+ initial-value: 20em;
3909
+ }
3910
+ @property --db-screen-sm {
3911
+ syntax: "*";
3912
+ inherits: true;
3913
+ initial-value: 48em;
3914
+ }
3915
+ @property --db-screen-md {
3916
+ syntax: "*";
3917
+ inherits: true;
3918
+ initial-value: 64em;
3919
+ }
3920
+ @property --db-screen-lg {
3921
+ syntax: "*";
3922
+ inherits: true;
3923
+ initial-value: 90em;
3924
+ }
3925
+ @property --db-screen-xl {
3926
+ syntax: "*";
3927
+ inherits: true;
3928
+ initial-value: 120em;
3929
+ }
3930
+ :root {
3931
+ color-scheme: var(--db-color-scheme, light dark);
3932
+ }
3933
+ :root:has([name=color-scheme]:is([content~=light], [content~=dark])) {
3934
+ color-scheme: var(--db-color-scheme);
3935
+ }
3936
+
3937
+ [data-mode=light] {
3938
+ color-scheme: light;
3939
+ }
3940
+
3941
+ [data-mode=dark] {
3942
+ color-scheme: dark;
3943
+ }
3944
+
3945
+ [data-pride=true] {
3946
+ --db-pride-red: var(--db-red-origin-default);
3947
+ --db-pride-orange: var(--db-orange-origin-default);
3948
+ --db-pride-yellow: var(--db-yellow-origin-default);
3949
+ --db-pride-green: var(--db-light-green-origin-default);
3950
+ --db-pride-blue: var(--db-blue-origin-default);
3951
+ --db-pride-violet: var(--db-violet-origin-default);
3952
+ }
3953
+
3954
+ html,
3955
+ body {
3956
+ margin: 0;
3957
+ padding: 0;
3958
+ }
3959
+
3960
+ /* Block-level text carries no `margin-block` by default. The opt-in is driven
3961
+ * through the inheriting `--db-text-spacing` custom property rather than
3962
+ * descendant selectors, so the nearest `data-text-spacing` ancestor - or the
3963
+ * element itself - wins by proximity instead of by source order. That makes
3964
+ * `true` win when it is the closer ancestor and `false` opt a subtree back out,
3965
+ * and it covers the attribute sitting on the block-text element itself. The
3966
+ * property only carries the half-line-height multiplier; `1lh` is resolved on
3967
+ * the text element in `margin-block`, so the spacing stays derived from each
3968
+ * element's own line height rather than the ancestor's. */
3969
+ [data-text-spacing=true] {
3970
+ --db-text-spacing: 0.5;
3971
+ }
3972
+
3973
+ [data-text-spacing=false] {
3974
+ --db-text-spacing: 0;
3975
+ }
3976
+
3977
+ :where(h1, h2, h3, h4, h5, h6, p) {
3978
+ margin-block: calc(1lh * var(--db-text-spacing, 0));
3979
+ }
3980
+
3981
+ :where(h1) {
3982
+ /* stylelint-disable custom-property-pattern */
3983
+ font: var(--db-type-headline-xl);
3984
+ }
3985
+ :where(h1)::before, :where(h1)::after {
3986
+ --db-icon-font-size: var(
3987
+ --db-base-headline-icon-font-size-xl
3988
+ );
3989
+ --db-icon-font-weight: var(
3990
+ --db-base-headline-icon-weight-xl
4253
3991
  );
4254
- --db-burgundy-bg-inverted-contrast-max-pressed: light-dark(
4255
- var(--db-burgundy-2),
4256
- var(--db-burgundy-11)
3992
+ }
3993
+ :where(h1) {
3994
+ /* stylelint-enable custom-property-pattern */
3995
+ }
3996
+
3997
+ :where(h2) {
3998
+ /* stylelint-disable custom-property-pattern */
3999
+ font: var(--db-type-headline-lg);
4000
+ }
4001
+ :where(h2)::before, :where(h2)::after {
4002
+ --db-icon-font-size: var(
4003
+ --db-base-headline-icon-font-size-lg
4257
4004
  );
4258
- --db-burgundy-bg-inverted-contrast-high-default: light-dark(
4259
- var(--db-burgundy-6),
4260
- var(--db-burgundy-9)
4005
+ --db-icon-font-weight: var(
4006
+ --db-base-headline-icon-weight-lg
4261
4007
  );
4262
- --db-burgundy-bg-inverted-contrast-high-hovered: light-dark(
4263
- var(--db-burgundy-2),
4264
- var(--db-burgundy-12)
4008
+ }
4009
+ :where(h2) {
4010
+ /* stylelint-enable custom-property-pattern */
4011
+ }
4012
+
4013
+ :where(h3) {
4014
+ /* stylelint-disable custom-property-pattern */
4015
+ font: var(--db-type-headline-md);
4016
+ }
4017
+ :where(h3)::before, :where(h3)::after {
4018
+ --db-icon-font-size: var(
4019
+ --db-base-headline-icon-font-size-md
4265
4020
  );
4266
- --db-burgundy-bg-inverted-contrast-high-pressed: light-dark(
4267
- var(--db-burgundy-5),
4268
- var(--db-burgundy-10)
4021
+ --db-icon-font-weight: var(
4022
+ --db-base-headline-icon-weight-md
4269
4023
  );
4270
- --db-burgundy-bg-inverted-contrast-low-default: light-dark(
4271
- var(--db-burgundy-7),
4272
- var(--db-burgundy-8)
4024
+ }
4025
+ :where(h3) {
4026
+ /* stylelint-enable custom-property-pattern */
4027
+ }
4028
+
4029
+ :where(h4) {
4030
+ /* stylelint-disable custom-property-pattern */
4031
+ font: var(--db-type-headline-sm);
4032
+ }
4033
+ :where(h4)::before, :where(h4)::after {
4034
+ --db-icon-font-size: var(
4035
+ --db-base-headline-icon-font-size-sm
4273
4036
  );
4274
- --db-burgundy-bg-inverted-contrast-low-hovered: light-dark(
4275
- var(--db-burgundy-3),
4276
- var(--db-burgundy-12)
4037
+ --db-icon-font-weight: var(
4038
+ --db-base-headline-icon-weight-sm
4277
4039
  );
4278
- --db-burgundy-bg-inverted-contrast-low-pressed: light-dark(
4279
- var(--db-burgundy-6),
4280
- var(--db-burgundy-9)
4040
+ }
4041
+ :where(h4) {
4042
+ /* stylelint-enable custom-property-pattern */
4043
+ }
4044
+
4045
+ :where(h5) {
4046
+ /* stylelint-disable custom-property-pattern */
4047
+ font: var(--db-type-headline-xs);
4048
+ }
4049
+ :where(h5)::before, :where(h5)::after {
4050
+ --db-icon-font-size: var(
4051
+ --db-base-headline-icon-font-size-xs
4281
4052
  );
4282
- --db-burgundy-bg-vibrant-default: light-dark(
4283
- var(--db-burgundy-9),
4284
- var(--db-burgundy-9)
4053
+ --db-icon-font-weight: var(
4054
+ --db-base-headline-icon-weight-xs
4285
4055
  );
4286
- --db-burgundy-bg-vibrant-hovered: light-dark(
4287
- var(--db-burgundy-12),
4288
- var(--db-burgundy-12)
4056
+ }
4057
+ :where(h5) {
4058
+ /* stylelint-enable custom-property-pattern */
4059
+ }
4060
+
4061
+ :where(h6) {
4062
+ /* stylelint-disable custom-property-pattern */
4063
+ font: var(--db-type-headline-2xs);
4064
+ }
4065
+ :where(h6)::before, :where(h6)::after {
4066
+ --db-icon-font-size: var(
4067
+ --db-base-headline-icon-font-size-2xs
4289
4068
  );
4290
- --db-burgundy-bg-vibrant-pressed: light-dark(
4291
- var(--db-burgundy-10),
4292
- var(--db-burgundy-10)
4069
+ --db-icon-font-weight: var(
4070
+ --db-base-headline-icon-weight-2xs
4293
4071
  );
4294
4072
  }
4073
+ :where(h6) {
4074
+ /* stylelint-enable custom-property-pattern */
4075
+ }
4076
+
4077
+ body {
4078
+ font-family: var(--db-font-family-sans);
4079
+ }
4080
+
4081
+ :where(h1, h2, h3, h4, h5, h6) {
4082
+ font-family: var(--db-font-family-head);
4083
+ font-weight: bolder;
4084
+ text-wrap: balance;
4085
+ }
4086
+
4087
+ html {
4088
+ -webkit-tap-highlight-color: var(--db-informational-bg-basic-transparent-semi-default);
4089
+ }
4090
+
4091
+ *,
4092
+ ::before,
4093
+ ::after {
4094
+ box-sizing: var(--db-box-sizing, border-box);
4095
+ }
4096
+
4097
+ * {
4098
+ /* Use this to get similar fonts in all browser */
4099
+ -webkit-font-smoothing: antialiased;
4100
+ font-synthesis: none;
4101
+ text-rendering: optimizelegibility;
4102
+ }
4295
4103
 
4296
- /* Document
4297
- * ========================================================================== */
4298
- /**
4299
- * 1. Correct the line height in all browsers.
4300
- * 2. Prevent adjustments of font size after orientation changes in iOS.
4301
- */
4302
- :where(html) {
4303
- line-height: 1.15; /* 1 */
4304
- -webkit-text-size-adjust: 100%; /* 2 */
4305
- text-size-adjust: 100%; /* 2 */
4104
+ body,
4105
+ button,
4106
+ input,
4107
+ textarea,
4108
+ summary,
4109
+ select,
4110
+ a {
4111
+ color: inherit;
4306
4112
  }
4307
4113
 
4308
- /* Sections
4309
- * ========================================================================== */
4310
- /**
4311
- * Correct the font size and margin on `h1` elements within `section` and
4312
- * `article` contexts in Chrome, Edge, Firefox, and Safari.
4313
- */
4314
- :where(h1) {
4315
- font-size: 2em;
4316
- margin-block-end: 0.67em;
4317
- margin-block-start: 0.67em;
4114
+ img,
4115
+ embed,
4116
+ iframe,
4117
+ object,
4118
+ video {
4119
+ block-size: auto;
4120
+ max-inline-size: 100%;
4318
4121
  }
4319
4122
 
4320
- /* Grouping content
4321
- * ========================================================================== */
4322
- /**
4323
- * Remove the margin on nested lists in Chrome, Edge, and Safari.
4324
- */
4325
- :where(dl, ol, ul) :where(dl, ol, ul) {
4326
- margin-block-end: 0;
4327
- margin-block-start: 0;
4123
+ iframe {
4124
+ border: 0;
4328
4125
  }
4329
4126
 
4330
- /**
4331
- * 1. Add the correct box sizing in Firefox.
4332
- * 2. Correct the inheritance of border color in Firefox.
4333
- */
4334
- :where(hr) {
4335
- box-sizing: content-box; /* 1 */
4336
- color: inherit; /* 2 */
4337
- height: 0; /* 1 */
4127
+ :where(ul) {
4128
+ padding-inline-start: var(--db-spacing-fixed-md);
4129
+ /* stylelint-disable-next-line declaration-property-value-no-unknown, no-irregular-whitespace */
4130
+ list-style-type: var(--db-list-bullet);
4131
+ }
4132
+ :where(ul) li::marker {
4133
+ color: var(--db-brand-origin-default);
4338
4134
  }
4339
4135
 
4340
- /* Text-level semantics
4341
- * ========================================================================== */
4342
- /**
4343
- * Add the correct text decoration in Safari.
4344
- */
4345
- :where(abbr[title]) {
4346
- text-decoration: underline;
4347
- text-decoration: underline dotted;
4136
+ nav ol,
4137
+ nav ul,
4138
+ [role=navigation] ol,
4139
+ [role=navigation] ul {
4140
+ list-style-type: "";
4141
+ margin: 0;
4142
+ padding: 0;
4348
4143
  }
4349
4144
 
4350
- /**
4351
- * Add the correct font weight in Chrome, Edge, and Safari.
4352
- */
4353
- :where(b, strong) {
4354
- font-weight: bolder;
4145
+ fieldset {
4146
+ border: 0;
4355
4147
  }
4356
4148
 
4357
- /**
4358
- * 1. Correct the inheritance and scaling of font size in all browsers.
4359
- * 2. Correct the odd `em` font sizing in all browsers.
4360
- */
4361
- :where(code, kbd, pre, samp) {
4362
- font-family: monospace, monospace; /* 1 */
4363
- font-size: 1em; /* 2 */
4149
+ details > *,
4150
+ details > ::before,
4151
+ details > ::after {
4152
+ box-sizing: var(--db-box-sizing, border-box);
4364
4153
  }
4365
4154
 
4366
- /**
4367
- * Add the correct font size in all browsers.
4368
- */
4369
- :where(small) {
4370
- font-size: 80%;
4155
+ /* Use this file if you want the default color and density in your project */
4156
+ :root,
4157
+ :host {
4158
+ --db-sizing-3xs: var(--db-sizing-regular-3xs);
4159
+ --db-sizing-2xs: var(--db-sizing-regular-2xs);
4160
+ --db-sizing-xs: var(--db-sizing-regular-xs);
4161
+ --db-sizing-sm: var(--db-sizing-regular-sm);
4162
+ --db-sizing-md: var(--db-sizing-regular-md);
4163
+ --db-sizing-lg: var(--db-sizing-regular-lg);
4164
+ --db-sizing-xl: var(--db-sizing-regular-xl);
4165
+ --db-sizing-2xl: var(--db-sizing-regular-2xl);
4166
+ --db-sizing-3xl: var(--db-sizing-regular-3xl);
4167
+ --db-spacing-fixed-3xs: var(--db-spacing-fixed-regular-3xs);
4168
+ --db-spacing-fixed-2xs: var(--db-spacing-fixed-regular-2xs);
4169
+ --db-spacing-fixed-xs: var(--db-spacing-fixed-regular-xs);
4170
+ --db-spacing-fixed-sm: var(--db-spacing-fixed-regular-sm);
4171
+ --db-spacing-fixed-md: var(--db-spacing-fixed-regular-md);
4172
+ --db-spacing-fixed-lg: var(--db-spacing-fixed-regular-lg);
4173
+ --db-spacing-fixed-xl: var(--db-spacing-fixed-regular-xl);
4174
+ --db-spacing-fixed-2xl: var(--db-spacing-fixed-regular-2xl);
4175
+ --db-spacing-fixed-3xl: var(--db-spacing-fixed-regular-3xl);
4176
+ /* stylelint-disable-next-line media-query-no-invalid */
4177
+ }
4178
+ @media (width <= 48em) {
4179
+ :root,
4180
+ :host {
4181
+ --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-mobile-3xs);
4182
+ --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-mobile-2xs);
4183
+ --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-mobile-xs);
4184
+ --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-mobile-sm);
4185
+ --db-spacing-responsive-md: var(--db-spacing-responsive-regular-mobile-md);
4186
+ --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-mobile-lg);
4187
+ --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-mobile-xl);
4188
+ --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-mobile-2xl);
4189
+ --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-mobile-3xl);
4190
+ }
4191
+ }
4192
+ :root,
4193
+ :host {
4194
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4195
+ /* stylelint-disable-next-line media-query-no-invalid */
4196
+ }
4197
+ @media (48em < width <= 64em) {
4198
+ :root,
4199
+ :host {
4200
+ --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-tablet-3xs);
4201
+ --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-tablet-2xs);
4202
+ --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-tablet-xs);
4203
+ --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-tablet-sm);
4204
+ --db-spacing-responsive-md: var(--db-spacing-responsive-regular-tablet-md);
4205
+ --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-tablet-lg);
4206
+ --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-tablet-xl);
4207
+ --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-tablet-2xl);
4208
+ --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-tablet-3xl);
4209
+ }
4210
+ }
4211
+ :root,
4212
+ :host {
4213
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4214
+ /* stylelint-disable-next-line media-query-no-invalid */
4215
+ }
4216
+ @media (64em < width) {
4217
+ :root,
4218
+ :host {
4219
+ --db-spacing-responsive-3xs: var(--db-spacing-responsive-regular-desktop-3xs);
4220
+ --db-spacing-responsive-2xs: var(--db-spacing-responsive-regular-desktop-2xs);
4221
+ --db-spacing-responsive-xs: var(--db-spacing-responsive-regular-desktop-xs);
4222
+ --db-spacing-responsive-sm: var(--db-spacing-responsive-regular-desktop-sm);
4223
+ --db-spacing-responsive-md: var(--db-spacing-responsive-regular-desktop-md);
4224
+ --db-spacing-responsive-lg: var(--db-spacing-responsive-regular-desktop-lg);
4225
+ --db-spacing-responsive-xl: var(--db-spacing-responsive-regular-desktop-xl);
4226
+ --db-spacing-responsive-2xl: var(--db-spacing-responsive-regular-desktop-2xl);
4227
+ --db-spacing-responsive-3xl: var(--db-spacing-responsive-regular-desktop-3xl);
4228
+ }
4229
+ }
4230
+ :root,
4231
+ :host {
4232
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4371
4233
  }
4372
4234
 
4373
- /* Tabular data
4374
- * ========================================================================== */
4375
- /**
4376
- * 1. Correct table border color in Chrome, Edge, and Safari.
4377
- * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
4378
- */
4379
- :where(table) {
4380
- border-color: currentColor; /* 1 */
4381
- text-indent: 0; /* 2 */
4235
+ :root,
4236
+ :host {
4237
+ /* stylelint-disable-next-line media-query-no-invalid */
4238
+ }
4239
+ @media (width <= 48em) {
4240
+ :root,
4241
+ :host {
4242
+ --db-type-headline-3xs: var(--db-typography-regular-mobile-headline-3xs);
4243
+ --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-mobile-headline-3xs);
4244
+ --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-mobile-headline-3xs);
4245
+ --db-type-headline-2xs: var(--db-typography-regular-mobile-headline-2xs);
4246
+ --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-mobile-headline-2xs);
4247
+ --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-mobile-headline-2xs);
4248
+ --db-type-headline-xs: var(--db-typography-regular-mobile-headline-xs);
4249
+ --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-mobile-headline-xs);
4250
+ --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-mobile-headline-xs);
4251
+ --db-type-headline-sm: var(--db-typography-regular-mobile-headline-sm);
4252
+ --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-mobile-headline-sm);
4253
+ --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-mobile-headline-sm);
4254
+ --db-type-headline-md: var(--db-typography-regular-mobile-headline-md);
4255
+ --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-mobile-headline-md);
4256
+ --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-mobile-headline-md);
4257
+ --db-type-headline-lg: var(--db-typography-regular-mobile-headline-lg);
4258
+ --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-mobile-headline-lg);
4259
+ --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-mobile-headline-lg);
4260
+ --db-type-headline-xl: var(--db-typography-regular-mobile-headline-xl);
4261
+ --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-mobile-headline-xl);
4262
+ --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-mobile-headline-xl);
4263
+ --db-type-headline-2xl: var(--db-typography-regular-mobile-headline-2xl);
4264
+ --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-mobile-headline-2xl);
4265
+ --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-mobile-headline-2xl);
4266
+ --db-type-headline-3xl: var(--db-typography-regular-mobile-headline-3xl);
4267
+ --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-mobile-headline-3xl);
4268
+ --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-headline-3xl);
4269
+ }
4270
+ }
4271
+ :root,
4272
+ :host {
4273
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4274
+ /* stylelint-disable-next-line media-query-no-invalid */
4275
+ }
4276
+ @media (48em < width <= 64em) {
4277
+ :root,
4278
+ :host {
4279
+ --db-type-headline-3xs: var(--db-typography-regular-tablet-headline-3xs);
4280
+ --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-tablet-headline-3xs);
4281
+ --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-tablet-headline-3xs);
4282
+ --db-type-headline-2xs: var(--db-typography-regular-tablet-headline-2xs);
4283
+ --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-tablet-headline-2xs);
4284
+ --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-tablet-headline-2xs);
4285
+ --db-type-headline-xs: var(--db-typography-regular-tablet-headline-xs);
4286
+ --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-tablet-headline-xs);
4287
+ --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-tablet-headline-xs);
4288
+ --db-type-headline-sm: var(--db-typography-regular-tablet-headline-sm);
4289
+ --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-tablet-headline-sm);
4290
+ --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-tablet-headline-sm);
4291
+ --db-type-headline-md: var(--db-typography-regular-tablet-headline-md);
4292
+ --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-tablet-headline-md);
4293
+ --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-tablet-headline-md);
4294
+ --db-type-headline-lg: var(--db-typography-regular-tablet-headline-lg);
4295
+ --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-tablet-headline-lg);
4296
+ --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-tablet-headline-lg);
4297
+ --db-type-headline-xl: var(--db-typography-regular-tablet-headline-xl);
4298
+ --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-tablet-headline-xl);
4299
+ --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-tablet-headline-xl);
4300
+ --db-type-headline-2xl: var(--db-typography-regular-tablet-headline-2xl);
4301
+ --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-tablet-headline-2xl);
4302
+ --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-tablet-headline-2xl);
4303
+ --db-type-headline-3xl: var(--db-typography-regular-tablet-headline-3xl);
4304
+ --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-tablet-headline-3xl);
4305
+ --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-tablet-headline-3xl);
4306
+ }
4382
4307
  }
4383
-
4384
- /* Forms
4385
- * ========================================================================== */
4386
- /**
4387
- * Remove the margin on controls in Safari.
4388
- */
4389
- :where(button, input, select) {
4390
- margin: 0;
4308
+ :root,
4309
+ :host {
4310
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4311
+ /* stylelint-disable-next-line media-query-no-invalid */
4391
4312
  }
4392
-
4393
- /**
4394
- * Remove the inheritance of text transform in Firefox.
4395
- */
4396
- :where(button) {
4397
- text-transform: none;
4313
+ @media (64em < width) {
4314
+ :root,
4315
+ :host {
4316
+ --db-type-headline-3xs: var(--db-typography-regular-desktop-headline-3xs);
4317
+ --db-base-headline-icon-weight-3xs: var(--db-base-icon-weight-regular-desktop-headline-3xs);
4318
+ --db-base-headline-icon-font-size-3xs: var(--db-base-icon-font-size-regular-desktop-headline-3xs);
4319
+ --db-type-headline-2xs: var(--db-typography-regular-desktop-headline-2xs);
4320
+ --db-base-headline-icon-weight-2xs: var(--db-base-icon-weight-regular-desktop-headline-2xs);
4321
+ --db-base-headline-icon-font-size-2xs: var(--db-base-icon-font-size-regular-desktop-headline-2xs);
4322
+ --db-type-headline-xs: var(--db-typography-regular-desktop-headline-xs);
4323
+ --db-base-headline-icon-weight-xs: var(--db-base-icon-weight-regular-desktop-headline-xs);
4324
+ --db-base-headline-icon-font-size-xs: var(--db-base-icon-font-size-regular-desktop-headline-xs);
4325
+ --db-type-headline-sm: var(--db-typography-regular-desktop-headline-sm);
4326
+ --db-base-headline-icon-weight-sm: var(--db-base-icon-weight-regular-desktop-headline-sm);
4327
+ --db-base-headline-icon-font-size-sm: var(--db-base-icon-font-size-regular-desktop-headline-sm);
4328
+ --db-type-headline-md: var(--db-typography-regular-desktop-headline-md);
4329
+ --db-base-headline-icon-weight-md: var(--db-base-icon-weight-regular-desktop-headline-md);
4330
+ --db-base-headline-icon-font-size-md: var(--db-base-icon-font-size-regular-desktop-headline-md);
4331
+ --db-type-headline-lg: var(--db-typography-regular-desktop-headline-lg);
4332
+ --db-base-headline-icon-weight-lg: var(--db-base-icon-weight-regular-desktop-headline-lg);
4333
+ --db-base-headline-icon-font-size-lg: var(--db-base-icon-font-size-regular-desktop-headline-lg);
4334
+ --db-type-headline-xl: var(--db-typography-regular-desktop-headline-xl);
4335
+ --db-base-headline-icon-weight-xl: var(--db-base-icon-weight-regular-desktop-headline-xl);
4336
+ --db-base-headline-icon-font-size-xl: var(--db-base-icon-font-size-regular-desktop-headline-xl);
4337
+ --db-type-headline-2xl: var(--db-typography-regular-desktop-headline-2xl);
4338
+ --db-base-headline-icon-weight-2xl: var(--db-base-icon-weight-regular-desktop-headline-2xl);
4339
+ --db-base-headline-icon-font-size-2xl: var(--db-base-icon-font-size-regular-desktop-headline-2xl);
4340
+ --db-type-headline-3xl: var(--db-typography-regular-desktop-headline-3xl);
4341
+ --db-base-headline-icon-weight-3xl: var(--db-base-icon-weight-regular-desktop-headline-3xl);
4342
+ --db-base-headline-icon-font-size-3xl: var(--db-base-icon-font-size-regular-desktop-headline-3xl);
4343
+ }
4398
4344
  }
4399
-
4400
- /**
4401
- * Correct the inability to style buttons in iOS and Safari.
4402
- */
4403
- :where(button, input:is([type=button i], [type=reset i], [type=submit i])) {
4404
- -webkit-appearance: button;
4345
+ :root,
4346
+ :host {
4347
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4405
4348
  }
4406
4349
 
4407
- /**
4408
- * Add the correct vertical alignment in Chrome, Edge, and Firefox.
4409
- */
4410
- :where(progress) {
4411
- vertical-align: baseline;
4350
+ :root,
4351
+ :host {
4352
+ /* stylelint-disable-next-line media-query-no-invalid */
4412
4353
  }
4413
-
4414
- /**
4415
- * Remove the inheritance of text transform in Firefox.
4416
- */
4417
- :where(select) {
4418
- text-transform: none;
4354
+ @media (width <= 48em) {
4355
+ :root,
4356
+ :host {
4357
+ --db-type-body-3xs: var(--db-typography-regular-mobile-body-3xs);
4358
+ --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-mobile-body-3xs);
4359
+ --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-mobile-body-3xs);
4360
+ --db-type-body-2xs: var(--db-typography-regular-mobile-body-2xs);
4361
+ --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-mobile-body-2xs);
4362
+ --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-mobile-body-2xs);
4363
+ --db-type-body-xs: var(--db-typography-regular-mobile-body-xs);
4364
+ --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-mobile-body-xs);
4365
+ --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-mobile-body-xs);
4366
+ --db-type-body-sm: var(--db-typography-regular-mobile-body-sm);
4367
+ --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-mobile-body-sm);
4368
+ --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-mobile-body-sm);
4369
+ --db-type-body-md: var(--db-typography-regular-mobile-body-md);
4370
+ --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-mobile-body-md);
4371
+ --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-mobile-body-md);
4372
+ --db-type-body-lg: var(--db-typography-regular-mobile-body-lg);
4373
+ --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-mobile-body-lg);
4374
+ --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-mobile-body-lg);
4375
+ --db-type-body-xl: var(--db-typography-regular-mobile-body-xl);
4376
+ --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-mobile-body-xl);
4377
+ --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-mobile-body-xl);
4378
+ --db-type-body-2xl: var(--db-typography-regular-mobile-body-2xl);
4379
+ --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-mobile-body-2xl);
4380
+ --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-mobile-body-2xl);
4381
+ --db-type-body-3xl: var(--db-typography-regular-mobile-body-3xl);
4382
+ --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-mobile-body-3xl);
4383
+ --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-mobile-body-3xl);
4384
+ }
4419
4385
  }
4420
-
4421
- /**
4422
- * Remove the margin in Firefox and Safari.
4423
- */
4424
- :where(textarea) {
4425
- margin: 0;
4386
+ :root,
4387
+ :host {
4388
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4389
+ /* stylelint-disable-next-line media-query-no-invalid */
4426
4390
  }
4427
-
4428
- /**
4429
- * 1. Correct the odd appearance in Chrome, Edge, and Safari.
4430
- * 2. Correct the outline style in Safari.
4431
- */
4432
- :where(input[type=search i]) {
4433
- -webkit-appearance: textfield; /* 1 */
4434
- outline-offset: -2px; /* 2 */
4391
+ @media (48em < width <= 64em) {
4392
+ :root,
4393
+ :host {
4394
+ --db-type-body-3xs: var(--db-typography-regular-tablet-body-3xs);
4395
+ --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-tablet-body-3xs);
4396
+ --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-tablet-body-3xs);
4397
+ --db-type-body-2xs: var(--db-typography-regular-tablet-body-2xs);
4398
+ --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-tablet-body-2xs);
4399
+ --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-tablet-body-2xs);
4400
+ --db-type-body-xs: var(--db-typography-regular-tablet-body-xs);
4401
+ --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-tablet-body-xs);
4402
+ --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-tablet-body-xs);
4403
+ --db-type-body-sm: var(--db-typography-regular-tablet-body-sm);
4404
+ --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-tablet-body-sm);
4405
+ --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-tablet-body-sm);
4406
+ --db-type-body-md: var(--db-typography-regular-tablet-body-md);
4407
+ --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-tablet-body-md);
4408
+ --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-tablet-body-md);
4409
+ --db-type-body-lg: var(--db-typography-regular-tablet-body-lg);
4410
+ --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-tablet-body-lg);
4411
+ --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-tablet-body-lg);
4412
+ --db-type-body-xl: var(--db-typography-regular-tablet-body-xl);
4413
+ --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-tablet-body-xl);
4414
+ --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-tablet-body-xl);
4415
+ --db-type-body-2xl: var(--db-typography-regular-tablet-body-2xl);
4416
+ --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-tablet-body-2xl);
4417
+ --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-tablet-body-2xl);
4418
+ --db-type-body-3xl: var(--db-typography-regular-tablet-body-3xl);
4419
+ --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-tablet-body-3xl);
4420
+ --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-tablet-body-3xl);
4421
+ }
4435
4422
  }
4436
-
4437
- /**
4438
- * Correct the cursor style of increment and decrement buttons in Safari.
4439
- */
4440
- ::-webkit-inner-spin-button,
4441
- ::-webkit-outer-spin-button {
4442
- height: auto;
4423
+ :root,
4424
+ :host {
4425
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4426
+ /* stylelint-disable-next-line media-query-no-invalid */
4443
4427
  }
4444
-
4445
- /**
4446
- * Correct the text style of placeholders in Chrome, Edge, and Safari.
4447
- */
4448
- ::-webkit-input-placeholder {
4449
- color: inherit;
4450
- opacity: 0.54;
4428
+ @media (64em < width) {
4429
+ :root,
4430
+ :host {
4431
+ --db-type-body-3xs: var(--db-typography-regular-desktop-body-3xs);
4432
+ --db-base-body-icon-weight-3xs: var(--db-base-icon-weight-regular-desktop-body-3xs);
4433
+ --db-base-body-icon-font-size-3xs: var(--db-base-icon-font-size-regular-desktop-body-3xs);
4434
+ --db-type-body-2xs: var(--db-typography-regular-desktop-body-2xs);
4435
+ --db-base-body-icon-weight-2xs: var(--db-base-icon-weight-regular-desktop-body-2xs);
4436
+ --db-base-body-icon-font-size-2xs: var(--db-base-icon-font-size-regular-desktop-body-2xs);
4437
+ --db-type-body-xs: var(--db-typography-regular-desktop-body-xs);
4438
+ --db-base-body-icon-weight-xs: var(--db-base-icon-weight-regular-desktop-body-xs);
4439
+ --db-base-body-icon-font-size-xs: var(--db-base-icon-font-size-regular-desktop-body-xs);
4440
+ --db-type-body-sm: var(--db-typography-regular-desktop-body-sm);
4441
+ --db-base-body-icon-weight-sm: var(--db-base-icon-weight-regular-desktop-body-sm);
4442
+ --db-base-body-icon-font-size-sm: var(--db-base-icon-font-size-regular-desktop-body-sm);
4443
+ --db-type-body-md: var(--db-typography-regular-desktop-body-md);
4444
+ --db-base-body-icon-weight-md: var(--db-base-icon-weight-regular-desktop-body-md);
4445
+ --db-base-body-icon-font-size-md: var(--db-base-icon-font-size-regular-desktop-body-md);
4446
+ --db-type-body-lg: var(--db-typography-regular-desktop-body-lg);
4447
+ --db-base-body-icon-weight-lg: var(--db-base-icon-weight-regular-desktop-body-lg);
4448
+ --db-base-body-icon-font-size-lg: var(--db-base-icon-font-size-regular-desktop-body-lg);
4449
+ --db-type-body-xl: var(--db-typography-regular-desktop-body-xl);
4450
+ --db-base-body-icon-weight-xl: var(--db-base-icon-weight-regular-desktop-body-xl);
4451
+ --db-base-body-icon-font-size-xl: var(--db-base-icon-font-size-regular-desktop-body-xl);
4452
+ --db-type-body-2xl: var(--db-typography-regular-desktop-body-2xl);
4453
+ --db-base-body-icon-weight-2xl: var(--db-base-icon-weight-regular-desktop-body-2xl);
4454
+ --db-base-body-icon-font-size-2xl: var(--db-base-icon-font-size-regular-desktop-body-2xl);
4455
+ --db-type-body-3xl: var(--db-typography-regular-desktop-body-3xl);
4456
+ --db-base-body-icon-weight-3xl: var(--db-base-icon-weight-regular-desktop-body-3xl);
4457
+ --db-base-body-icon-font-size-3xl: var(--db-base-icon-font-size-regular-desktop-body-3xl);
4458
+ }
4451
4459
  }
4452
-
4453
- /**
4454
- * Remove the inner padding in Chrome, Edge, and Safari on macOS.
4455
- */
4456
- ::-webkit-search-decoration {
4457
- -webkit-appearance: none;
4460
+ :root,
4461
+ :host {
4462
+ /* stylelint-disable-next-line at-rule-empty-line-before */
4458
4463
  }
4459
4464
 
4460
- /**
4461
- * 1. Correct the inability to style upload buttons in iOS and Safari.
4462
- * 2. Change font properties to `inherit` in Safari.
4463
- */
4464
- ::-webkit-file-upload-button {
4465
- -webkit-appearance: button; /* 1 */
4466
- font: inherit; /* 2 */
4465
+ /* Use this file if you want the default elevation data attributes in your project */
4466
+ .db-interactive-elevation,
4467
+ [data-interactive=elevation] {
4468
+ cursor: pointer;
4469
+ box-shadow: var(--db-elevation-md);
4467
4470
  }
4468
-
4469
- /**
4470
- * Remove the inner border and padding of focus outlines in Firefox.
4471
- */
4472
- :where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focus-inner {
4473
- border-style: none;
4474
- padding: 0;
4471
+ @media (prefers-reduced-motion: no-preference) {
4472
+ .db-interactive-elevation,
4473
+ [data-interactive=elevation] {
4474
+ transition: box-shadow var(--db-transition-duration-fast) var(--db-transition-timing-functional);
4475
+ }
4475
4476
  }
4476
-
4477
- /**
4478
- * Restore the focus outline styles unset by the previous rule in Firefox.
4479
- */
4480
- :where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focusring {
4481
- outline: 1px dotted ButtonText;
4477
+ .db-interactive-elevation,
4478
+ [data-interactive=elevation] {
4479
+ /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
4480
+ }
4481
+ .db-interactive-elevation:hover,
4482
+ [data-interactive=elevation]:hover {
4483
+ cursor: var(--db-overwrite-cursor, pointer);
4484
+ box-shadow: var(--db-elevation-lg);
4485
+ }
4486
+ .db-interactive-elevation:active,
4487
+ [data-interactive=elevation]:active {
4488
+ cursor: var(--db-overwrite-cursor, pointer);
4489
+ box-shadow: var(--db-elevation-sm);
4482
4490
  }
4483
4491
 
4484
- /**
4485
- * Remove the additional :invalid styles in Firefox.
4486
- */
4487
- :where(:-moz-ui-invalid) {
4488
- box-shadow: none;
4492
+ /* Use this file if you want the default fonts for paragraph and headlines in your project */
4493
+ :is(h1, h2, h3, h4, h5, h6)[data-variant=light] {
4494
+ font-weight: 300;
4495
+ }
4496
+ :is(h1, h2, h3, h4, h5, h6)[data-variant=regular] {
4497
+ font-weight: 400;
4489
4498
  }
4490
4499
 
4491
- /* Interactive
4492
- * ========================================================================== */
4493
- /*
4494
- * Add the correct styles in Safari.
4495
- */
4496
- :where(dialog) {
4497
- background-color: white;
4498
- border: solid;
4499
- color: black;
4500
- height: -moz-fit-content;
4501
- height: fit-content;
4502
- left: 0;
4503
- margin: auto;
4504
- padding: 1em;
4505
- position: absolute;
4506
- right: 0;
4507
- width: -moz-fit-content;
4508
- width: fit-content;
4500
+ [data-font=digital] {
4501
+ font-weight: 300;
4509
4502
  }
4510
4503
 
4511
- :where(dialog:not([open])) {
4512
- display: none;
4504
+ [data-font=regular] {
4505
+ font-weight: 400;
4513
4506
  }
4514
4507
 
4515
- /*
4516
- * Add the correct display in all browsers.
4517
- */
4518
- :where(summary) {
4519
- display: list-item;
4508
+ [data-font=medium] {
4509
+ font-weight: 500;
4520
4510
  }
4521
4511
 
4522
- @property --db-screen-xs {
4523
- syntax: "*";
4524
- inherits: true;
4525
- initial-value: 20em;
4512
+ [data-font=semibold] {
4513
+ font-weight: 600;
4526
4514
  }
4527
- @property --db-screen-sm {
4528
- syntax: "*";
4529
- inherits: true;
4530
- initial-value: 48em;
4515
+
4516
+ [data-font=bold],
4517
+ strong {
4518
+ font-weight: 700;
4531
4519
  }
4532
- @property --db-screen-md {
4533
- syntax: "*";
4534
- inherits: true;
4535
- initial-value: 64em;
4520
+
4521
+ /* Use this file if you want to use the defaults for the <code> tag in your project */
4522
+ pre:not([class]):has(code) {
4523
+ background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
4524
+ color: var(--db-adaptive-on-bg-inverted-default);
4525
+ padding: var(--db-spacing-fixed-xs);
4536
4526
  }
4537
- @property --db-screen-lg {
4538
- syntax: "*";
4539
- inherits: true;
4540
- initial-value: 90em;
4527
+ pre:not([class]):has(code),
4528
+ pre:not([class]):has(code) code,
4529
+ pre:not([class]):has(code) span {
4530
+ font-family: monospace;
4541
4531
  }
4542
- @property --db-screen-xl {
4543
- syntax: "*";
4544
- inherits: true;
4545
- initial-value: 120em;
4532
+
4533
+ a:has(code:not([class]):only-child) {
4534
+ background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
4535
+ color: var(--db-adaptive-on-bg-inverted-default);
4536
+ /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
4546
4537
  }
4547
- :root {
4548
- color-scheme: var(--db-color-scheme, light dark);
4538
+ a:has(code:not([class]):only-child):hover {
4539
+ cursor: var(--db-overwrite-cursor, pointer);
4540
+ color: var(--db-adaptive-on-bg-inverted-hovered);
4549
4541
  }
4550
- :root:has([name=color-scheme]:is([content~=light], [content~=dark])) {
4551
- color-scheme: var(--db-color-scheme);
4542
+ a:has(code:not([class]):only-child):active {
4543
+ cursor: var(--db-overwrite-cursor, pointer);
4544
+ color: var(--db-adaptive-on-bg-inverted-pressed);
4552
4545
  }
4553
-
4554
- [data-mode=light] {
4555
- color-scheme: light;
4546
+ a:has(code:not([class]):only-child) > code {
4547
+ color: inherit;
4556
4548
  }
4557
4549
 
4558
- [data-mode=dark] {
4559
- color-scheme: dark;
4550
+ code:not([class]) {
4551
+ background-color: var(--db-adaptive-bg-inverted-contrast-max-default);
4552
+ color: var(--db-adaptive-on-bg-inverted-default);
4553
+ padding-block: var(--db-spacing-fixed-3xs);
4554
+ padding-inline: var(--db-spacing-fixed-2xs);
4560
4555
  }
4561
-
4562
- [data-pride=true] {
4563
- --db-pride-red: var(--db-red-origin-default);
4564
- --db-pride-orange: var(--db-orange-origin-default);
4565
- --db-pride-yellow: var(--db-yellow-origin-default);
4566
- --db-pride-green: var(--db-light-green-origin-default);
4567
- --db-pride-blue: var(--db-blue-origin-default);
4568
- --db-pride-violet: var(--db-violet-origin-default);
4556
+ code:not([class]),
4557
+ code:not([class]) span {
4558
+ font-family: monospace;
4569
4559
  }
4570
4560
 
4571
- html,
4572
- body {
4561
+ blockquote:not([class]) {
4573
4562
  margin: 0;
4574
- padding: 0;
4563
+ padding: var(--db-spacing-fixed-sm) var(--db-spacing-fixed-md);
4575
4564
  }
4576
4565
 
4577
- body {
4578
- font-family: var(--db-font-family-sans);
4566
+ [data-icon]::before,
4567
+ [data-icon-leading]::before, [data-icon-trailing]::after {
4568
+ color: var(--db-icon-color, inherit);
4569
+ display: inline-block;
4570
+ /*** icon - placeholder ***/
4571
+ font-family: var(--db-icon-font-family, var(--db-icon-default-font-family, "db-ux-default", "icon-font-fallback")) !important;
4572
+ font-size: var(--db-icon-font-size, 1.5rem);
4573
+ -webkit-font-smoothing: antialiased;
4574
+ -moz-osx-font-smoothing: grayscale;
4575
+ font-style: normal;
4576
+ font-variant: normal;
4577
+ font-weight: var(--db-icon-font-weight, normal);
4578
+ line-height: 1;
4579
+ /* stylelint-disable-next-line declaration-property-value-no-unknown */
4580
+ speak: none;
4581
+ /* stylelint-disable-next-line declaration-property-value-no-unknown */
4582
+ speak: never;
4583
+ text-transform: none;
4584
+ overflow: clip;
4585
+ contain: layout;
4586
+ vertical-align: var(--db-icon-vertical-align, middle);
4587
+ /* stylelint-disable-next-line db-ux/use-sizing */
4588
+ block-size: var(--db-icon-font-size, 1.5rem);
4589
+ /* stylelint-disable-next-line db-ux/use-sizing */
4590
+ inline-size: var(--db-icon-font-size, 1.5rem);
4591
+ aspect-ratio: 1;
4592
+ flex-shrink: 0;
4593
+ text-underline-position: auto;
4594
+ content: var(--db-icon, attr(data-icon));
4595
+ }
4596
+ @supports (content: ""/"") {
4597
+ [data-icon]::before,
4598
+ [data-icon-leading]::before, [data-icon-trailing]::after {
4599
+ content: var(--db-icon, attr(data-icon))/"";
4600
+ }
4601
+ }
4602
+ @media aural {
4603
+ [data-icon]::before,
4604
+ [data-icon-leading]::before, [data-icon-trailing]::after {
4605
+ content: none;
4606
+ }
4607
+ }
4608
+ @media speech {
4609
+ [data-icon]::before,
4610
+ [data-icon-leading]::before, [data-icon-trailing]::after {
4611
+ content: none;
4612
+ }
4579
4613
  }
4580
4614
 
4581
- html {
4582
- -webkit-tap-highlight-color: var(--db-informational-bg-basic-transparent-semi-default);
4615
+ [data-icon]:is(span):not([hidden]),
4616
+ [data-icon-leading]:is(span):not([hidden]),
4617
+ [data-icon-trailing]:is(span):not([hidden]) {
4618
+ display: inline-flex;
4619
+ }
4620
+ [data-icon]:is(span),
4621
+ [data-icon-leading]:is(span),
4622
+ [data-icon-trailing]:is(span) {
4623
+ vertical-align: baseline;
4583
4624
  }
4584
4625
 
4585
- *,
4586
- ::before,
4587
- ::after {
4588
- box-sizing: var(--db-box-sizing, border-box);
4626
+ [data-icon-variant=default]::before,
4627
+ [data-icon-variant-before=default]::before {
4628
+ --db-icon-font-family: var(
4629
+ --db-icon-default-font-family,
4630
+ "db-ux-default",
4631
+ "icon-font-fallback"
4632
+ );
4589
4633
  }
4590
4634
 
4591
- * {
4592
- /* Use this to get similar fonts in all browser */
4593
- -webkit-font-smoothing: antialiased;
4594
- font-synthesis: none;
4595
- text-rendering: optimizelegibility;
4635
+ [data-icon-variant-after=default]::after {
4636
+ --db-icon-font-family: var(
4637
+ --db-icon-default-font-family,
4638
+ "db-ux-default",
4639
+ "icon-font-fallback"
4640
+ );
4596
4641
  }
4597
4642
 
4598
- body,
4599
- button,
4600
- input,
4601
- textarea,
4602
- summary,
4603
- select,
4604
- a {
4605
- color: inherit;
4643
+ [data-icon-variant=filled]::before,
4644
+ [data-icon-variant-before=filled]::before {
4645
+ --db-icon-font-family: var(
4646
+ --db-icon-filled-font-family,
4647
+ "db-ux-filled",
4648
+ "icon-font-fallback"
4649
+ );
4606
4650
  }
4607
4651
 
4608
- img,
4609
- embed,
4610
- iframe,
4611
- object,
4612
- video {
4613
- block-size: auto;
4614
- max-inline-size: 100%;
4652
+ [data-icon-variant-after=filled]::after {
4653
+ --db-icon-font-family: var(
4654
+ --db-icon-filled-font-family,
4655
+ "db-ux-filled",
4656
+ "icon-font-fallback"
4657
+ );
4615
4658
  }
4616
4659
 
4617
- iframe {
4618
- border: 0;
4660
+ [data-show-icon=false]::before,
4661
+ [data-show-icon-leading=false]::before,
4662
+ [data-icon=none]::before,
4663
+ [data-icon-leading=none]::before {
4664
+ content: none;
4619
4665
  }
4620
4666
 
4621
- :where(ul) {
4622
- padding-inline-start: var(--db-spacing-fixed-md);
4623
- /* stylelint-disable-next-line declaration-property-value-no-unknown, no-irregular-whitespace */
4624
- list-style-type: var(--db-list-bullet);
4667
+ [data-icon-trailing]::after {
4668
+ content: var(--db-icon-trailing, attr(data-icon-trailing));
4625
4669
  }
4626
- :where(ul) li::marker {
4627
- color: var(--db-brand-origin-default);
4670
+ @supports (content: ""/"") {
4671
+ [data-icon-trailing]::after {
4672
+ content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
4673
+ }
4628
4674
  }
4629
4675
 
4630
- nav ol,
4631
- nav ul,
4632
- [role=navigation] ol,
4633
- [role=navigation] ul {
4634
- list-style-type: "";
4635
- margin: 0;
4636
- padding: 0;
4676
+ [data-show-icon-trailing=false]::after,
4677
+ [data-icon-trailing=none]::after {
4678
+ content: none;
4637
4679
  }
4638
4680
 
4639
- fieldset {
4640
- border: 0;
4681
+ .is-icon-text-replace[data-icon], .is-icon-text-replace[data-icon-leading] {
4682
+ font-size: 0 !important;
4641
4683
  }
4642
-
4643
- details > *,
4644
- details > ::before,
4645
- details > ::after {
4646
- box-sizing: var(--db-box-sizing, border-box);
4684
+ .is-icon-text-replace[data-icon-trailing] {
4685
+ font-size: 0 !important;
4647
4686
  }
4648
4687
 
4688
+ @font-face {
4689
+ font-display: block;
4690
+ font-family: icon-font-fallback;
4691
+ font-style: normal;
4692
+ font-weight: normal;
4693
+ src: url("data:application/octet-stream;base64,d09GMgABAAAAAALAAAsAAAAAB8gAAAJzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACFegoUPAE2AiQDCAsGAAQgBYUOBysbJAfIrjBu4YkWdj4mP/wNUwgBWAAK8Tz92uu5bzeIKpJ4PLCOwgJxKmxlVZUBVhLY/+63n6ZlVd+q+JYluo4VQv5R4ejdz9BP+Dk5hUpNjXBxv1sBaSJaC0igiNLJzS9wsNc8ihPOOIQQDhtwgIHHieM+PDyHi1tAAf8GeS/KbE3LojUWRgWST5B5exuFB3wIN0wv8NNgfEfQbtFccWvn4BgaN8+xh5YyNRvi/Ny8Zgjq3KNWw3iraG57bRo5Szkujxf+6fPVUqBoqqg37N5Cwoc5rzWOpudsgi8raEKFWaAmr+ojL1XKpCXtqeMq0KoPFcy58/oPRRSB1Op2NAA8R2mm1BqaRf4/kNsJOYtiI8CcJThDcI7gPMEFgosElwguE1whuEpwjeA6wQ2CmwS3CG4T3CG4S3CP4D7BA4KHBI8IHhM8IXhK8Izg+HBAAXXa8BOMJ38cKc/DzT/WMg9r1ILw5bU7Q/1vhVyEX53987Xt7P5KlNBG505O4806S401qeGyRnO7dvHDYvT6rJmO/t24W/TH5iq0N6GglrRp0mGZZv12aDfj8uYOA95U6jYx6h1QdPtAZdSvoJb802Q40mw00W4vc06H8XxNBN/VwbPzC2RtRmJzqMyDpVTYIXeKU5XyVfA4VFZ8ZFt5lYiVxOwF80czYtaoU3C41eRlytqAMYW1EtxbMsdxP7bsyp4IDlaEwOvSvpXDv5xYVoYIG4cU44FFUuue6ytPKUluxTaPhnoGvQTbVt9TmTBF/jzzAuUeGSOMaUhLAgdtjWRVo0QCFMt3rSkC61n2CEVjfT1Ot7X21uR1ipQK7baUlFQyBwAAAAA=");
4694
+ }
4649
4695
  /* 224px */
4650
4696
  @property --db-container-3xs {
4651
4697
  syntax: "*";