@db-ux/core-components 4.2.1 → 4.2.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.
@@ -101,15 +101,15 @@ $db-min-inline-size: var(
101
101
 
102
102
  @mixin set-floating-label-overwrites($selector) {
103
103
  &[data-variant="floating"] {
104
- @include get-validity($selector) {
104
+ @include get-validity($selector, "valid") {
105
105
  label {
106
- color: var(--db-successful-on-bg-basic-emphasis-80-default);
106
+ color: var(--db-successful-on-bg-basic-emphasis-90-default);
107
107
  }
108
108
  }
109
109
 
110
110
  @include get-validity($selector, "invalid") {
111
111
  label {
112
- color: var(--db-critical-on-bg-basic-emphasis-80-default);
112
+ color: var(--db-critical-on-bg-basic-emphasis-90-default);
113
113
  }
114
114
  }
115
115
 
@@ -376,13 +376,8 @@ $input-valid-types:
376
376
 
377
377
  @include set-floating-label-overwrites($selector);
378
378
 
379
- @include get-validity($selector) {
380
- &:has(
381
- > .db-infotext[data-semantic="successful"],
382
- > db-infotext > .db-infotext[data-semantic="successful"]
383
- ) {
384
- @include get-validity-color($selector, "valid");
385
- }
379
+ @include get-validity($selector, "valid") {
380
+ @include get-validity-color($selector, "valid");
386
381
  }
387
382
 
388
383
  @include get-validity($selector, "invalid") {