@@ -35,7 +35,7 @@ $_disable-color-backwards-compatibility: false;
35
35
$_emitted-color : () !default ;
36
36
$_emitted-typography : () !default ;
37
37
$_emitted-density : () !default ;
38
- $_emitted-other : () !default ;
38
+ $_emitted-base : () !default ;
39
39
40
40
/// Extracts a color from a palette or throws an error if it doesn't exist.
41
41
/// @param {Map} $palette The palette from which to extract a color.
@@ -387,13 +387,13 @@ $_internals: _mat-theming-internals-do-not-access;
387
387
density- scale: map .get ($theme-or-color-config , $_internals , density-scale ),
388
388
density- tokens: map .get ($theme-or-color-config , $_internals , density-tokens ),
389
389
));
390
- $other -settings : _strip-empty-settings ((
391
- other - tokens: map .get ($theme-or-color-config , $_internals , other -tokens ),
390
+ $base -settings : _strip-empty-settings ((
391
+ base - tokens: map .get ($theme-or-color-config , $_internals , base -tokens ),
392
392
));
393
393
$previous-color-settings : map .get ($_emitted-color , $id ) or ();
394
394
$previous-typography-settings : map .get ($_emitted-typography , $id ) or ();
395
395
$previous-density-settings : map .get ($_emitted-density , $id ) or ();
396
- $previous-other -settings : map .get ($_emitted-other , $id ) or ();
396
+ $previous-base -settings : map .get ($_emitted-base , $id ) or ();
397
397
398
398
// Check if the color configuration has been generated before.
399
399
@if $color-settings != null {
@@ -422,19 +422,19 @@ $_internals: _mat-theming-internals-do-not-access;
422
422
$previous-density-settings : list .append ($previous-density-settings , $density-settings );
423
423
}
424
424
425
- // Check if the other configuration has been generated before.
426
- @if $other -settings != null {
427
- @if list .index ($previous-other -settings , $other -settings ) != null and
425
+ // Check if the base configuration has been generated before.
426
+ @if $base -settings != null {
427
+ @if list .index ($previous-base -settings , $base -settings ) != null and
428
428
not $theme-ignore-duplication-warnings {
429
429
@warn ' The same base theme styles are generated multiple times. ' + $_duplicate-warning ;
430
430
}
431
- $previous-other -settings : list .append ($previous-other -settings , $other -settings );
431
+ $previous-base -settings : list .append ($previous-base -settings , $base -settings );
432
432
}
433
433
434
434
$_emitted-color : map .set ($_emitted-color , $id , $previous-color-settings ) !global;
435
435
$_emitted-density : map .set ($_emitted-density , $id , $previous-density-settings ) !global;
436
436
$_emitted-typography : map .set ($_emitted-typography , $id , $previous-typography-settings ) !global;
437
- $_emitted-other : map .set ($_emitted-other , $id , $previous-other -settings ) !global;
437
+ $_emitted-base : map .set ($_emitted-base , $id , $previous-base -settings ) !global;
438
438
439
439
@content ;
440
440
}
0 commit comments