mirror of
https://github.com/yldio/copilot.git
synced 2024-11-10 21:30:06 +02:00
grayDark constant color
This commit is contained in:
parent
89c43c5842
commit
0c5276f108
@ -28,7 +28,7 @@ const {
|
||||
|
||||
// Main Contonent Wrapper Styles
|
||||
const StyledDiv = styled.div`
|
||||
border-bottom: solid ${remcalc(1)} #d8d8d8;
|
||||
border-bottom: solid ${remcalc(1)} ${colors.greyDark};
|
||||
padding: ${remcalc(30)} 0;
|
||||
margin-bottom: ${remcalc(21)};
|
||||
`;
|
||||
|
@ -5,6 +5,7 @@ const Styled = require('styled-components');
|
||||
|
||||
const Avatar = require('@ui/components/avatar');
|
||||
const Container = require('@ui/components/container');
|
||||
const constants = require('@ui/shared/constants');
|
||||
const PropTypes = require('@root/prop-types');
|
||||
const selectors = require('@state/selectors');
|
||||
const Ul = require('@ui/components/horizontal-list/ul');
|
||||
@ -22,6 +23,10 @@ const {
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
const {
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const {
|
||||
orgsSelector
|
||||
} = selectors;
|
||||
@ -32,7 +37,7 @@ const {
|
||||
|
||||
const StyledNav = styled.div`
|
||||
background-color: #f2f2f2;
|
||||
border-bottom: ${remcalc(1)} solid #d8d8d8;
|
||||
border-bottom: ${remcalc(1)} solid ${colors.greyDark};
|
||||
|
||||
& ul {
|
||||
height: ${remcalc(60)};
|
||||
@ -45,7 +50,7 @@ const NavigationLinkContainer = styled.div`
|
||||
position: relative;
|
||||
padding: ${remcalc(11)} ${remcalc(12)} ${remcalc(12)};
|
||||
color: #646464;
|
||||
border: solid ${remcalc(1)} #d8d8d8;
|
||||
border: solid ${remcalc(1)} ${colors.greyDark};
|
||||
height: ${remcalc(24)};
|
||||
background-color: #f2f2f2;
|
||||
|
||||
|
@ -34,7 +34,7 @@ const backgroundHover = match({
|
||||
}, base.primaryLight);
|
||||
|
||||
const backgroundActive = match({
|
||||
secondary: base.greyDark,
|
||||
secondary: base.greyDarker,
|
||||
disabled: inactive.default
|
||||
}, base.primaryDark);
|
||||
|
||||
@ -49,7 +49,7 @@ const borderHover = match({
|
||||
}, base.primaryDark);
|
||||
|
||||
const borderActive = match({
|
||||
secondary: base.greyDark,
|
||||
secondary: base.greyDarker,
|
||||
disabled: inactive.default
|
||||
}, base.primaryDark);
|
||||
|
||||
|
@ -20,9 +20,9 @@ const {
|
||||
|
||||
const paper = `
|
||||
0 ${remcalc(8)} 0 ${remcalc(-5)} ${colors.base.grey},
|
||||
0 ${remcalc(8)} ${remcalc(1)} ${remcalc(-4)} ${colors.base.greyDark},
|
||||
0 ${remcalc(8)} ${remcalc(1)} ${remcalc(-4)} ${colors.base.greyDarker},
|
||||
0 ${remcalc(16)} 0 ${remcalc(-10)} ${colors.base.grey},
|
||||
0 ${remcalc(16)} ${remcalc(1)} ${remcalc(-9)} ${colors.base.greyDark};
|
||||
0 ${remcalc(16)} ${remcalc(1)} ${remcalc(-9)} ${colors.base.greyDarker};
|
||||
`;
|
||||
|
||||
const height = (props) => props.collapsed
|
||||
@ -51,7 +51,7 @@ const Item = styled(Row)`
|
||||
height: ${height};
|
||||
min-height: ${minHeight};
|
||||
box-shadow: ${shadow};
|
||||
border: ${remcalc(1)} solid #D8D8D8;
|
||||
border: ${remcalc(1)} solid ${colors.greyDark};
|
||||
background-color: ${colors.base.white};
|
||||
margin-bottom: ${marginBottom};
|
||||
`;
|
||||
|
@ -8,9 +8,9 @@ const {
|
||||
remcalc
|
||||
} = fns;
|
||||
|
||||
|
||||
const {
|
||||
breakpoints
|
||||
breakpoints,
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const {
|
||||
@ -30,7 +30,7 @@ const StyledTableHeadItem = styled.td`
|
||||
const StyledTableHead = styled.thead`
|
||||
background: #fafafa;
|
||||
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.05);
|
||||
border: solid ${remcalc(1)} #d8d8d8;
|
||||
border: solid ${remcalc(1)} ${colors.greyDark};
|
||||
|
||||
${breakpoints.smallOnly`
|
||||
display: none;
|
||||
|
@ -13,11 +13,12 @@ const {
|
||||
} = Styled;
|
||||
|
||||
const {
|
||||
breakpoints
|
||||
breakpoints,
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const StyledRow = styled.tr`
|
||||
border: solid ${remcalc(1)} #d8d8d8;
|
||||
border: solid ${remcalc(1)} ${colors.greyDark};
|
||||
|
||||
${breakpoints.smallOnly`
|
||||
display: block;
|
||||
|
@ -1,9 +1,10 @@
|
||||
const fns = require('../../shared/functions');
|
||||
const composers = require('../../shared/composers');
|
||||
|
||||
const React = require('react');
|
||||
const Styled = require('styled-components');
|
||||
|
||||
const fns = require('../../shared/functions');
|
||||
const composers = require('../../shared/composers');
|
||||
const constants = require('../../shared/constants');
|
||||
|
||||
const {
|
||||
default: styled,
|
||||
css
|
||||
@ -17,11 +18,15 @@ const {
|
||||
remcalc
|
||||
} = fns;
|
||||
|
||||
const {
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const StyledTableRow = styled.div`
|
||||
${clearfix}
|
||||
|
||||
padding: ${remcalc(24)} 0;
|
||||
border-bottom: solid 1px #d8d8d8;
|
||||
border-bottom: solid 1px ${colors.greyDark};
|
||||
|
||||
& > .table-item {
|
||||
text-align: center;
|
||||
|
@ -1,45 +1,30 @@
|
||||
const React = require('react');
|
||||
const Styled = require('styled-components');
|
||||
|
||||
const constants = require('../../shared/constants');
|
||||
|
||||
const {
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
const {
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const StyledTableWrapper = styled.section`
|
||||
border: solid 1px #d8d8d8
|
||||
border: solid 1px ${colors.greyDark}
|
||||
font-family: 'LibreFranklin', sans-serif;
|
||||
font-style: normal;
|
||||
`;
|
||||
|
||||
// const StyledTableHead = styled.thead``;
|
||||
// const StyledTableBody = styled.tbody``;
|
||||
|
||||
// const renderTable = ({
|
||||
// hasHeader = false,
|
||||
// hasBody = true,
|
||||
// width = '100%'
|
||||
// }) => {
|
||||
//
|
||||
// const tableBody = () => {
|
||||
//
|
||||
// return (
|
||||
// <StyledTableBody />
|
||||
// )
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
const Table = ({
|
||||
children,
|
||||
title,
|
||||
}) => {
|
||||
|
||||
return (
|
||||
}) => (
|
||||
<StyledTableWrapper>
|
||||
{children}
|
||||
</StyledTableWrapper>
|
||||
);
|
||||
};
|
||||
|
||||
Table.propTypes = {
|
||||
children: React.PropTypes.node,
|
||||
|
@ -61,7 +61,7 @@ const StyledRadio = styled.input`
|
||||
|
||||
const StyledLabel = styled.label`
|
||||
background: transparent;
|
||||
border: ${remcalc(1)} solid #D8D8D8;
|
||||
border: ${remcalc(1)} solid ${colors.greyDark};
|
||||
display: inline-block;
|
||||
font-size: ${remcalc(20)};
|
||||
padding: ${remcalc('12 25')};
|
||||
|
@ -68,7 +68,7 @@ const StyledList = styled.ul`
|
||||
}
|
||||
&:before {
|
||||
border-color: rgba(216, 216, 216, 0);
|
||||
border-bottom-color: #d8d8d8;
|
||||
border-bottom-color: ${colors.greyDark};
|
||||
border-width: ${remcalc(12)};
|
||||
margin-left: ${remcalc(-12)};
|
||||
}
|
||||
|
@ -15,7 +15,8 @@ const base = {
|
||||
white: '#FFFFFF',
|
||||
grey: '#f8f8f8',
|
||||
greyLight: '#e9e9e9',
|
||||
greyDark: '#919191',
|
||||
greyDark: '#d8d8d8',
|
||||
greyDarker: '#919191',
|
||||
red: '#DA4B42',
|
||||
yellow: '#E4A800',
|
||||
green: '#00AF66',
|
||||
|
Loading…
Reference in New Issue
Block a user