File tree Expand file tree Collapse file tree 3 files changed +12
-20
lines changed
projects/igniteui-angular/src/lib/core/styles/components/icon-button Expand file tree Collapse file tree 3 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 154154 @if not ($focus-border-color ) and $focus-background {
155155 $focus-border-color : hsla (from var (--focus-background ) h s l / 0.3 );
156156 }
157- } @else {
157+ } @else if $variant == ' bootstrap ' {
158158 @if not ($disabled-background ) and $background {
159159 $disabled-background : hsla (from var (--background ) h s l / 0.2 );
160160 }
Original file line number Diff line number Diff line change 133133 $focus-hover-foreground : var (--hover-foreground );
134134 }
135135
136+ @if not ($disabled-foreground ) and $foreground {
137+ $disabled-foreground : hsla (from var (--foreground ) h s l / 0.5 );
138+ }
139+
136140 @if $variant == ' bootstrap' {
137141 @if not ($active-foreground ) and $foreground {
138142 $active-foreground : hsl (from var (--foreground ) h s calc (l * 0.7 ));
152156 }
153157 }
154158
155- @if not ($disabled-foreground ) and $foreground {
156- $disabled-foreground : hsla (from var (--foreground ) h s l / 0.5 );
157- }
158-
159- @if $variant == ' fluent' {
160- @if not ($disabled-background ) and $foreground {
161- $disabled-background : hsla (from var (--foreground ) h s l / 0.1 );
162- }
163- }
164-
165159 @return extend (
166160 $theme ,
167161 (
Original file line number Diff line number Diff line change 111111 @if not ($border-color ) and $foreground {
112112 $border-color : hsla (from var (--foreground ) h s l / 0.7 );
113113 }
114-
115- @if not ($disabled-background ) and $foreground {
116- $disabled-background : hsla (from var (--foreground ) h s l / 0.1 );
117- }
118114 }
119115 }
120116
194190 }
195191 }
196192
197- @if not ($disabled-foreground ) and $foreground {
198- $disabled-foreground : hsla (from var (--foreground ) h s l / 0.5 );
199- }
193+ @if $variant == ' bootstrap' or $variant == ' indigo' {
194+ @if not ($disabled-foreground ) and $foreground {
195+ $disabled-foreground : hsla (from var (--foreground ) h s l / 0.5 );
196+ }
200197
201- @if not ($disabled-border-color ) and $border-color {
202- $disabled-border-color : hsla (from var (--border-color ) h s l / 0.2 );
198+ @if not ($disabled-border-color ) and $border-color {
199+ $disabled-border-color : hsla (from var (--border-color ) h s l / 0.2 );
200+ }
203201 }
204202
205203 @return extend (
You can’t perform that action at this time.
0 commit comments