refactor: colors

This commit is contained in:
cha0s 2020-07-14 06:13:17 -05:00
parent 8cece3100f
commit 4ba0225ec6
5 changed files with 9 additions and 5 deletions

View File

@ -25,6 +25,7 @@
} }
.bar__brandItem { .bar__brandItem {
color: $color-muted;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
@ -59,7 +60,7 @@
background-color: #272727; background-color: #272727;
} }
&.active { &.active {
background-color: $active-color; background-color: $color-active;
} }
.closed &.active { .closed &.active {
background-color: #2a2a2a; background-color: #2a2a2a;

View File

@ -1,4 +1,5 @@
@import '~/client/scss/breakpoints.scss'; @import '~/client/scss/breakpoints.scss';
@import '~/client/scss/colors.scss';
.left { .left {
background-color: #373737; background-color: #373737;
@ -32,6 +33,7 @@
} }
.channel__chatsTitle { .channel__chatsTitle {
color: $color-muted;
font-family: var(--thick-title-font-family); font-family: var(--thick-title-font-family);
font-size: 0.7em; font-size: 0.7em;
font-weight: bold; font-weight: bold;

View File

@ -44,7 +44,7 @@
} }
.home__login { .home__login {
background-color: $active-color; background-color: $color-active;
display: inline-block; display: inline-block;
font-family: var(--thick-title-font-family); font-family: var(--thick-title-font-family);
font-size: 2em; font-size: 2em;
@ -52,7 +52,7 @@
text-decoration: none; text-decoration: none;
transition: background-color 0.2s; transition: background-color 0.2s;
&:hover { &:hover {
background-color: lighten($active-color, 10%); background-color: lighten($color-active, 10%);
} }
} }

View File

@ -143,7 +143,7 @@ select {
} }
*:focus { *:focus {
box-shadow: 0 0 2px 0 $active-color; box-shadow: 0 0 2px 0 $color-active;
outline: none; outline: none;
z-index: 1; z-index: 1;
} }

View File

@ -1 +1,2 @@
$active-color: rgb(0, 99, 112); $color-active: rgb(0, 99, 112);
$color-muted: #bbbbbb;