From f940a4712a626cd261d736f40c65703363dc272a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 22 Dec 2023 03:14:58 -0800
Subject: fix(lib): remove leftovers

---
 src/lib/Tools/ActivityHistory.svelte | 26 --------------------------
 1 file changed, 26 deletions(-)

(limited to 'src/lib/Tools/ActivityHistory.svelte')

diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte
index 8194ad0a..e0ad7e58 100644
--- a/src/lib/Tools/ActivityHistory.svelte
+++ b/src/lib/Tools/ActivityHistory.svelte
@@ -18,7 +18,6 @@
 
 	let activityHistoryData: Promise<ActivityHistoryEntry[]>;
 	let currentUserIdentity = { name: '', id: -1 };
-	let baseHue = Math.floor(Math.random() * 360);
 	let generated = false;
 
 	onMount(async () => {
@@ -39,12 +38,6 @@
 	// 	return date;
 	// };
 
-	const gradientColour = (amount: number, maxAmount: number, baseHue: number) => {
-		const lightness = 100 - Math.round((amount / maxAmount) * 50);
-
-		return `hsl(${baseHue}, 100%, ${lightness}%)`;
-	};
-
 	const screenshot = async () => {
 		let element = document.querySelector('.grid') as HTMLElement;
 
@@ -122,22 +115,3 @@
 		{/if}
 	{/await}
 {/if}
-
-<style>
-	.grid {
-		display: grid;
-		grid-template-columns: repeat(52, 1fr);
-		grid-template-rows: repeat(7, 1fr);
-		/* gap: 2px; */
-		grid-auto-flow: column;
-		width: min-content;
-		background-color: white;
-	}
-	.grid-item {
-		width: 20px;
-		height: 20px;
-		/* width: 3.25vw; */
-		/* height: 3.25vw; */
-		/* border: 1px solid #ccc; */
-	}
-</style>
-- 
cgit v1.2.3

