ng update @angular/material@18
This commit is contained in:
1652
pdb-js/package-lock.json
generated
1652
pdb-js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -15,12 +15,12 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^18.1.2",
|
||||
"@angular/cdk": "^17.3.10",
|
||||
"@angular/cdk": "^18.1.2",
|
||||
"@angular/common": "^18.1.2",
|
||||
"@angular/compiler": "^18.1.2",
|
||||
"@angular/core": "^18.1.2",
|
||||
"@angular/forms": "^18.1.2",
|
||||
"@angular/material": "^17.3.10",
|
||||
"@angular/material": "^18.1.2",
|
||||
"@angular/platform-browser": "^18.1.2",
|
||||
"@angular/platform-browser-dynamic": "^18.1.2",
|
||||
"@angular/router": "^18.1.2",
|
||||
|
||||
@@ -20,15 +20,15 @@
|
||||
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
||||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
||||
// hue. Available color palettes: https://material.io/design/color/
|
||||
$candy-app-primary: mat.define-palette(mat.$blue-palette);
|
||||
$candy-app-accent: mat.define-palette(mat.$blue-palette, A200, A100, A400);
|
||||
$candy-app-primary: mat.m2-define-palette(mat.$m2-blue-palette);
|
||||
$candy-app-accent: mat.m2-define-palette(mat.$m2-blue-palette, A200, A100, A400);
|
||||
|
||||
// The warn palette is optional (defaults to red).
|
||||
$candy-app-warn: mat.define-palette(mat.$red-palette);
|
||||
$candy-app-warn: mat.m2-define-palette(mat.$m2-red-palette);
|
||||
|
||||
// Create the theme object. A theme consists of configurations for individual
|
||||
// theming systems such as "color" or "typography".
|
||||
$candy-app-theme: mat.define-light-theme((
|
||||
$candy-app-theme: mat.m2-define-light-theme((
|
||||
color: (
|
||||
primary: $candy-app-primary,
|
||||
accent: $candy-app-accent,
|
||||
@@ -198,7 +198,7 @@ app-add-text-dialog .mat-mdc-form-field-subscript-wrapper {
|
||||
|
||||
.errorPanel {
|
||||
padding: 1ex;
|
||||
background-color: map-get(mat.$red-palette, 100);
|
||||
background-color: map-get(mat.$m2-red-palette, 100);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user