Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

style(src): improve clause components a11y - I57 #298

Merged
merged 1 commit into from
Feb 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export const ClauseHeader = styled.div`
justify-self: start;
margin: 6px 0;
padding: 3px;
color: ${props => props.headercolor || '#939EBA'};
color: ${props => props.headercolor || '#696969'};
line-height: 14px;
font-size: 0.87em;
font-weight: 600;
`;

export const ClauseBody = styled.div`
.variable {
color: ${props => props.variablecolor || '#009593'};
color: ${props => props.variablecolor || '#1034a6'};
}
.conditional {
color: ${props => props.conditionalcolor || '#B11A00'};
Expand All @@ -58,7 +58,7 @@ export const ClauseBody = styled.div`
`;

export const ClauseIcon = styled.svg`
fill: #939EBA;
fill: #696969;
cursor: pointer;

&:hover {
Expand Down
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
a {
color: #0f52ba;
}

.parseError {
background-color: #e98181;
}
Expand Down