File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 126
126
127
127
> .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron ,
128
128
> .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
129
- border-color : theming .get-color-from-palette ($background-color , default-contrast , 0.4 );
129
+ // Set the color opacity via `opacity`, rather than `rgba`, because it may be a CSS variable.
130
+ border-color : theming .get-color-from-palette ($background-color , default-contrast , 1 );
131
+ opacity : 0.4 ;
130
132
}
131
133
132
134
// Set ripples color to be the contrast color of the new background. Otherwise the ripple
133
135
// color will be based on the app background color.
134
136
> .mat-tab-header .mat-ripple-element ,
135
137
> .mat-tab-link-container .mat-ripple-element ,
136
138
> .mat-tab-header-pagination .mat-ripple-element {
137
- background-color : theming .get-color-from-palette ($background-color , default-contrast , 0.12 );
139
+ // Set the color opacity via `opacity`, rather than `rgba`, because it may be a CSS variable.
140
+ background-color : theming .get-color-from-palette ($background-color , default-contrast , 1 );
141
+ opacity : 0.12 ;
138
142
}
139
143
}
140
144
You can’t perform that action at this time.
0 commit comments