give dark mode some love 🖤

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-31 22:25:07 +02:00
parent ff31cc506c
commit 1665924073
77 changed files with 256 additions and 199 deletions

View File

@@ -81,7 +81,7 @@ export function OverviewLiveHistogram({
{staticArray.map((percent, i) => (
<div
key={i}
className="flex-1 animate-pulse rounded bg-slate-200 dark:bg-slate-800"
className="bg-def-200 flex-1 animate-pulse rounded"
style={{ height: `${percent}%` }}
/>
))}
@@ -102,7 +102,7 @@ export function OverviewLiveHistogram({
<div
className={cn(
'flex-1 rounded transition-all ease-in-out hover:scale-110',
minute.count === 0 ? 'bg-slate-200' : 'bg-blue-600'
minute.count === 0 ? 'bg-def-200' : 'bg-highlight'
)}
style={{
height:

View File

@@ -199,7 +199,7 @@ export default function OverviewMetrics({ projectId }: OverviewMetricsProps) {
key={index}
className={cn(
'col-span-2 flex-1 p-4 shadow-[0_0_0_0.5px] shadow-border md:col-span-1',
index === metric && 'bg-slate-50'
index === metric && 'bg-def-100'
)}
onClick={() => {
setMetric(index);