테마 색상변경

This commit is contained in:
khk 2019-11-19 11:41:54 +09:00
parent 2f52cfe5ef
commit 122b6ddf05
6 changed files with 42 additions and 8 deletions

View File

@ -104,9 +104,11 @@ body.theme-pink-dark {
// Define the primary, accent and warn palettes // Define the primary, accent and warn palettes
$pink-light-theme-primary-palette: mat-palette($mat-grey,800); $pink-light-theme-primary-palette: mat-palette($mat-grey,800);
$pink-light-theme-accent-palette: mat-palette($lg-red, 400); //$pink-light-theme-accent-palette: mat-palette($lg-red, 400);
$pink-light-theme-accent-palette: mat-palette($daesang);
$pink-light-theme-warn-palette: mat-palette($mat-red); $pink-light-theme-warn-palette: mat-palette($mat-red);
// Create the Material theme object // Create the Material theme object
$pink-light-theme: mat-light-theme( $pink-light-theme: mat-light-theme(
$pink-light-theme-primary-palette, $pink-light-theme-primary-palette,

View File

@ -86,7 +86,6 @@
stroke-linecap: square; stroke-linecap: square;
stroke-linejoin: miter; stroke-linejoin: miter;
fill: none; fill: none;
color: #2329d6;
} }
} }
} }
@ -94,7 +93,6 @@
opacity: 1; opacity: 1;
.mat-tab-label-content { .mat-tab-label-content {
.icon-item { .icon-item {
background: #ef4c73;
transform: scale(1); transform: scale(1);
/*svg { /*svg {
stroke: #ef4c73; stroke: #ef4c73;

View File

@ -60,6 +60,8 @@ $lg-red: (
A200: #ff4081, A200: #ff4081,
A400: #ff3399, A400: #ff3399,
A700: #c51162, A700: #c51162,
G100: #ef4c73,
G900: #352a37,
contrast: ( contrast: (
50: $dark-primary-text, 50: $dark-primary-text,
100: $dark-primary-text, 100: $dark-primary-text,
@ -74,7 +76,9 @@ $lg-red: (
A100: $dark-primary-text, A100: $dark-primary-text,
A200: $light-primary-text, A200: $light-primary-text,
A400: $light-primary-text, A400: $light-primary-text,
A700: $light-primary-text A700: $light-primary-text,
G100:$dark-primary-text,
G900:$light-primary-text
) )
); );
@ -87,12 +91,14 @@ $daesang: (
500: #00bcd4, 500: #00bcd4,
/*600: #00acc1,*/ 600: #00b6d5, /*600: #00acc1,*/ 600: #00b6d5,
700: #0097a7, 700: #0097a7,
800: #00838f, 800: #2c8493,
900: #006064, 900: #126a79,
A100: #84ffff, A100: #84ffff,
A200: #18ffff, A200: #18ffff,
A400: #00e5ff, A400: #00e5ff,
A700: #00b8d4, A700: #00b8d4,
G100: #6dd5ed,
/*G900: #192a2c,*/G900: #2193b0,
contrast: ( contrast: (
50: $dark-primary-text, 50: $dark-primary-text,
100: $dark-primary-text, 100: $dark-primary-text,
@ -108,6 +114,8 @@ $daesang: (
A200: $dark-primary-text, A200: $dark-primary-text,
A400: $dark-primary-text, A400: $dark-primary-text,
A700: $dark-primary-text, A700: $dark-primary-text,
G100: $dark-primary-text,
G900: $light-primary-text
) )
); );
@ -122,6 +130,9 @@ $daesang: (
$background: map-get($theme, background); $background: map-get($theme, background);
$foreground: map-get($theme, foreground); $foreground: map-get($theme, foreground);
$gradient-darkest:mat-color($accent, G900);
$gradient-light:mat-color($accent, G100);
.bg-primary-dark{ .bg-primary-dark{
background: mat-color($primary, 900); background: mat-color($primary, 900);
color: mat-color($primary, default-contrast); color: mat-color($primary, default-contrast);
@ -179,6 +190,15 @@ $daesang: (
/*.mat-form-field-appearance-legacy .mat-hint{ /*.mat-form-field-appearance-legacy .mat-hint{
color: mat-color($accent, 800); color: mat-color($accent, 800);
}*/ }*/
.global-menu {
.mat-tab-label[aria-selected='true']{
.mat-tab-label-content{
.icon-item{
background: mat-color($accent, 300);
}
}
}
}
.mat-form-field-appearance-legacy { .mat-form-field-appearance-legacy {
.mat-form-field-label { .mat-form-field-label {
@ -205,4 +225,15 @@ $daesang: (
background: mat-color($accent, 600); background: mat-color($accent, 600);
color: mat-color($primary, default-contrast); color: mat-color($primary, default-contrast);
} }
.current-head {
display: flex;
justify-content: center;
padding: 0 10px;
height: 70px;
background-color: #eeeeee;
background: $gradient-light;
background: -webkit-linear-gradient(to right, $gradient-darkest, $gradient-light);
background: linear-gradient(to right, $gradient-darkest, $gradient-light);
color:#ffffff;
}
} }

View File

@ -51,7 +51,7 @@
</mat-form-field> </mat-form-field>
<button <button
class="send-message-button bg-accent-color" class="send-message-button bg-accent-darkest"
mat-icon-button mat-icon-button
type="submit" type="submit"
aria-label="Send message" aria-label="Send message"

View File

@ -52,7 +52,9 @@
} }
.path { .path {
display: flex;
padding: 6px 4px; padding: 6px 4px;
align-items: center;
.btn-toggle { .btn-toggle {
padding: 0; padding: 0;
min-width: 0; min-width: 0;
@ -64,6 +66,7 @@
} }
.group-menu { .group-menu {
margin-left: auto; margin-left: auto;
opacity: 0.6;
} }
+ ul { + ul {
li:last-chlid { li:last-chlid {

View File

@ -17,7 +17,7 @@
<div class="room-name"> <div class="room-name">
<div class="name">{{ getRoomName(roomInfo) }}</div> <div class="name">{{ getRoomName(roomInfo) }}</div>
<div <div
class="num text-accent-color" class="num bg-accent-light"
*ngIf="roomInfo.roomType === RoomType.Multi" *ngIf="roomInfo.roomType === RoomType.Multi"
> >
{{ roomInfo.joinUserCount }}명 {{ roomInfo.joinUserCount }}명