Migrate material components
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
@use "@angular/material" as mat;
|
||||
|
||||
@include mat.core();
|
||||
|
||||
$my-app-primary: mat.define-palette(mat.$indigo-palette);
|
||||
$my-app-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
||||
$my-app-warn: mat.define-palette(mat.$red-palette);
|
||||
|
||||
$my-app-theme: mat.define-light-theme(
|
||||
(
|
||||
color: (
|
||||
primary: $my-app-primary,
|
||||
accent: $my-app-accent,
|
||||
warn: $my-app-warn,
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
@include mat.all-component-themes($my-app-theme);
|
||||
|
||||
|
||||
html, body { height: 100%; }
|
||||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user