Skip to content

Commit 30a5366

Browse files
authored
Merge pull request #471 from leandroguimaraes/master
Small improvements for theming
2 parents 0084007 + d186d8e commit 30a5366

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

angular/src/account/account.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ export class AccountComponent extends AppComponentBase implements OnInit {
3131
}
3232

3333
ngOnInit(): void {
34-
$('body').attr('class', 'login-page');
34+
$('body').addClass('login-page');
3535
}
3636
}

angular/src/shared/core.less

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@light-blue: #03A9F4;
88
@cyan: #00BCD4;
99
@teal: #009688;
10-
@indigo: #3F51B5;
1110
@green: #4CAF50;
1211
@light-green: #8BC34A;
1312
@lime: #CDDC39;
@@ -82,7 +81,7 @@
8281
.mat-flat-button.mat-primary:not([disabled]),
8382
.mat-mini-fab.mat-primary:not([disabled]),
8483
.mat-raised-button.mat-primary:not([disabled]) {
85-
background-color: @color;
84+
background-color: @color !important;
8685
}
8786
.mat-form-field-invalid .mat-input-element,
8887
.mat-warn .mat-input-element {
@@ -137,10 +136,6 @@
137136
.make-theme(@teal)
138137
}
139138

140-
.theme-indigo {
141-
.make-theme(@indigo)
142-
}
143-
144139
.theme-green {
145140
.make-theme(@green)
146141
}

0 commit comments

Comments
 (0)