diff --git a/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html b/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html index f85fbd4d..c9b212ab 100644 --- a/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html +++ b/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html @@ -7,7 +7,7 @@ @@ -28,7 +28,7 @@ diff --git a/src/@fuse/components/navigation/vertical/item/item.component.html b/src/@fuse/components/navigation/vertical/item/item.component.html index 927f3cb3..1cedfb65 100644 --- a/src/@fuse/components/navigation/vertical/item/item.component.html +++ b/src/@fuse/components/navigation/vertical/item/item.component.html @@ -2,7 +2,7 @@ @@ -22,7 +22,7 @@ diff --git a/src/@fuse/scss/partials/_colors.scss b/src/@fuse/scss/partials/_colors.scss index 9b7bc22f..7b98456d 100644 --- a/src/@fuse/scss/partials/_colors.scss +++ b/src/@fuse/scss/partials/_colors.scss @@ -227,6 +227,35 @@ $matColorHues: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400 } } +@mixin generateFuseColorClasses($primary, $accent, $warn) { + + $colorMap: ( + primary: $primary, + accent: $accent, + warn: $warn + ); + + // Generate the color classes... + @each $name, $map in $colorMap { + + @each $hue in $matColorHues { + + $color: map-get($map, $hue); + $contrastColor: map-get(map-get($map, 'contrast'), $hue); + + @if ($color != null and $contrastColor != null) { + + @include generateColorClasses($name, $color, $contrastColor, '-#{$hue}'); + + // Run the generator one more time for default values (500) + @if ($hue == 500) { + @include generateColorClasses($name, $color, $contrastColor, ''); + } + } + } + } +} + // Generate the color classes... @each $colorName, $colorMap in $matColorsMap { diff --git a/src/@fuse/scss/partials/_navigation.scss b/src/@fuse/scss/partials/_navigation.scss index 4e52dc95..468add93 100644 --- a/src/@fuse/scss/partials/_navigation.scss +++ b/src/@fuse/scss/partials/_navigation.scss @@ -72,14 +72,14 @@ } &.active { - background-color: mat-color($accent); + //background-color: mat-color($accent); .mat-ripple-element { - background-color: mat-color($accent, default-contrast, 0.1); + //background-color: mat-color($accent, default-contrast, 0.1); } &, .nav-link-icon { - color: mat-color($accent, default-contrast); + //color: mat-color($accent, default-contrast); } .nav-link-badge { diff --git a/src/app/main/apps/chat/chat-start/chat-start.component.html b/src/app/main/apps/chat/chat-start/chat-start.component.html index 77c6eb9e..50ad6b3d 100644 --- a/src/app/main/apps/chat/chat-start/chat-start.component.html +++ b/src/app/main/apps/chat/chat-start/chat-start.component.html @@ -3,13 +3,15 @@ Chat App - Select contact to start the chat!.. + + Select contact to start the chat!.. + diff --git a/src/app/main/apps/mail-ngrx/sidenavs/main/main-sidenav.component.html b/src/app/main/apps/mail-ngrx/sidenavs/main/main-sidenav.component.html index a3d8f041..a858a439 100644 --- a/src/app/main/apps/mail-ngrx/sidenavs/main/main-sidenav.component.html +++ b/src/app/main/apps/mail-ngrx/sidenavs/main/main-sidenav.component.html @@ -1,6 +1,6 @@
+ class="header mat-accent-bg p-24 pb-4">