File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/material-experimental/mdc-slider Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ sass_library(
38
38
deps = [
39
39
"//src/cdk/a11y:a11y_scss_lib" ,
40
40
"//src/material-experimental/mdc-helpers:mdc_helpers_scss_lib" ,
41
+ "//src/material-experimental/mdc-helpers:mdc_scss_deps_lib" ,
41
42
],
42
43
)
43
44
Original file line number Diff line number Diff line change 1
1
@use ' @material/slider/slider' as mdc-slider ;
2
2
@use ' @material/slider/slider-theme' ;
3
+ @use ' @material/theme/variables' as theme-variables ;
3
4
@use ' ../mdc-helpers/mdc-helpers' ;
4
5
@use ' ../../material/core/ripple/ripple' ;
5
6
@use ' ../../material/core/theming/theming' ;
106
107
),
107
108
$query : mdc-helpers .$mat-theme-styles-query
108
109
);
109
- @include ripple .color ((
110
+ @include ripple .theme ((
110
111
foreground: (
111
- base: mdc- theme-prop-value ($color )
112
+ base: theme-variables . prop-value ($color )
112
113
),
113
114
));
114
115
.mat-mdc-slider-hover-ripple {
115
- background-color : rgba (mdc- theme-prop-value ($color ), 0.05 );
116
+ background-color : rgba (theme-variables . prop-value ($color ), 0.05 );
116
117
}
117
118
.mat-mdc-slider-focus-ripple , .mat-mdc-slider-active-ripple {
118
- background-color : rgba (mdc- theme-prop-value ($color ), 0.2 );
119
+ background-color : rgba (theme-variables . prop-value ($color ), 0.2 );
119
120
}
120
121
}
You can’t perform that action at this time.
0 commit comments