-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
242 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@mixin stbui-chat-widget-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$warn: map-get($theme, warn); | ||
$background: map-get($theme, background); | ||
$foreground: map-get($theme, foreground); | ||
|
||
.chat-box { | ||
background-color: mat-color($primary); | ||
|
||
&.mat-primary { | ||
background-color: mat-color($primary); | ||
} | ||
|
||
&.mat-accent { | ||
background-color: mat-color($accent); | ||
} | ||
&.mat-warn { | ||
background-color: mat-color($warn); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@import '../../pagination/pagination.theme'; | ||
@import '../../date-picker/date-picker.theme'; | ||
@import '../../notification/notification.theme'; | ||
@import '../../message/message.theme'; | ||
@import '../../dialog/dialog.theme'; | ||
@import '../../chat-widget/chat-widget.theme'; | ||
@import '../../tag-select/tag-select.theme'; | ||
@import '../../loading/loading.theme'; | ||
|
||
@mixin stbui-theme($theme) { | ||
@include stbui-pagination-theme($theme); | ||
@include stbui-date-picker-theme($theme); | ||
@include stbui-chat-widget-theme($theme); | ||
@include stbui-notification-theme($theme); | ||
@include stbui-tag-select-theme($theme); | ||
@include stbui-message-theme($theme); | ||
@include stbui-dialog-theme($theme); | ||
@include stbui-loading-theme($theme); | ||
} |
13 changes: 13 additions & 0 deletions
13
src/app/component/core/theming/prebuilt/blue-grey-deep-orange.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-blue-grey, 700); | ||
$accent: mat-palette($mat-deep-orange, 500, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-blue, 700); | ||
$accent: mat-palette($mat-orange, 800, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
13 changes: 13 additions & 0 deletions
13
src/app/component/core/theming/prebuilt/deeppurple-amber.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-deep-purple); | ||
$accent: mat-palette($mat-amber, A200, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-indigo, 500); | ||
$accent: mat-palette($mat-pink, A200, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
13 changes: 13 additions & 0 deletions
13
src/app/component/core/theming/prebuilt/orange-light-blue.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-orange, 800); | ||
$accent: mat-palette($mat-light-blue, 600, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
13 changes: 13 additions & 0 deletions
13
src/app/component/core/theming/prebuilt/pink-bluegrey.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-pink, 700, 500, 900); | ||
$accent: mat-palette($mat-blue-grey, A200, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-dark-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-purple, 700, 500, 800); | ||
$accent: mat-palette($mat-green, A200, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-dark-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import '~@angular/material/theming'; | ||
@import '../all-theme'; | ||
|
||
@include mat-core(); | ||
|
||
$primary: mat-palette($mat-teal, 700); | ||
$accent: mat-palette($mat-orange, 800, A100, A400); | ||
$warn: mat-palette($mat-red, 600); | ||
|
||
$theme: mat-light-theme($primary, $accent, $warn); | ||
|
||
@include angular-material-theme($theme); | ||
@include stbui-theme($theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@mixin stbui-loading-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$warn: map-get($theme, warn); | ||
$background: map-get($theme, background); | ||
$foreground: map-get($theme, foreground); | ||
|
||
.logo { | ||
background-color: mat-color($primary); | ||
|
||
&.mat-primary { | ||
background-color: mat-color($primary); | ||
} | ||
&.mat-accent { | ||
background-color: mat-color($accent); | ||
} | ||
&.mat-warn { | ||
background-color: mat-color($warn); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,13 +57,3 @@ | |
} | ||
} | ||
} | ||
|
||
// theme | ||
.tag-select { | ||
&-item { | ||
> a.active { | ||
background-color: #3f51b5; | ||
color: white; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
.tag-select { | ||
&-item { | ||
> a.active { | ||
background-color: #3f51b5; | ||
color: white; | ||
@mixin stbui-tag-select-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$warn: map-get($theme, warn); | ||
$background: map-get($theme, background); | ||
$foreground: map-get($theme, foreground); | ||
|
||
.tag-select { | ||
&-item { | ||
> a.active { | ||
background-color: mat-color($primary); | ||
color: #fff; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.