source: trip-planner-front/node_modules/@angular/material/core/color/_all-color.scss@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 760 bytes
Line 
1@use '../theming/all-theme';
2@use '../theming/theming';
3
4// Includes all of the color styles.
5@mixin all-component-colors($config-or-theme) {
6 // In case a theme object has been passed instead of a configuration for
7 // the color system, extract the color config from the theme object.
8 $config: if(theming.private-is-theme-object($config-or-theme),
9 theming.get-color-config($config-or-theme), $config-or-theme);
10
11 @if $config == null {
12 @error 'No color configuration specified.';
13 }
14
15 @include all-theme.all-component-themes((
16 color: $config,
17 typography: null,
18 density: null,
19 ));
20}
21
22// @deprecated Use `all-component-colors`.
23@mixin angular-material-color($config-or-theme) {
24 @include all-component-colors($config-or-theme);
25}
Note: See TracBrowser for help on using the repository browser.