diff --git a/site/src/components/ActivityCharts.svelte b/site/src/components/ActivityCharts.svelte index f79ceea..4a3f807 100644 --- a/site/src/components/ActivityCharts.svelte +++ b/site/src/components/ActivityCharts.svelte @@ -185,7 +185,7 @@ return Plot.plot({ width: w, height: h, marginLeft: 48, marginBottom: 32, - style: { background: 'transparent', color: '#a1a1aa', fontSize: '11px' }, + style: { background: 'transparent', color: 'var(--text-4, #a1a1aa)', fontSize: '11px' }, x: { label: null, tickFormat: xTickFormat, grid: false, ticks: 6 }, y: { label: yLabel, grid: true, tickCount: 4 }, marks, @@ -216,7 +216,7 @@ return Plot.plot({ width: w, height: h, marginLeft: 48, marginBottom: 32, - style: { background: 'transparent', color: '#a1a1aa', fontSize: '11px' }, + style: { background: 'transparent', color: 'var(--text-4, #a1a1aa)', fontSize: '11px' }, x: { label: yLabel, grid: false, domain: [clampedZones[0][0], clampedZones[clampedZones.length - 1][1]] }, y: { label: 'Time', grid: true, tickCount: 4, tickFormat: yTickFormat }, marks: [ @@ -274,7 +274,7 @@ return Plot.plot({ width: w, height: h, marginLeft: 48, marginBottom: 32, - style: { background: 'transparent', color: '#a1a1aa', fontSize: '11px' }, + style: { background: 'transparent', color: 'var(--text-4, #a1a1aa)', fontSize: '11px' }, x: { label: yLabel, grid: false, ticks: 6, domain: [trimMin, trimMax] }, y: { label: 'Time', grid: true, tickCount: 4, tickFormat: yTickFormat }, marks, diff --git a/site/src/layouts/Base.astro b/site/src/layouts/Base.astro index 93bd395..4548def 100644 --- a/site/src/layouts/Base.astro +++ b/site/src/layouts/Base.astro @@ -6,36 +6,134 @@ interface Props { const { title = 'BincioActivity', description = 'Your personal activity stats' } = Astro.props; --- - + {title} - - -