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 + chat Chat App - Select contact to start the chat!.. + + Select contact to start the chat!.. + Select contact to start the chat!.. diff --git a/src/app/main/apps/chat/chat-start/chat-start.component.scss b/src/app/main/apps/chat/chat-start/chat-start.component.scss index c6f0ad4d..3a6fb4ee 100644 --- a/src/app/main/apps/chat/chat-start/chat-start.component.scss +++ b/src/app/main/apps/chat/chat-start/chat-start.component.scss @@ -18,10 +18,6 @@ height: 160px; line-height: 160px; } - - mat-icon { - color: mat-color($accent); - } } .app-title { diff --git a/src/app/main/apps/chat/sidenavs/left/chats/chats.component.html b/src/app/main/apps/chat/sidenavs/left/chats/chats.component.html index b210bf42..c59c1e21 100644 --- a/src/app/main/apps/chat/sidenavs/left/chats/chats.component.html +++ b/src/app/main/apps/chat/sidenavs/left/chats/chats.component.html @@ -136,7 +136,7 @@ {{chat.lastMessageTime | date}} - {{chat.unread}} + {{chat.unread}} diff --git a/src/app/main/apps/chat/sidenavs/left/chats/chats.component.scss b/src/app/main/apps/chat/sidenavs/left/chats/chats.component.scss index a49f5163..4fa85df8 100644 --- a/src/app/main/apps/chat/sidenavs/left/chats/chats.component.scss +++ b/src/app/main/apps/chat/sidenavs/left/chats/chats.component.scss @@ -94,8 +94,6 @@ width: 24px; height: 24px; line-height: 24px; - background-color: mat-color($accent); - color: map-get($accent, default-contrast); } } } diff --git a/src/app/main/apps/chat/sidenavs/left/user/user.component.html b/src/app/main/apps/chat/sidenavs/left/user/user.component.html index 59ce9639..9ecb4ddf 100644 --- a/src/app/main/apps/chat/sidenavs/left/user/user.component.html +++ b/src/app/main/apps/chat/sidenavs/left/user/user.component.html @@ -2,7 +2,7 @@ - + diff --git a/src/app/main/apps/chat/sidenavs/left/user/user.component.scss b/src/app/main/apps/chat/sidenavs/left/user/user.component.scss index 40d65ae3..7130f9cb 100644 --- a/src/app/main/apps/chat/sidenavs/left/user/user.component.scss +++ b/src/app/main/apps/chat/sidenavs/left/user/user.component.scss @@ -6,8 +6,6 @@ flex-direction: column; mat-toolbar { - background-color: mat-color($accent); - color: map-get($accent, default-contrast); .toolbar-bottom { height: 240px; @@ -16,7 +14,6 @@ height: 180px; } } - } .sidenav-content { diff --git a/src/app/main/apps/chat/sidenavs/right/contact/contact.component.html b/src/app/main/apps/chat/sidenavs/right/contact/contact.component.html index a7dd59f9..a60d9c39 100644 --- a/src/app/main/apps/chat/sidenavs/right/contact/contact.component.html +++ b/src/app/main/apps/chat/sidenavs/right/contact/contact.component.html @@ -2,7 +2,7 @@ - + diff --git a/src/app/main/apps/chat/sidenavs/right/contact/contact.component.scss b/src/app/main/apps/chat/sidenavs/right/contact/contact.component.scss index 40d65ae3..7130f9cb 100644 --- a/src/app/main/apps/chat/sidenavs/right/contact/contact.component.scss +++ b/src/app/main/apps/chat/sidenavs/right/contact/contact.component.scss @@ -6,8 +6,6 @@ flex-direction: column; mat-toolbar { - background-color: mat-color($accent); - color: map-get($accent, default-contrast); .toolbar-bottom { height: 240px; @@ -16,7 +14,6 @@ height: 180px; } } - } .sidenav-content { diff --git a/src/app/main/apps/contacts/contact-list/contact-list.component.html b/src/app/main/apps/contacts/contact-list/contact-list.component.html index 0416c57c..015d2a70 100644 --- a/src/app/main/apps/contacts/contact-list/contact-list.component.html +++ b/src/app/main/apps/contacts/contact-list/contact-list.component.html @@ -97,7 +97,7 @@ diff --git a/src/app/main/apps/contacts/sidenavs/main/main.component.html b/src/app/main/apps/contacts/sidenavs/main/main.component.html index 7d25084c..5856fc5f 100644 --- a/src/app/main/apps/contacts/sidenavs/main/main.component.html +++ b/src/app/main/apps/contacts/sidenavs/main/main.component.html @@ -18,19 +18,20 @@ - + All Contacts - + Freequently contacted - + Starred Contacts diff --git a/src/app/main/apps/e-commerce/order/order.component.html b/src/app/main/apps/e-commerce/order/order.component.html index 2987e515..69e5bbb3 100644 --- a/src/app/main/apps/e-commerce/order/order.component.html +++ b/src/app/main/apps/e-commerce/order/order.component.html @@ -8,7 +8,7 @@ - diff --git a/src/app/main/apps/e-commerce/orders/orders.component.html b/src/app/main/apps/e-commerce/orders/orders.component.html index 0b4462e6..a7d66abe 100644 --- a/src/app/main/apps/e-commerce/orders/orders.component.html +++ b/src/app/main/apps/e-commerce/orders/orders.component.html @@ -8,7 +8,7 @@ - diff --git a/src/app/main/apps/e-commerce/product/product.component.html b/src/app/main/apps/e-commerce/product/product.component.html index d1c683fb..f2444081 100644 --- a/src/app/main/apps/e-commerce/product/product.component.html +++ b/src/app/main/apps/e-commerce/product/product.component.html @@ -8,7 +8,7 @@ - + diff --git a/src/app/main/apps/e-commerce/products/products.component.html b/src/app/main/apps/e-commerce/products/products.component.html index cee86b70..d44b7c43 100644 --- a/src/app/main/apps/e-commerce/products/products.component.html +++ b/src/app/main/apps/e-commerce/products/products.component.html @@ -8,7 +8,7 @@ - diff --git a/src/app/main/apps/file-manager/file-list/file-list.component.html b/src/app/main/apps/file-manager/file-list/file-list.component.html index 83aef234..67e565a6 100644 --- a/src/app/main/apps/file-manager/file-list/file-list.component.html +++ b/src/app/main/apps/file-manager/file-list/file-list.component.html @@ -52,9 +52,8 @@ diff --git a/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.html b/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.html index f9224cbc..4df2f5d8 100644 --- a/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.html +++ b/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.html @@ -10,7 +10,7 @@ - {{mail.from?.name[0]}} + {{mail.from?.name[0]}} {{mail.from?.name}} attachment diff --git a/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.scss b/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.scss index 89566a09..7eb73acf 100644 --- a/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.scss +++ b/src/app/main/apps/mail-ngrx/mail-list/mail-list-item/mail-list-item.component.scss @@ -44,20 +44,6 @@ } } - &.current-mail { - background: #E3F2FD; - - .info { - - .row-2 { - - .labels { - background: #E3F2FD; - } - } - } - } - .info { overflow: hidden; width: 0; @@ -76,7 +62,6 @@ width: 32px; height: 32px; line-height: 32px; - background-color: mat-color($accent); } } @@ -104,11 +89,7 @@ } .labels { - position: absolute; - background: #FFFFFF; - bottom: 0; - right: 0; - padding-left: 6px; + margin-top: 8px; .label { font-size: 11px; diff --git a/src/app/main/apps/mail-ngrx/mail-list/mail-list.component.html b/src/app/main/apps/mail-ngrx/mail-list/mail-list.component.html index 94e1ff3b..9e94b60c 100644 --- a/src/app/main/apps/mail-ngrx/mail-list/mail-list.component.html +++ b/src/app/main/apps/mail-ngrx/mail-list/mail-list.component.html @@ -4,6 +4,6 @@ + [ngClass]="{'current-mail mat-accent-50-bg':mail?.id == currentMail?.id}"> diff --git a/src/app/main/apps/mail-ngrx/mail.component.html b/src/app/main/apps/mail-ngrx/mail.component.html index 701983ae..fc8e0816 100644 --- a/src/app/main/apps/mail-ngrx/mail.component.html +++ b/src/app/main/apps/mail-ngrx/mail.component.html @@ -65,11 +65,11 @@ - delete + delete - folder + folder - label + label - arrow_back + arrow_back 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"> mail @@ -39,8 +39,9 @@ {{ 'MAIL.FOLDERS' | translate }} - - {{folder.icon}} + + {{folder.icon}} {{folder.title}} @@ -49,7 +50,7 @@ + [routerLinkActive]="['active', 'mat-accent-bg']"> {{filter.icon}} {{filter.title}} @@ -59,7 +60,7 @@ + [routerLinkActive]="['active', 'mat-accent-bg']"> label {{label.title}} diff --git a/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.html b/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.html index 6d4d2872..474e190b 100644 --- a/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.html +++ b/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.html @@ -9,7 +9,7 @@ - {{mail.from?.name[0]}} + {{mail.from?.name[0]}} {{mail.from?.name}} attachment diff --git a/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.scss b/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.scss index 7c068432..0d03ea06 100644 --- a/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.scss +++ b/src/app/main/apps/mail/mail-list/mail-list-item/mail-list-item.component.scss @@ -43,20 +43,6 @@ } } - &.current-mail { - background: #E3F2FD; - - .info { - - .row-2 { - - .labels { - background: #E3F2FD; - } - } - } - } - .info { overflow: hidden; width: 0; @@ -75,7 +61,6 @@ width: 32px; height: 32px; line-height: 32px; - background-color: mat-color($accent); } } @@ -103,11 +88,7 @@ } .labels { - position: absolute; - background: #FFFFFF; - bottom: 0; - right: 0; - padding-left: 6px; + margin-top: 8px; .label { font-size: 11px; diff --git a/src/app/main/apps/mail/mail-list/mail-list.component.html b/src/app/main/apps/mail/mail-list/mail-list.component.html index 5804f075..a2a42d71 100644 --- a/src/app/main/apps/mail/mail-list/mail-list.component.html +++ b/src/app/main/apps/mail/mail-list/mail-list.component.html @@ -4,7 +4,7 @@ diff --git a/src/app/main/apps/mail/mail.component.html b/src/app/main/apps/mail/mail.component.html index 570edba8..daae3a07 100644 --- a/src/app/main/apps/mail/mail.component.html +++ b/src/app/main/apps/mail/mail.component.html @@ -63,11 +63,11 @@ - delete + delete - folder + folder - label + label - arrow_back + arrow_back diff --git a/src/app/main/apps/mail/sidenavs/main/main-sidenav.component.html b/src/app/main/apps/mail/sidenavs/main/main-sidenav.component.html index e467ee42..46e6b939 100644 --- a/src/app/main/apps/mail/sidenavs/main/main-sidenav.component.html +++ b/src/app/main/apps/mail/sidenavs/main/main-sidenav.component.html @@ -1,9 +1,10 @@ + class="header mat-accent-bg p-24 pb-4"> - mail + mail + Mailbox @@ -39,8 +40,9 @@ {{ 'MAIL.FOLDERS' | translate }} - - {{folder.icon}} + + {{folder.icon}} {{folder.title}} @@ -48,7 +50,8 @@ {{ 'MAIL.FILTERS' | translate }} - + {{filter.icon}} {{filter.title}} @@ -57,7 +60,8 @@ {{ 'MAIL.LABELS' | translate }} - + label {{label.title}} diff --git a/src/app/main/apps/todo/sidenavs/main/main-sidenav.component.html b/src/app/main/apps/todo/sidenavs/main/main-sidenav.component.html index 50d1356d..9e4840a8 100644 --- a/src/app/main/apps/todo/sidenavs/main/main-sidenav.component.html +++ b/src/app/main/apps/todo/sidenavs/main/main-sidenav.component.html @@ -1,8 +1,10 @@ + class="header mat-accent-bg p-24 pb-4"> - check_box + + check_box + To-Do @@ -36,8 +38,9 @@ - - view_headline + + view_headline All @@ -45,8 +48,9 @@ FILTERS - - {{filter.icon}} + + {{filter.icon}} {{filter.title}} @@ -54,7 +58,8 @@ TAGS - + label {{tag.title}} diff --git a/src/app/main/apps/todo/todo-list/todo-list.component.html b/src/app/main/apps/todo/todo-list/todo-list.component.html index 02e5de2d..6e97f9db 100644 --- a/src/app/main/apps/todo/todo-list/todo-list.component.html +++ b/src/app/main/apps/todo/todo-list/todo-list.component.html @@ -1,5 +1,5 @@ - There are no todos! + There are no todos! diff --git a/src/app/main/apps/todo/todo.component.html b/src/app/main/apps/todo/todo.component.html index 1216ed34..64b105d9 100644 --- a/src/app/main/apps/todo/todo.component.html +++ b/src/app/main/apps/todo/todo.component.html @@ -63,7 +63,7 @@ - label + label @@ -74,7 +74,7 @@ - arrow_back + arrow_back diff --git a/src/app/main/pages/authentication/mail-confirm/mail-confirm.component.html b/src/app/main/pages/authentication/mail-confirm/mail-confirm.component.html index cd3d0cd2..e1d3dc96 100644 --- a/src/app/main/pages/authentication/mail-confirm/mail-confirm.component.html +++ b/src/app/main/pages/authentication/mail-confirm/mail-confirm.component.html @@ -5,7 +5,7 @@ - email + email Confirm your email address! diff --git a/src/app/main/ui/page-layouts/carded/full-width-1/full-width-1.component.html b/src/app/main/ui/page-layouts/carded/full-width-1/full-width-1.component.html index 5e08db5f..e7d2ab7e 100644 --- a/src/app/main/ui/page-layouts/carded/full-width-1/full-width-1.component.html +++ b/src/app/main/ui/page-layouts/carded/full-width-1/full-width-1.component.html @@ -8,7 +8,7 @@ - + Full width with content scroll diff --git a/src/app/main/ui/page-layouts/carded/full-width-2/full-width-2.component.html b/src/app/main/ui/page-layouts/carded/full-width-2/full-width-2.component.html index a9a45f3a..c2d18241 100644 --- a/src/app/main/ui/page-layouts/carded/full-width-2/full-width-2.component.html +++ b/src/app/main/ui/page-layouts/carded/full-width-2/full-width-2.component.html @@ -8,7 +8,7 @@ - + Full width with inner scroll diff --git a/src/app/main/ui/page-layouts/carded/full-width-tabbed-1/full-width-tabbed-1.component.html b/src/app/main/ui/page-layouts/carded/full-width-tabbed-1/full-width-tabbed-1.component.html index b5f75269..b659fa07 100644 --- a/src/app/main/ui/page-layouts/carded/full-width-tabbed-1/full-width-tabbed-1.component.html +++ b/src/app/main/ui/page-layouts/carded/full-width-tabbed-1/full-width-tabbed-1.component.html @@ -8,7 +8,7 @@ - + Full width with tabs and content scroll diff --git a/src/app/main/ui/page-layouts/carded/full-width-tabbed-2/full-width-tabbed-2.component.html b/src/app/main/ui/page-layouts/carded/full-width-tabbed-2/full-width-tabbed-2.component.html index 0c008df2..cb0db816 100644 --- a/src/app/main/ui/page-layouts/carded/full-width-tabbed-2/full-width-tabbed-2.component.html +++ b/src/app/main/ui/page-layouts/carded/full-width-tabbed-2/full-width-tabbed-2.component.html @@ -8,7 +8,7 @@ - + Full width with tabs and inner scroll diff --git a/src/app/main/ui/page-layouts/carded/left-sidenav-1/left-sidenav-1.component.html b/src/app/main/ui/page-layouts/carded/left-sidenav-1/left-sidenav-1.component.html index b982e7c0..75406653 100644 --- a/src/app/main/ui/page-layouts/carded/left-sidenav-1/left-sidenav-1.component.html +++ b/src/app/main/ui/page-layouts/carded/left-sidenav-1/left-sidenav-1.component.html @@ -11,7 +11,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header @@ -31,7 +31,7 @@ - + Left sidenav with content scroll diff --git a/src/app/main/ui/page-layouts/carded/left-sidenav-2/left-sidenav-2.component.html b/src/app/main/ui/page-layouts/carded/left-sidenav-2/left-sidenav-2.component.html index 5f828a44..74f053a5 100644 --- a/src/app/main/ui/page-layouts/carded/left-sidenav-2/left-sidenav-2.component.html +++ b/src/app/main/ui/page-layouts/carded/left-sidenav-2/left-sidenav-2.component.html @@ -11,7 +11,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header @@ -31,7 +31,7 @@ - + Left sidenav with inner scroll diff --git a/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-1/left-sidenav-tabbed-1.component.html b/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-1/left-sidenav-tabbed-1.component.html index 37159c86..8e56abfa 100644 --- a/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-1/left-sidenav-tabbed-1.component.html +++ b/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-1/left-sidenav-tabbed-1.component.html @@ -11,7 +11,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header @@ -31,7 +31,7 @@ - + diff --git a/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-2/left-sidenav-tabbed-2.component.html b/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-2/left-sidenav-tabbed-2.component.html index 03e69569..a69e51b8 100644 --- a/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-2/left-sidenav-tabbed-2.component.html +++ b/src/app/main/ui/page-layouts/carded/left-sidenav-tabbed-2/left-sidenav-tabbed-2.component.html @@ -11,7 +11,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header @@ -31,7 +31,7 @@ - + diff --git a/src/app/main/ui/page-layouts/carded/right-sidenav-1/right-sidenav-1.component.html b/src/app/main/ui/page-layouts/carded/right-sidenav-1/right-sidenav-1.component.html index f6bf47f2..501bf26c 100644 --- a/src/app/main/ui/page-layouts/carded/right-sidenav-1/right-sidenav-1.component.html +++ b/src/app/main/ui/page-layouts/carded/right-sidenav-1/right-sidenav-1.component.html @@ -10,7 +10,7 @@ - + Right sidenav with content scroll @@ -49,7 +49,7 @@ fuseMatSidenavHelper="carded-right-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header diff --git a/src/app/main/ui/page-layouts/carded/right-sidenav-2/right-sidenav-2.component.html b/src/app/main/ui/page-layouts/carded/right-sidenav-2/right-sidenav-2.component.html index 35e5cf2b..355e56d6 100644 --- a/src/app/main/ui/page-layouts/carded/right-sidenav-2/right-sidenav-2.component.html +++ b/src/app/main/ui/page-layouts/carded/right-sidenav-2/right-sidenav-2.component.html @@ -10,7 +10,7 @@ - + Right sidenav with inner scroll @@ -49,7 +49,7 @@ fuseMatSidenavHelper="carded-right-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header diff --git a/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-1/right-sidenav-tabbed-1.component.html b/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-1/right-sidenav-tabbed-1.component.html index 5fe94776..474144b3 100644 --- a/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-1/right-sidenav-tabbed-1.component.html +++ b/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-1/right-sidenav-tabbed-1.component.html @@ -10,7 +10,7 @@ - + @@ -130,7 +130,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header diff --git a/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-2/right-sidenav-tabbed-2.component.html b/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-2/right-sidenav-tabbed-2.component.html index d56483ae..9f6c2a64 100644 --- a/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-2/right-sidenav-tabbed-2.component.html +++ b/src/app/main/ui/page-layouts/carded/right-sidenav-tabbed-2/right-sidenav-tabbed-2.component.html @@ -10,7 +10,7 @@ - + @@ -130,7 +130,7 @@ fuseMatSidenavHelper="carded-left-sidenav" mat-is-locked-open="gt-md"> - + Sidenav header diff --git a/src/styles.scss b/src/styles.scss index 47998044..b8f60696 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,2 +1,24 @@ // Import Fuse core library -@import "@fuse/scss/core"; \ No newline at end of file +@import "@fuse/scss/core"; + +// ----------------------------------------------------------------------------------------------------- +// @ Multiple material themes example +// ----------------------------------------------------------------------------------------------------- + +// Define the Material palettes +$yellow-theme-primary: mat-palette($mat-fusedark); +$yellow-theme-accent: mat-palette($mat-yellow, 600, 400, 700); +$yellow-theme-warn: mat-palette($mat-red); + +// Create the Material theme object +$yellow-theme: mat-light-theme($yellow-theme-primary, $yellow-theme-accent, $yellow-theme-warn); + +// Add ".yellow-theme" class to the body to activate this theme +.yellow-theme { + + // Generate the Angular Material theme + @include angular-material-theme($yellow-theme); + + // Generate the fuse color classes with the new colors... + @include generateFuseColorClasses($yellow-theme-primary, $yellow-theme-accent, $yellow-theme-warn); +} \ No newline at end of file