Skip to content

Commit

Permalink
chore: Removes hard-coded colors from legacy-preset-chart-nvd3
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Mar 30, 2022
1 parent fa35109 commit 7398ccb
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default styled(NVD3)`
}
.nvtooltip tr.highlight td {
font-weight: ${({ theme }) => theme.typography.weights.bold};
font-size: 15px !important;
font-size: ${({ theme }) => theme.typography.sizes.m}px !important;
}
text.nv-axislabel {
font-size: ${({ theme }) => theme.typography.sizes.m} !important;
Expand Down Expand Up @@ -160,15 +160,15 @@ export default styled(NVD3)`
.d3-tip.nv-event-annotation-layer-NATIVE {
width: 200px;
border-radius: 2px;
background-color: #484848;
background-color: ${({ theme }) => theme.colors.grayscale.base};
fill-opacity: 0.6;
margin: 8px;
padding: 8px;
color: #fff;
margin: ${({ theme }) => theme.gridUnit * 2}px;
padding: ${({ theme }) => theme.gridUnit * 2}px;
color: ${({ theme }) => theme.colors.grayscale.light5};
&:after {
content: '\\25BC';
font-size: ${({ theme }) => theme.typography.sizes.m};
color: #484848;
color: ${({ theme }) => theme.colors.grayscale.base};
position: absolute;
bottom: -14px;
left: 94px;
Expand Down

0 comments on commit 7398ccb

Please sign in to comment.