add angular material with custom font and custom theme

This commit is contained in:
2025-02-25 22:19:40 -05:00
parent 0c53121568
commit c29a207be5
6 changed files with 216 additions and 6 deletions

View File

@@ -1 +1,28 @@
/* You can add global styles to this file, and also import other style files */
// Custom Theming for Angular Material
// For more information: https://material.angular.io/guide/theming
@use "@angular/material" as mat;
@use "../theme-colors" as rc-theme;
html {
@include mat.theme(
(
color: (
theme-type: light,
primary: rc-theme.$primary-palette,
tertiary: rc-theme.$tertiary-palette,
),
typography: Inter,
density: 0,
)
);
} /* You can add global styles to this file, and also import other style files */
html,
body {
height: 100%;
}
body {
margin: 0;
font-family: Inter, sans-serif;
background-color: var(--mat-sys-surface);
}