Angular & UIkit Upgrade #5
|
@ -1,6 +1,6 @@
|
|||
@use '@angular/material' as mat;
|
||||
@use '@angular/material/theming';
|
||||
@include mat.core();
|
||||
|
||||
$primary-color: (
|
||||
0: #211F7E,
|
||||
100: #211F7E,
|
||||
|
@ -13,12 +13,27 @@ $secondary-color: (
|
|||
700: #3086ED,
|
||||
contrast: (50: #ffffff)
|
||||
);
|
||||
$warn-color: (
|
||||
0: #BD640D,
|
||||
100: #BD640D,
|
||||
700: #BD640D,
|
||||
contrast: (50: #ffffff)
|
||||
);
|
||||
$my-app-primary: mat.define-palette($primary-color, 0);
|
||||
$my-app-accent: mat.define-palette($secondary-color, 0);
|
||||
$my-app-theme: mat.define-light-theme($my-app-primary, $my-app-accent);
|
||||
$my-app-accent: mat.define-palette($secondary-color, 0);
|
||||
$my-app-warn: mat.define-palette($warn-color, 0);
|
||||
$my-app-theme: mat.define-light-theme((
|
||||
color: (
|
||||
primary: $my-app-primary,
|
||||
accent: $my-app-accent,
|
||||
warn: $my-app-warn
|
||||
),
|
||||
typography: mat.define-typography-config(),
|
||||
density: 0,
|
||||
));
|
||||
|
||||
@include mat.all-component-themes($my-app-theme);
|
||||
|
||||
.cdk-global-overlay-wrapper, .cdk-overlay-container {
|
||||
z-index: 9999!important;
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue