Skip to content

Commit

Permalink
Gets opacity from the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Apr 4, 2022
1 parent 3c5b17e commit 60852fc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default styled(SankeyComponent)`
.node {
rect {
cursor: move;
fill-opacity: 0.9;
fill-opacity: ${theme.opacity.heavy};
shape-rendering: crispEdges;
}
text {
Expand All @@ -51,9 +51,9 @@ export default styled(SankeyComponent)`
.link {
fill: none;
stroke: ${theme.colors.grayscale.dark2};
stroke-opacity: 0.2;
stroke-opacity: ${theme.opacity.light};
&:hover {
stroke-opacity: 0.5;
stroke-opacity: ${theme.opacity.mediumLight};
}
}
.opacity-0 {
Expand Down

0 comments on commit 60852fc

Please sign in to comment.