Add material in library-css
This commit is contained in:
parent
d6fd642f21
commit
752859b10d
|
@ -0,0 +1,23 @@
|
||||||
|
@import '../../../../node_modules/@angular/material/theming';
|
||||||
|
@include mat-core();
|
||||||
|
$primary-color: (
|
||||||
|
0: var(--primary-color),
|
||||||
|
contrast: (
|
||||||
|
50: var(--contrast-color)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$secondary-color: (
|
||||||
|
0: var(--secondary-color),
|
||||||
|
contrast: (
|
||||||
|
50: var(--contrast-color)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
$my-app-primary: mat-palette($primary-color, 0);
|
||||||
|
$my-app-accent: mat-palette($secondary-color, 0);
|
||||||
|
$my-app-theme: mat-light-theme($my-app-primary, $my-app-accent);
|
||||||
|
|
||||||
|
@include angular-material-theme($my-app-theme);
|
||||||
|
|
||||||
|
.cdk-global-overlay-wrapper, .cdk-overlay-container {
|
||||||
|
z-index: 9999!important;
|
||||||
|
}
|
Loading…
Reference in New Issue