Commits

Yura authored 0ac2fc2168b
84367: Support light background in ds-truncatable-part
No tags

src/styles/_truncatable-part.component.scss

Modified
54 54 }
55 55
56 56 .clamp-primary-#{$i} {
57 57 @include clamp-with-titles($i, $primary);
58 58 }
59 59
60 60 :focus .clamp-primary-#{$i},
61 61 .ds-hover .clamp-primary-#{$i} {
62 62 @include clamp-with-titles($i, darken($primary, 10%));
63 63 }
64 +
65 + .clamp-light-#{$i} {
66 + @include clamp-with-titles($i, $light);
67 + }
68 +
69 + :focus .clamp-light-#{$i},
70 + .ds-hover .clamp-light-#{$i} {
71 + @include clamp-with-titles($i, darken($light, 10%));
72 + }
64 73 }
65 74
66 75 .clamp-none {
67 76 overflow: hidden;
68 77 @for $i from 1 through 15 {
69 78 &.fixedHeight.min-#{$i} {
70 79 transition: height 1s;
71 80 @include min($i);
72 81 &.title {
73 82 @include min($i, 1.25);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut