dark mode improvements

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-04-02 11:37:11 +02:00
parent 715867678a
commit 1a0d9d9e9d
4 changed files with 9 additions and 2 deletions

View File

@@ -104,6 +104,7 @@ export function ReportAreaChart({
strokeDasharray="3 3"
horizontal={true}
vertical={false}
className="stroke-slate-300"
/>
</AreaChart>
)}

View File

@@ -47,7 +47,11 @@ export function ReportHistogramChart({
<ResponsiveContainer>
{({ width, height }) => (
<BarChart width={width} height={height} data={rechartData}>
<CartesianGrid strokeDasharray="3 3" vertical={false} />
<CartesianGrid
strokeDasharray="3 3"
vertical={false}
className="stroke-slate-300"
/>
<Tooltip content={<ReportChartTooltip />} cursor={<BarHover />} />
<XAxis
fontSize={12}

View File

@@ -54,6 +54,7 @@ export function ReportLineChart({
strokeDasharray="3 3"
horizontal={true}
vertical={false}
className="stroke-slate-300"
/>
{references.map((ref) => (
<ReferenceLine
@@ -93,6 +94,7 @@ export function ReportLineChart({
return (
<React.Fragment key={serie.name}>
<Line
dot={false}
type={lineType}
key={serie.name}
name={serie.name}