File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
// Mixin that renders all of the core styles that are not theme-dependent.
9
9
@mixin core () {
10
+ // TODO: Move ripple styles to be dynamically loaded instead of in core.
11
+ // This variable is used as a fallback for the ripple element's
12
+ // background color. However, if it isn't defined anywhere, then MSS
13
+ // complains in its verification stage.
14
+ html {
15
+ --mat-app-on-surface : initial ;
16
+ }
17
+
10
18
@include ripple .ripple ();
11
19
@include cdk .a11y-visually-hidden ();
12
20
@include cdk .overlay ();
Original file line number Diff line number Diff line change @@ -113,11 +113,7 @@ $_system-fallbacks: m3-tokens.create-system-fallbacks();
113
113
@return _create-var ($sys-fallback , $fallback );
114
114
}
115
115
116
- // TODO(mat-app-theme): Return the system-level fallback.
117
- // Changing this will affect clients that do not properly call theme mixins since the tokens
118
- // will be undefined and now default to M3 system values, causing a number of screenshot failures.
119
- // @return $sys-fallback;
120
- @return $fallback ;
116
+ @return $sys-fallback ;
121
117
}
122
118
123
119
// Outputs a map of tokens under a specific prefix.
You can’t perform that action at this time.
0 commit comments