dark mode improvements
This commit is contained in:
@@ -104,6 +104,7 @@ export function ReportAreaChart({
|
|||||||
strokeDasharray="3 3"
|
strokeDasharray="3 3"
|
||||||
horizontal={true}
|
horizontal={true}
|
||||||
vertical={false}
|
vertical={false}
|
||||||
|
className="stroke-slate-300"
|
||||||
/>
|
/>
|
||||||
</AreaChart>
|
</AreaChart>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -47,7 +47,11 @@ export function ReportHistogramChart({
|
|||||||
<ResponsiveContainer>
|
<ResponsiveContainer>
|
||||||
{({ width, height }) => (
|
{({ width, height }) => (
|
||||||
<BarChart width={width} height={height} data={rechartData}>
|
<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 />} />
|
<Tooltip content={<ReportChartTooltip />} cursor={<BarHover />} />
|
||||||
<XAxis
|
<XAxis
|
||||||
fontSize={12}
|
fontSize={12}
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ export function ReportLineChart({
|
|||||||
strokeDasharray="3 3"
|
strokeDasharray="3 3"
|
||||||
horizontal={true}
|
horizontal={true}
|
||||||
vertical={false}
|
vertical={false}
|
||||||
|
className="stroke-slate-300"
|
||||||
/>
|
/>
|
||||||
{references.map((ref) => (
|
{references.map((ref) => (
|
||||||
<ReferenceLine
|
<ReferenceLine
|
||||||
@@ -93,6 +94,7 @@ export function ReportLineChart({
|
|||||||
return (
|
return (
|
||||||
<React.Fragment key={serie.name}>
|
<React.Fragment key={serie.name}>
|
||||||
<Line
|
<Line
|
||||||
|
dot={false}
|
||||||
type={lineType}
|
type={lineType}
|
||||||
key={serie.name}
|
key={serie.name}
|
||||||
name={serie.name}
|
name={serie.name}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ const TableHead = React.forwardRef<
|
|||||||
<th
|
<th
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
className={cn(
|
||||||
'h-10 border-b border-border bg-slate-50 px-4 text-left align-middle text-sm font-medium text-muted-foreground text-slate-500 shadow-[0_0_0_0.5px] shadow-border [&:has([role=checkbox])]:pr-0',
|
'h-10 border-b border-border bg-slate-100 px-4 text-left align-middle text-sm font-medium text-muted-foreground shadow-[0_0_0_0.5px] shadow-border [&:has([role=checkbox])]:pr-0',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
Reference in New Issue
Block a user