From 86e1da2596844dff018edddf1133a7a2f0e26c56 Mon Sep 17 00:00:00 2001 From: dvorakmortonxd Date: Sat, 16 May 2026 00:12:09 +0200 Subject: [PATCH] added a new color and changed up the colors of the text in the forgejo heatmap section --- src/app/components/ContributionHeatmap.tsx | 10 +++++----- src/app/page.css | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/components/ContributionHeatmap.tsx b/src/app/components/ContributionHeatmap.tsx index 81482de..ddfb5ed 100644 --- a/src/app/components/ContributionHeatmap.tsx +++ b/src/app/components/ContributionHeatmap.tsx @@ -128,7 +128,7 @@ export default function ContributionHeatmap() {
- martin@git.dvorakmortonxd.dev:~$ echo "{totalContribs} contributions in the last year" + martin@git.dvorakmortonxd.dev:~$ echo "{totalContribs} contributions in the last year"
@@ -152,7 +152,7 @@ export default function ContributionHeatmap() {
{hoveredCell ? ( - {hoveredCell.contribs} contributions on {hoveredCell.date} + {hoveredCell.contribs} contributions on {hoveredCell.date} ) : ( Hover over a day to see contributions )} @@ -171,7 +171,7 @@ export default function ContributionHeatmap() { {activities.length > 0 && (
- martin@git.dvorakmortonxd.dev:~$ git log -n 3 #displays my 3 latest contributions + martin@git.dvorakmortonxd.dev:~$ git log -n 3 #displays my 3 latest contributions
{activities.map((act, idx) => { let msg = "No message"; @@ -188,9 +188,9 @@ export default function ContributionHeatmap() { return (
-
+
repo: {act.repo?.full_name || "unknown"} - + {new Date(act.created).toLocaleDateString()}-{new Date(act.created).toLocaleTimeString()}
diff --git a/src/app/page.css b/src/app/page.css index ac23752..90d0bd5 100644 --- a/src/app/page.css +++ b/src/app/page.css @@ -26,6 +26,7 @@ --bg-hard: #32302f; --fg: #ebdbb2; --gray: #a89984; + --prettypurple: #733999; --accent: #fabd2f; /* Gruvbox Yellow */ --accent2: #fe8019; /* Gruvbox Orange */ --accent3: #d79921; /* Gruvbox Dark Yellow */