mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
make the cumulative area a bit more visible
This commit is contained in:
parent
b3df572f31
commit
15c50e68eb
2 changed files with 5 additions and 5 deletions
|
@ -104,7 +104,7 @@ export function buildHistogram(
|
||||||
return [null, []];
|
return [null, []];
|
||||||
}
|
}
|
||||||
|
|
||||||
const adjustedRange = scaleLinear().range([0.8, 0.3]);
|
const adjustedRange = scaleLinear().range([0.7, 0.3]);
|
||||||
const colourScale = scaleSequential((n) =>
|
const colourScale = scaleSequential((n) =>
|
||||||
interpolateGreens(adjustedRange(n))
|
interpolateGreens(adjustedRange(n))
|
||||||
).domain([xMin!, xMax!]);
|
).domain([xMin!, xMax!]);
|
||||||
|
|
|
@ -107,9 +107,9 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.graph .area {
|
.graph .area {
|
||||||
opacity: 0.05;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
fill: $day-fg;
|
fill: #00000008;
|
||||||
|
stroke: #00000015;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hoverzone rect {
|
.hoverzone rect {
|
||||||
|
@ -180,8 +180,8 @@ body.night-mode {
|
||||||
color: $night-fg;
|
color: $night-fg;
|
||||||
}
|
}
|
||||||
.graph .area {
|
.graph .area {
|
||||||
fill: $night-fg;
|
fill: #ffffff15;
|
||||||
opacity: 0.1;
|
stroke: #00000030;
|
||||||
}
|
}
|
||||||
.no-data rect {
|
.no-data rect {
|
||||||
fill: $night-bg;
|
fill: $night-bg;
|
||||||
|
|
Loading…
Reference in a new issue