@uiw/react-heat-map
Version:
React component create calendar heatmap to visualize time series data, a la github contribution graph.
26 lines (24 loc) • 409 B
text/less
@w-heatmap:~ "w-heatmap";
svg.@{w-heatmap} {
color: #24292e;
user-select: none;
display: block;
font-size: 10px;
rect {
display: block;
cursor: pointer;
&:hover {
stroke: rgba(0, 0, 0, 0.14);
stroke-width: 1px;
}
&:active {
fill: #196127;
stroke-width: 0;
}
}
text {
text-anchor: middle;
font-size: inherit;
fill: currentColor;
}
}