@import '~@angular/material/theming'; /** Custom component theme. Only lives in a specific scope */ @mixin os-site-theme($theme) { $primary: map-get($theme, primary); $accent: map-get($theme, accent); $warn: map-get($theme, accent); $foreground: map-get($theme, foreground); $background: map-get($theme, background); os-site { /* main background color */ .main-container { background-color: $os-background; } .nav-toolbar { background-color: mat-color($background, card); //TODO } /* seperator */ mat-nav-list.main-nav, mat-divider { border-top-color: $os-outline; } /** style and align the nav icons the icons*/ .main-nav, .user-menu { mat-icon { color: mat-color($foreground, icon); } span { color: mat-color($foreground, text); } } /** style the active link */ .active { mat-icon { color: $os-primary; } span { color: $os-primary; } } } }