Skip to content
Snippets Groups Projects
Commit 6b006aaf authored by Florent Poittevin's avatar Florent Poittevin
Browse files

refacto: use sass variable on --primary-color

parent f7f15286
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ body[theme=dlcm] {
@include angular-material-theme($dlcm-theme);
//$primary-palette: map-get($dlcm-theme, primary);
//--primary-color: mat-color($primary-palette, default, 1.0);
--primary-color: #0277bd; // Should be equal to $mat-yareta-primary : 500
--primary-color: #{map-get($primary, 800)};
--primary-color-lighter: #028dd6;
--primary-color-darker: #01579b;
--primary-color-darker: #{map-get($primary, 900)};
}
......@@ -91,7 +91,7 @@ $yareta-theme: mat-light-theme(
// that you are using.
body[theme=yareta] {
@include angular-material-theme($yareta-theme);
--primary-color: #a2c252; // Should be equal to $mat-yareta-primary : 500
--primary-color: #{map-get($mat-yareta-primary, 500)};
--primary-color-lighter: #b5c787;
--primary-color-darker: #7a9a4d;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment