feat: restyle statistics tab — stat cards, charts, recent sessions table

This commit is contained in:
2026-03-21 21:27:18 +01:00
parent 374899e839
commit 9d240c3a80
6 changed files with 63 additions and 68 deletions

View File

@@ -29,8 +29,8 @@ export function DailyActivityChart({ data }: DailyActivityChartProps) {
{
label: 'Sessions',
data: data.map((item) => item.sessionsCount),
backgroundColor: 'rgba(59, 130, 246, 0.8)',
borderColor: 'rgb(59, 130, 246)',
backgroundColor: '#3fb950',
borderColor: '#3fb950',
borderWidth: 1
}
]
@@ -43,27 +43,27 @@ export function DailyActivityChart({ data }: DailyActivityChartProps) {
legend: {
position: 'top' as const,
labels: {
color: '#e5e7eb'
color: '#e6edf3'
}
}
},
scales: {
x: {
ticks: {
color: '#9ca3af'
color: '#8b949e'
},
grid: {
color: '#374151'
color: '#21262d'
}
},
y: {
beginAtZero: true,
ticks: {
color: '#9ca3af',
color: '#8b949e',
stepSize: 1
},
grid: {
color: '#374151'
color: '#21262d'
}
}
}