Fix material.scss colors and remove import-variables in library less

This commit is contained in:
Konstantinos Triantafyllou 2022-07-17 23:27:27 +03:00
parent 9a1209353f
commit bb96e1c48f
2 changed files with 4 additions and 10 deletions

2
less/_import.less vendored
View File

@ -1,5 +1,3 @@
@import (reference) "~src/assets/openaire-theme/less/_import-variables";
@import "general";
@import "user";
@import "landing";

View File

@ -1,16 +1,12 @@
@import '../../../../node_modules/@angular/material/theming';
@include mat-core();
$primary-color: (
0: var(--primary-color),
contrast: (
50: var(--contrast-color)
)
0: #211F7E,
contrast: (50: #ffffff)
);
$secondary-color: (
0: var(--secondary-color),
contrast: (
50: var(--contrast-color)
)
0: #3086ED,
contrast: (50: #ffffff)
);
$my-app-primary: mat-palette($primary-color, 0);
$my-app-accent: mat-palette($secondary-color, 0);