1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

update brand colors

This commit is contained in:
Sérgio Ramos 2017-01-04 18:51:17 +00:00
parent 0614839905
commit 68aa758b64
5 changed files with 27 additions and 16 deletions

View File

@ -27,7 +27,7 @@ const Label = styled.label`
`; `;
const InputField = styled.input` const InputField = styled.input`
background: ${colors.white}; background: ${colors.brandSecondary};
display: block; display: block;
font-size: 16px; font-size: 16px;
height: ${remcalc(50)}; height: ${remcalc(50)};

View File

@ -1,12 +1,17 @@
const constants = require('../../shared/constants');
const React = require('react'); const React = require('react');
const Styled = require('styled-components'); const Styled = require('styled-components');
const {
colors
} = constants;
const { const {
default: styled default: styled
} = Styled; } = Styled;
const StyledModal = styled.div` const StyledModal = styled.div`
background: white; background: ${colors.brandSecondary};
display: block; display: block;
left: 50%; left: 50%;
margin: 0 auto; margin: 0 auto;

View File

@ -49,7 +49,7 @@ const StyledSpan = styled.span`
width: 10px; width: 10px;
height: 10px; height: 10px;
box-shadow: 0 0 0 1px #646464; box-shadow: 0 0 0 1px #646464;
border: 8px solid white; border: 8px solid ${colors.brandInactive};
top: 5px; top: 5px;
left: 5px; left: 5px;
border-radius: 100%; border-radius: 100%;

View File

@ -6,13 +6,8 @@ const boxes = {
insetShaddow: 'inset 0 3px 0 0 rgba(0, 0, 0, 0.05)', insetShaddow: 'inset 0 3px 0 0 rgba(0, 0, 0, 0.05)',
border: { border: {
checked: `1px solid ${colors.brandPrimary}`, checked: `1px solid ${colors.brandPrimary}`,
unchecked: `1px solid ${colors.border}`, unchecked: `1px solid ${colors.borderSecondary}`,
confirmed: `1px solid ${colors.confirmation}` confirmed: `1px solid ${colors.confirmation}`
},
background: {
primary: colors.brandPrimary,
secondary: colors.brandSecondary,
disabled: '#FAFAFA',
} }
}; };

View File

@ -2,12 +2,26 @@ const brandPrimary = {
brandPrimary: '#3B46CC', brandPrimary: '#3B46CC',
brandPrimaryDark: '#1838C0', brandPrimaryDark: '#1838C0',
brandPrimaryDarkest: '#12279F', brandPrimaryDarkest: '#12279F',
borderPrimary: '#2531BC',
borderPrimaryDark: '#2531BC',
borderPrimaryDarkest: '#062BA0',
brandPrimaryColor: '#FFFFFF'
}; };
const brandSecondary = { const brandSecondary = {
brandSecondary: '#646464', brandSecondary: '#FFFFFF',
brandSecondaryDark: '#464646', brandSecondaryDark: '#F8F8F8',
brandSecondaryDarkest: '#160D42', brandSecondaryDarkest: '#E9E9E9',
borderSecondary: '#D8D8D8',
borderSecondaryDark: '#D8D8D8',
borderSecondaryDarkest: '#D8D8D8',
brandSecondaryColor: '#464646'
};
const brandInactive = {
brandInactive: '#FAFAFA',
borderInactive: '#D8D8D8',
brandInactiveColor: '#919191'
}; };
const notifications = { const notifications = {
@ -19,12 +33,9 @@ const notifications = {
}; };
const colors = { const colors = {
white: '#FFFFFF',
backgroundInactive: '#F9F9F9',
...brandPrimary, ...brandPrimary,
...brandSecondary, ...brandSecondary,
...brandInactive,
...notifications ...notifications
}; };