Skip to content

Commit

Permalink
feat(style): ajust font, theme with libs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Oct 30, 2019
1 parent 72e5ccf commit d46e49a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/pages/portal/sidenav/sidenav.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
</button> -->

<igo-toolbox
color="primary"
[animate]="true"
[toolbox]="toolbox">
</igo-toolbox>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/portal/sidenav/sidenav.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ igo-panel ::ng-deep .igo-panel-content {


div.toolActivated > igo-panel ::ng-deep > div.igo-panel-header {
margin-left: 48px;
margin-left: 50px;
position: relative;
}

Expand Down
7 changes: 7 additions & 0 deletions src/app/pages/portal/sidenav/sidenav.theming.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
@mixin app-sidenav-theming($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$foreground: map-get($theme, foreground);

app-sidenav #homeButton {
background-color: mat-color($primary);

&:hover {
background-color: mat-color($accent, lighter);
color: mat-color($foreground, text);
}
}
}

0 comments on commit d46e49a

Please sign in to comment.