add angular material with custom font and custom theme
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user