This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 71
71
transition : mdc-elevation-overlay-transition-value ();
72
72
}
73
73
}
74
- }
75
74
76
- @include mdc-base-emit-once (" mdc-elevation/common/color" ) {
77
- @include mdc-elevation-overlay-fill-color ($mdc-elevation-overlay-color , $query : $query );
75
+ @include mdc-base-emit-once (" mdc-elevation/common/color" ) {
76
+ @include mdc-elevation-overlay-fill-color ($mdc-elevation-overlay-color , $query : $query );
77
+ }
78
78
}
79
79
}
80
80
135
135
136
136
///
137
137
/// Sets the elevation overlay fill color.
138
+ /// Expected to be called directly on the elevation overlay element.
138
139
///
139
140
/// @param {Color} $color - The color of the elevation overlay.
140
141
///
141
142
@mixin mdc-elevation-overlay-fill-color ($color , $query : mdc-feature-all ()) {
142
143
$feat-color : mdc-feature-create-target ($query , color );
143
144
144
- @include mdc-elevation-overlay-selector_ {
145
- @include mdc-feature-targets ($feat-color ) {
146
- @include mdc-theme-prop (background-color , $color );
147
- }
145
+ @include mdc-feature-targets ($feat-color ) {
146
+ @include mdc-theme-prop (background-color , $color );
148
147
}
149
148
}
150
149
151
150
///
152
151
/// Sets the elevation overlay opacity.
152
+ /// Expected to be called from a parent element.
153
153
///
154
154
/// @param {Number} $opacity - The opacity of the elevation overlay.
155
155
///
You can’t perform that action at this time.
0 commit comments