@db-ux/core-components 2.1.1 → 2.1.2

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.
Files changed (54) hide show
  1. package/build/components/accordion/accordion.css +1 -0
  2. package/build/components/accordion-item/accordion-item.css +2 -1
  3. package/build/components/accordion-item/accordion-item.scss +1 -1
  4. package/build/components/badge/badge.css +1 -0
  5. package/build/components/brand/brand.css +1 -0
  6. package/build/components/button/button.css +2 -1
  7. package/build/components/button/button.scss +1 -1
  8. package/build/components/card/card.css +1 -0
  9. package/build/components/checkbox/checkbox.css +2 -1
  10. package/build/components/custom-select/custom-select.css +12 -12
  11. package/build/components/custom-select/custom-select.scss +2 -2
  12. package/build/components/custom-select-dropdown/custom-select-dropdown.css +1 -0
  13. package/build/components/custom-select-form-field/custom-select-form-field.css +1 -0
  14. package/build/components/custom-select-list/custom-select-list.css +1 -0
  15. package/build/components/custom-select-list-item/custom-select-list-item.css +1 -0
  16. package/build/components/divider/divider.css +1 -0
  17. package/build/components/drawer/drawer.css +4 -4
  18. package/build/components/header/header.css +1 -0
  19. package/build/components/icon/icon.css +1 -0
  20. package/build/components/infotext/infotext.css +1 -0
  21. package/build/components/input/input.css +5 -4
  22. package/build/components/link/link.css +2 -1
  23. package/build/components/navigation/navigation.css +1 -0
  24. package/build/components/navigation-item/navigation-item.css +2 -1
  25. package/build/components/navigation-item/navigation-item.scss +1 -1
  26. package/build/components/notification/notification.css +2 -1
  27. package/build/components/page/page.css +1 -0
  28. package/build/components/popover/popover.css +1 -0
  29. package/build/components/radio/radio.css +2 -1
  30. package/build/components/section/section.css +1 -0
  31. package/build/components/select/select.css +5 -4
  32. package/build/components/stack/stack-web-component.css +1 -0
  33. package/build/components/stack/stack.css +1 -0
  34. package/build/components/switch/switch.css +2 -1
  35. package/build/components/tab-item/tab-item.css +2 -1
  36. package/build/components/tab-item/tab-item.scss +1 -1
  37. package/build/components/tab-list/tab-list.css +1 -0
  38. package/build/components/tab-panel/tab-panel.css +1 -0
  39. package/build/components/tabs/tabs.css +1 -0
  40. package/build/components/tag/tag.css +2 -1
  41. package/build/components/tag/tag.scss +1 -1
  42. package/build/components/textarea/textarea.css +5 -4
  43. package/build/components/tooltip/tooltip.css +1 -0
  44. package/build/styles/absolute.css +7 -7
  45. package/build/styles/dialog-init.css +1 -1
  46. package/build/styles/dialog-init.scss +12 -7
  47. package/build/styles/index.css +7 -7
  48. package/build/styles/internal/_component.scss +0 -3
  49. package/build/styles/internal/_form-components.scss +5 -5
  50. package/build/styles/internal/_link-components.scss +1 -1
  51. package/build/styles/relative.css +7 -7
  52. package/build/styles/rollup.css +7 -7
  53. package/build/styles/webpack.css +7 -7
  54. package/package.json +3 -3
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -285,7 +286,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
285
286
  }
286
287
  .db-accordion-item > details[aria-disabled=true] {
287
288
  pointer-events: none;
288
- opacity: 0.4;
289
+ opacity: var(--db-opacity-md);
289
290
  }
290
291
  @media screen and (prefers-reduced-motion: no-preference) {
291
292
  .db-accordion-item > details > summary + div {
@@ -26,7 +26,7 @@
26
26
 
27
27
  &[aria-disabled="true"] {
28
28
  pointer-events: none;
29
- opacity: component.$default-disabled;
29
+ opacity: variables.$db-opacity-md;
30
30
  }
31
31
 
32
32
  @media screen and (prefers-reduced-motion: no-preference) {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -236,7 +237,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
236
237
  background-color: var(--db-adaptive-bg-basic-transparent-semi-default);
237
238
  }
238
239
  .db-button:disabled {
239
- opacity: 0.4;
240
+ opacity: var(--db-opacity-md);
240
241
  }
241
242
  .db-button[data-state=loading] {
242
243
  font-size: 0 !important;
@@ -98,7 +98,7 @@
98
98
  }
99
99
 
100
100
  &:disabled {
101
- opacity: component.$default-disabled;
101
+ opacity: variables.$db-opacity-md;
102
102
  }
103
103
 
104
104
  // States (currently only "loading")
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -218,7 +219,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
218
219
  }
219
220
  }
220
221
  .db-checkbox:has(input:disabled) {
221
- opacity: 0.4;
222
+ opacity: var(--db-opacity-md);
222
223
  }
223
224
  .db-checkbox:is(label),
224
225
  .db-checkbox > label {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-custom-select[data-hide-label=true] > label, .db-visually-hidden,
@@ -768,14 +769,13 @@ dialog[data-variant=inside]:not([data-backdrop=none])::before {
768
769
  inset: 0;
769
770
  }
770
771
  dialog:not([data-backdrop=none])::backdrop, dialog:not([data-backdrop=none])::before {
771
- background-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
772
- opacity: 0.64;
772
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
773
773
  }
774
774
  dialog:not([data-backdrop=none])[data-backdrop=invisible]::backdrop, dialog:not([data-backdrop=none])[data-backdrop=invisible]::before {
775
- opacity: 0;
775
+ background-color: transparent;
776
776
  }
777
777
  dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data-backdrop=none])[data-backdrop=weak]::before {
778
- opacity: 0.32;
778
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-sm));
779
779
  }
780
780
 
781
781
  [data-placement^=top].db-custom-select .db-custom-select-dropdown:not([data-outside-vy=top]), .db-custom-select:not([data-placement]) .db-custom-select-dropdown[data-outside-vy=bottom], [data-placement^=bottom].db-custom-select .db-custom-select-dropdown[data-outside-vy=bottom] {
@@ -849,7 +849,7 @@ dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data
849
849
  --db-label-visible-above: 0;
850
850
  }
851
851
  .db-custom-select[data-variant=floating] > label {
852
- opacity: 0.75;
852
+ opacity: var(--db-opacity-xl);
853
853
  position: absolute;
854
854
  z-index: 2;
855
855
  inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
@@ -888,7 +888,7 @@ summary:is(input, textarea):not(:placeholder-shown),
888
888
  > select option:checked:not([hidden]),
889
889
  input[type=checkbox]:checked,
890
890
  input[type=radio]:checked) [id$=-placeholder] {
891
- opacity: 0.75;
891
+ opacity: var(--db-opacity-xl);
892
892
  font-family: var(--db-font-family-sans);
893
893
  font-style: italic;
894
894
  /* stylelint-disable-next-line db-ux/use-spacings */
@@ -1030,7 +1030,7 @@ input[type=radio]:checked) [id$=-placeholder] {
1030
1030
  }
1031
1031
  .db-custom-select summary::placeholder,
1032
1032
  .db-custom-select [id$=-placeholder] {
1033
- opacity: 0.75;
1033
+ opacity: var(--db-opacity-xl);
1034
1034
  font-family: var(--db-font-family-sans);
1035
1035
  font-style: italic;
1036
1036
  }
@@ -1076,7 +1076,7 @@ input[type=radio]:checked) [id$=-placeholder] {
1076
1076
  .db-custom-select:has(summary:disabled,
1077
1077
  summary[data-disabled=true],
1078
1078
  summary[aria-disabled=true]) {
1079
- opacity: 0.4;
1079
+ opacity: var(--db-opacity-md);
1080
1080
  pointer-events: none;
1081
1081
  }
1082
1082
  .db-custom-select::after, .db-custom-select::before {
@@ -1163,8 +1163,8 @@ summary[aria-disabled=true]) {
1163
1163
  inset: 0;
1164
1164
  content: "";
1165
1165
  cursor: default;
1166
- background-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
1167
- opacity: 0.64;
1166
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
1167
+ opacity: var(--db-opacity-lg);
1168
1168
  }
1169
1169
  @media screen and (max-width: 44.9375em) {
1170
1170
  .db-custom-select > details[open] > summary::before {
@@ -1173,8 +1173,8 @@ summary[aria-disabled=true]) {
1173
1173
  inset: 0;
1174
1174
  content: "";
1175
1175
  cursor: default;
1176
- background-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
1177
- opacity: 0.64;
1176
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
1177
+ opacity: var(--db-opacity-lg);
1178
1178
  }
1179
1179
  }
1180
1180
  .db-custom-select[data-variant=floating] .db-custom-select-form-field > span {
@@ -162,8 +162,8 @@
162
162
  inset: 0;
163
163
  content: "";
164
164
  cursor: default;
165
- background-color: dialog-init.$backdrop-color;
166
- opacity: dialog-init.$backdrop-opacity-strong;
165
+ background-color: dialog-init.$backdrop-color-strong;
166
+ opacity: variables.$db-opacity-lg;
167
167
  }
168
168
  }
169
169
  }
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-custom-select-list > legend, .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -142,14 +143,13 @@ dialog[data-variant=inside]:not([data-backdrop=none])::before {
142
143
  inset: 0;
143
144
  }
144
145
  dialog:not([data-backdrop=none])::backdrop, dialog:not([data-backdrop=none])::before {
145
- background-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
146
- opacity: 0.64;
146
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-lg));
147
147
  }
148
148
  dialog:not([data-backdrop=none])[data-backdrop=invisible]::backdrop, dialog:not([data-backdrop=none])[data-backdrop=invisible]::before {
149
- opacity: 0;
149
+ background-color: transparent;
150
150
  }
151
151
  dialog:not([data-backdrop=none])[data-backdrop=weak]::backdrop, dialog:not([data-backdrop=none])[data-backdrop=weak]::before {
152
- opacity: 0.32;
152
+ background-color: color(from var(--db-adaptive-on-bg-basic-emphasis-100-default) srgb r g b/var(--db-opacity-sm));
153
153
  }
154
154
 
155
155
  .db-drawer .db-drawer-container {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-input[data-hide-label=true] > label, .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -572,7 +573,7 @@ input[type=radio]:checked) > label {
572
573
  --db-label-visible-above: 0;
573
574
  }
574
575
  .db-input[data-variant=floating] > label {
575
- opacity: 0.75;
576
+ opacity: var(--db-opacity-xl);
576
577
  position: absolute;
577
578
  z-index: 2;
578
579
  inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
@@ -611,7 +612,7 @@ input:is(input, textarea):not(:placeholder-shown),
611
612
  > select option:checked:not([hidden]),
612
613
  input[type=checkbox]:checked,
613
614
  input[type=radio]:checked) [id$=-placeholder] {
614
- opacity: 0.75;
615
+ opacity: var(--db-opacity-xl);
615
616
  font-family: var(--db-font-family-sans);
616
617
  font-style: italic;
617
618
  }
@@ -751,7 +752,7 @@ input[type=radio]:checked) [id$=-placeholder] {
751
752
  }
752
753
  .db-input input::placeholder,
753
754
  .db-input [id$=-placeholder] {
754
- opacity: 0.75;
755
+ opacity: var(--db-opacity-xl);
755
756
  font-family: var(--db-font-family-sans);
756
757
  font-style: italic;
757
758
  }
@@ -797,7 +798,7 @@ input[type=radio]:checked) [id$=-placeholder] {
797
798
  .db-input:has(input:disabled,
798
799
  input[data-disabled=true],
799
800
  input[aria-disabled=true]) {
800
- opacity: 0.4;
801
+ opacity: var(--db-opacity-md);
801
802
  pointer-events: none;
802
803
  }
803
804
  .db-input::after, .db-input::before {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -291,7 +292,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
291
292
  border-radius: var(--db-border-radius-xs);
292
293
  }
293
294
  [aria-disabled=true].db-link {
294
- opacity: 0.4;
295
+ opacity: var(--db-opacity-md);
295
296
  pointer-events: none;
296
297
  }
297
298
 
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-visually-hidden,
9
10
  [data-visually-hidden=true] {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -432,7 +433,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
432
433
  --db-icon-margin-start: auto;
433
434
  }
434
435
  .db-navigation-item[aria-disabled=true] {
435
- opacity: 0.4;
436
+ opacity: var(--db-opacity-md);
436
437
  pointer-events: none;
437
438
  }
438
439
 
@@ -161,7 +161,7 @@
161
161
  }
162
162
 
163
163
  &[aria-disabled="true"] {
164
- opacity: component.$default-disabled;
164
+ opacity: variables.$db-opacity-md;
165
165
  pointer-events: none;
166
166
  }
167
167
  }
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-notification[data-semantic=neutral] {
@@ -1053,7 +1054,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
1053
1054
  border-radius: var(--db-border-radius-xs);
1054
1055
  }
1055
1056
  .db-notification a[aria-disabled=true] {
1056
- opacity: 0.4;
1057
+ opacity: var(--db-opacity-md);
1057
1058
  pointer-events: none;
1058
1059
  }
1059
1060
 
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-page-document {
9
10
  block-size: 100%;
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -162,7 +163,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
162
163
  }
163
164
  }
164
165
  .db-radio:has(input:disabled) {
165
- opacity: 0.4;
166
+ opacity: var(--db-opacity-md);
166
167
  }
167
168
  .db-radio:is(label),
168
169
  .db-radio > label {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-select[data-hide-label=true] > label, .db-visually-hidden,
@@ -618,7 +619,7 @@ input[type=radio]:checked) > label {
618
619
  --db-label-visible-above: 0;
619
620
  }
620
621
  .db-select[data-variant=floating] > label {
621
- opacity: 0.75;
622
+ opacity: var(--db-opacity-xl);
622
623
  position: absolute;
623
624
  z-index: 2;
624
625
  inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
@@ -657,7 +658,7 @@ select:is(input, textarea):not(:placeholder-shown),
657
658
  > select option:checked:not([hidden]),
658
659
  input[type=checkbox]:checked,
659
660
  input[type=radio]:checked) [id$=-placeholder] {
660
- opacity: 0.75;
661
+ opacity: var(--db-opacity-xl);
661
662
  font-family: var(--db-font-family-sans);
662
663
  font-style: italic;
663
664
  /* stylelint-disable-next-line db-ux/use-spacings */
@@ -799,7 +800,7 @@ input[type=radio]:checked) [id$=-placeholder] {
799
800
  }
800
801
  .db-select select::placeholder,
801
802
  .db-select [id$=-placeholder] {
802
- opacity: 0.75;
803
+ opacity: var(--db-opacity-xl);
803
804
  font-family: var(--db-font-family-sans);
804
805
  font-style: italic;
805
806
  }
@@ -845,7 +846,7 @@ input[type=radio]:checked) [id$=-placeholder] {
845
846
  .db-select:has(select:disabled,
846
847
  select[data-disabled=true],
847
848
  select[aria-disabled=true]) {
848
- opacity: 0.4;
849
+ opacity: var(--db-opacity-md);
849
850
  pointer-events: none;
850
851
  }
851
852
  .db-select::after, .db-select::before {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  @layer variables {}
@@ -5,6 +5,7 @@
5
5
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
6
6
  /* Elevation */
7
7
  /* Border */
8
+ /* Opacity */
8
9
  /* Transitions */
9
10
  /* Variants for adaptive components like input, select, notification, ... */
10
11
  .db-visually-hidden,
@@ -513,7 +514,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
513
514
  }
514
515
  }
515
516
  .db-switch:has(input:disabled) {
516
- opacity: 0.4;
517
+ opacity: var(--db-opacity-md);
517
518
  }
518
519
  .db-switch:is(label),
519
520
  .db-switch > label {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -144,7 +145,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
144
145
  border-radius: var(--db-border-radius-sm);
145
146
  }
146
147
  .db-tab-item:has(input:disabled) {
147
- opacity: 0.4;
148
+ opacity: var(--db-opacity-md);
148
149
  }
149
150
  .db-tab-item label {
150
151
  background-color: var(--db-adaptive-bg-basic-transparent-full-default);
@@ -18,7 +18,7 @@ $with-icon-padding-calc: calc(
18
18
  border-radius: variables.$db-border-radius-sm;
19
19
 
20
20
  &:has(input:disabled) {
21
- opacity: component.$default-disabled;
21
+ opacity: variables.$db-opacity-md;
22
22
  }
23
23
 
24
24
  label {
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-tab-panel {
9
10
  display: none;
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  /* Variants for adaptive components like input, select, notification, ... */
9
10
  .db-visually-hidden,
@@ -4,6 +4,7 @@
4
4
  paddings/gaps in an application e.g. the <main> should have a responsive padding. */
5
5
  /* Elevation */
6
6
  /* Border */
7
+ /* Opacity */
7
8
  /* Transitions */
8
9
  .db-tag label, .db-tag a {
9
10
  transition: outline var(--db-transition-duration-extra-fast), border-color var(--db-transition-straight-emotional), background-color var(--db-transition-straight-emotional);
@@ -1512,7 +1513,7 @@ paddings/gaps in an application e.g. the <main> should have a responsive padding
1512
1513
  block-size: inherit;
1513
1514
  }
1514
1515
  .db-tag:has(:disabled), .db-tag[data-disabled=true] {
1515
- opacity: 0.4;
1516
+ opacity: var(--db-opacity-md);
1516
1517
  pointer-events: none;
1517
1518
  }
1518
1519
  .db-tag[data-overflow=true] {
@@ -209,7 +209,7 @@
209
209
 
210
210
  &:has(:disabled),
211
211
  &[data-disabled="true"] {
212
- opacity: component.$default-disabled;
212
+ opacity: variables.$db-opacity-md;
213
213
  pointer-events: none;
214
214
  }
215
215