This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7171 transition : mdc-elevation-overlay-transition-value ();
7272 }
7373 }
74- }
7574
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+ }
7878 }
7979}
8080
135135
136136///
137137/// Sets the elevation overlay fill color.
138+ /// Expected to be called directly on the elevation overlay element.
138139///
139140/// @param {Color} $color - The color of the elevation overlay.
140141///
141142@mixin mdc-elevation-overlay-fill-color ($color , $query : mdc-feature-all ()) {
142143 $feat-color : mdc-feature-create-target ($query , color );
143144
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 );
148147 }
149148}
150149
151150///
152151/// Sets the elevation overlay opacity.
152+ /// Expected to be called from a parent element.
153153///
154154/// @param {Number} $opacity - The opacity of the elevation overlay.
155155///
You can’t perform that action at this time.
0 commit comments