From 752859b10d3e110fdc9a4360bb7cb005ef6225ed Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 23 Jun 2022 19:44:50 +0300 Subject: [PATCH] Add material in library-css --- library-css/material.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 library-css/material.scss diff --git a/library-css/material.scss b/library-css/material.scss new file mode 100644 index 0000000..1bc675e --- /dev/null +++ b/library-css/material.scss @@ -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; +}