Skip to content

Commit

Permalink
Merge pull request #264 from storybookjs/improve-contrast
Browse files Browse the repository at this point in the history
Improve contrast
  • Loading branch information
domyen authored May 13, 2021
2 parents 33ab496 + 28f7bb1 commit 9407a12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/Cardinal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface CountProps {
}

const Count = styled.div<CountProps>`
color: ${color.dark};
color: ${color.darker};
display: block;
${(props) =>
Expand All @@ -36,7 +36,7 @@ const Count = styled.div<CountProps>`
${(props) =>
props.status === 'neutral' &&
css`
color: ${color.mediumdark};
color: ${color.dark};
`};
${(props) =>
props.status === 'link' &&
Expand Down Expand Up @@ -126,7 +126,7 @@ const CardinalInner = styled.div<CardinalInnerProps>`
}
${Text} {
color: ${(props) => (props.size === 'small' ? color.mediumdark : color.dark)};
color: ${color.dark};
font-size: ${(props) => (props.size === 'small' ? typography.size.s1 : typography.size.s2)}px;
line-height: ${(props) => (props.size === 'small' ? typography.size.s2 : typography.size.m1)}px;
clear: both;
Expand Down
2 changes: 1 addition & 1 deletion src/components/tooltip/ListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ItemWrapper = styled.li`
list-style: none;
&:not(:first-child) {
border-top: 1px solid ${color.mediumlight};
border-top: 1px solid ${color.border};
}
`;

Expand Down

0 comments on commit 9407a12

Please sign in to comment.