Material Upgrade
This commit is contained in:
@@ -48,14 +48,14 @@ File: scss
|
||||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
||||
// hue. Available color palettes: https://material.io/design/color/
|
||||
|
||||
//$adastra_app-primary: mat.define-palette(mat.$light-green-palette);
|
||||
//$adastra_app-accent: mat.define-palette(mat.$blue-grey-palette, A200, A100, A400);
|
||||
//$adastra_app-warn: mat.define-palette(mat.$blue-palette);
|
||||
//$adastra_app-primary: mat.m2-define-palette(mat.$light-green-palette);
|
||||
//$adastra_app-accent: mat.m2-define-palette(mat.$blue-grey-palette, A200, A100, A400);
|
||||
//$adastra_app-warn: mat.m2-define-palette(mat.$blue-palette);
|
||||
|
||||
$adastra_app-primary: mat.m2-define-palette($md-custom-primary, 500);
|
||||
$adastra_app-secondary: mat.m2-define-palette($md-custom-warn);
|
||||
$adastra_app-accent: mat.m2-define-palette($md-custom-accent, A200, A100, A400);
|
||||
//$adastra_app-warn: mat.define-palette($md-custom-warn);
|
||||
//$adastra_app-warn: mat.m2-define-palette($md-custom-warn);
|
||||
$adastra_app-warn: mat.m2-define-palette($md-custom-raspberry, 400);
|
||||
$adastra_app-danger: mat.m2-define-palette($md-custom-red, 700);
|
||||
$adastra_app-success: mat.m2-define-palette($md-custom-green);
|
||||
@@ -101,7 +101,7 @@ $custom-typography: mat.m2-define-typography-config(
|
||||
|
||||
// Create the theme object. A theme consists of configurations for individual
|
||||
// theming systems such as "color" or "typography".
|
||||
//$adastra_app-theme: mat.define-dark-theme((
|
||||
//$adastra_app-theme: mat.m2-define-dark-theme((
|
||||
$adastra_app-theme: mat.m2-define-light-theme((
|
||||
color: (
|
||||
primary: $adastra_app-primary,
|
||||
@@ -138,7 +138,7 @@ $adastra_app-variants: (
|
||||
muted: $adastra_app-muted
|
||||
);
|
||||
/*
|
||||
$config: mat.get-color-config($adastra_app-theme);
|
||||
$config: mat.m2-get-color-config($adastra_app-theme);
|
||||
$foreground: map.get($config, foreground);
|
||||
$background: map.get($config, background);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user