Skip to content

Commit

Permalink
chore(deps): ⬆️ update nx monorepo to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed May 26, 2024
1 parent a634f89 commit 34bde80
Show file tree
Hide file tree
Showing 5 changed files with 3,116 additions and 1,512 deletions.
8 changes: 4 additions & 4 deletions libs/pages/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@helderberg-pirates-baseball/pages-landing",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^17.0.3",
"@angular/core": "^17.0.3",
"@angular/router": "^17.0.3",
"@angular/material": "^17.0.1"
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/router": "^18.0.0",
"@angular/material": "^18.0.0"
},
"dependencies": {},
"sideEffects": false
Expand Down
8 changes: 4 additions & 4 deletions libs/pages/not-found/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@helderberg-pirates-baseball/pages/not-found",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^17.0.3",
"@angular/core": "^17.0.3",
"@angular/material": "^17.0.1",
"@angular/router": "^17.0.3"
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/material": "^18.0.0",
"@angular/router": "^18.0.0"
},
"dependencies": {},
"sideEffects": false
Expand Down
18 changes: 9 additions & 9 deletions libs/shared/styles/src/lib/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@

@include mat.core();

$primary-palette: mat.define-palette(mat.$indigo-palette);
$accent-palette: mat.define-palette(mat.$grey-palette);
$primary-palette: mat.m2-define-palette(mat.$m2-indigo-palette);
$accent-palette: mat.m2-define-palette(mat.$m2-grey-palette);

// Define a dark theme
$dark-theme: mat.define-dark-theme(
$dark-theme: mat.m2-define-dark-theme(
(
color: (
primary: $primary-palette,
accent: $accent-palette,
),
// Only include `typography` and `density` in the default dark theme.
typography: mat.define-typography-config(),
typography: mat.m2-define-typography-config(),
density: 0,
)
);

$primary-color: mat.get-color-from-palette($primary-palette);
$primary-contrast: mat.get-color-from-palette($primary-palette, default-contrast);
$accent-color: mat.get-color-from-palette($accent-palette);
$accent-contrast: mat.get-color-from-palette($accent-palette, default-contrast);
$primary-color: mat.m2-get-color-from-palette($primary-palette);
$primary-contrast: mat.m2-get-color-from-palette($primary-palette, default-contrast);
$accent-color: mat.m2-get-color-from-palette($accent-palette);
$accent-contrast: mat.m2-get-color-from-palette($accent-palette, default-contrast);

// Define a light theme
$light-theme: mat.define-light-theme(
$light-theme: mat.m2-define-light-theme(
(
color: (
primary: $primary-palette,
Expand Down
Loading

0 comments on commit 34bde80

Please sign in to comment.