#48: light -> white

This commit is contained in:
SleepWalker 2016-11-08 08:07:04 +02:00
parent e48fca63b9
commit 0d8696b4f7
10 changed files with 17 additions and 17 deletions

View File

@ -3,7 +3,7 @@ import React, { Component, PropTypes } from 'react';
import classNames from 'classnames';
import { FormattedMessage as Message } from 'react-intl';
import { skins, SKIN_DARK, COLOR_LIGHT } from 'components/ui';
import { skins, SKIN_DARK, COLOR_WHITE } from 'components/ui';
import { Button } from 'components/ui/form';
import styles from './accountSwitcher.scss';
@ -114,7 +114,7 @@ export default class AccountSwitcher extends Component {
{allowAdd ? (
<div>
<Button
color={COLOR_LIGHT}
color={COLOR_WHITE}
block
small
className={styles.addAccount}

View File

@ -44,11 +44,11 @@ $lightBorderColor: #EEE;
transition: .25s;
&:hover {
background-color: $lightButtonLight;
background-color: $whiteButtonLight;
}
&:active {
background-color: $lightButtonDark;
background-color: $whiteButtonDark;
}
}

View File

@ -56,7 +56,7 @@
transition: .2s;
&:hover {
background: $lightButtonLight;
background: $whiteButtonLight;
color: #262626;
}

View File

@ -81,7 +81,7 @@ $formColumnWidth: 416px;
.paramEditIcon {
composes: pencil from 'components/ui/icons.scss';
color: $light;
color: $white;
transition: .4s;
a:hover & {

View File

@ -51,7 +51,7 @@
line-height: 30px;
}
.light {
.white {
composes: button;
background-color: #fff;
@ -59,11 +59,11 @@
&:hover {
color: #262626;
background-color: $lightButtonLight;
background-color: $whiteButtonLight;
}
&:active {
background-color: $lightButtonDark;
background-color: $whiteButtonDark;
}
}

View File

@ -5,13 +5,13 @@ $violet: #6b5b8c;
$dark_blue: #28555b;
$light_violet: #8b5d79;
$orange: #dd8650;
$light: #ebe8e1;
$white: #ebe8e1;
$black: #232323;
$defaultButtonTextColor : #fff;
$lightButtonLight: #f5f5f5;
$lightButtonDark: #f5f5f5; // TODO: найти оптимальный цвет для прожатого состояния
$whiteButtonLight: #f5f5f5;
$whiteButtonDark: #f5f5f5; // TODO: найти оптимальный цвет для прожатого состояния
@function darker($color) {
$elyColorsMap : (

View File

@ -9,7 +9,7 @@ export const COLOR_LIGHT_VIOLET = 'lightViolet';
export const COLOR_ORANGE = 'orange';
export const COLOR_RED = 'red';
export const COLOR_BLACK = 'black';
export const COLOR_LIGHT = 'light';
export const COLOR_WHITE = 'white';
export const colors = [
COLOR_GREEN,
@ -20,7 +20,7 @@ export const colors = [
COLOR_ORANGE,
COLOR_RED,
COLOR_BLACK,
COLOR_LIGHT
COLOR_WHITE
];
export const skins = [SKIN_DARK, SKIN_LIGHT];

View File

@ -76,7 +76,7 @@ $popupMargin: 20px; // Отступ попапа от краёв окна
.header {
position: relative;
background: $light;
background: $white;
padding: 15px $popupPadding;
border-bottom: 1px solid #dedede;
}

View File

@ -11,7 +11,7 @@ body,
body {
font-family: $font-family-base;
background: $light;
background: $white;
color: #444;
font-size: 16px;
}

View File

@ -74,7 +74,7 @@
left: -40px;
width: calc(100% + 60px);
height: calc(100% + 20px);
background: $light;
background: $white;
border-left: $border;
border-right: $border;
box-sizing: border-box;