mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
neating up colors with constnats and correcting indentation
This commit is contained in:
parent
294a9e26a9
commit
b67c7d9026
@ -4,7 +4,8 @@ const Styled = require('styled-components');
|
||||
const fns = require('../../shared/functions');
|
||||
|
||||
const {
|
||||
boxes
|
||||
boxes,
|
||||
colors
|
||||
} = constants;
|
||||
|
||||
const {
|
||||
@ -18,11 +19,11 @@ const {
|
||||
const CustomInputCircle = `
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: #646464;
|
||||
top: -16px;
|
||||
left: 12px;
|
||||
top: -14px;
|
||||
left: 14px;
|
||||
border-radius: 100%;
|
||||
`;
|
||||
|
||||
@ -34,7 +35,7 @@ const StyledInput = styled.input`
|
||||
${CustomInputCircle}
|
||||
}
|
||||
&:disabled + span {
|
||||
background-color: #F9f9F9;
|
||||
background-color: ${colors.inactiveBackground};
|
||||
}
|
||||
&:disabled + span::after {
|
||||
opacity: 0.3;
|
||||
@ -57,9 +58,9 @@ position: relative;
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: ${remcalc(26)};
|
||||
height: ${remcalc(26)};
|
||||
background-color: #FFFFFF;
|
||||
width: ${remcalc(24)};
|
||||
height: ${remcalc(24)};
|
||||
background-color: ${colors.inactiveBackground};
|
||||
box-shadow: ${boxes.insetShaddow};
|
||||
border: ${boxes.border.unchecked};
|
||||
top: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user