Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
d3 styling
.d3Content {
fill: none;
.area {
fill: #eee;
stroke: none;
&.light { fill: transparentize($light, 0.7); }
&.dark { fill: transparentize($dark, 0.7); }
&.crit { fill: transparentize($crit, 0.5); }
}
.line {
stroke: #eee;
stroke-width: 1;
&.light { stroke: $light; }
&.dark { stroke: $dark; }
&.crit { stroke: $crit; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.