[angular-18 | WIP] upgrade angular material to v18 - automatic changes in material.scss
This commit is contained in:
parent
ee1a55a529
commit
eb0051dc34
|
@ -40,16 +40,16 @@ $warn-color: (
|
|||
900: #BD640D,
|
||||
contrast: (50: #ffffff)
|
||||
);
|
||||
$my-app-primary: mat.define-palette($primary-color);
|
||||
$my-app-accent: mat.define-palette($secondary-color);
|
||||
$my-app-warn: mat.define-palette($warn-color);
|
||||
$my-app-theme: mat.define-light-theme((
|
||||
$my-app-primary: mat.m2-define-palette($primary-color);
|
||||
$my-app-accent: mat.m2-define-palette($secondary-color);
|
||||
$my-app-warn: mat.m2-define-palette($warn-color);
|
||||
$my-app-theme: mat.m2-define-light-theme((
|
||||
color: (
|
||||
primary: $my-app-primary,
|
||||
accent: $my-app-accent,
|
||||
warn: $my-app-warn
|
||||
),
|
||||
typography: mat.define-typography-config(),
|
||||
typography: mat.m2-define-typography-config(),
|
||||
density: 0,
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue