From 676b6046451b786ea6c70a17cb531801235f8f71 Mon Sep 17 00:00:00 2001 From: Veda Vyasa <2400040217@kluniversity.in> Date: Sat, 25 Oct 2025 17:04:39 +0530 Subject: [PATCH 1/2] refactor: remove Theme.js code duplication --- frontend/src/util/themes/index.js | 5 ----- src/themes/themes.js | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/frontend/src/util/themes/index.js b/frontend/src/util/themes/index.js index 3b9f7cd1..f849a8c3 100644 --- a/frontend/src/util/themes/index.js +++ b/frontend/src/util/themes/index.js @@ -4,11 +4,6 @@ const themes = { author_color: "#333", bg_color: "#fffefe", }, - "default_repocard": { - quote_color: "#2f80ed", - author_color: "#333", - bg_color: "#fffefe", - }, "dark": { quote_color: "#fff", author_color: "#9f9f9f", diff --git a/src/themes/themes.js b/src/themes/themes.js index c0c817b1..b41239d9 100644 --- a/src/themes/themes.js +++ b/src/themes/themes.js @@ -79,11 +79,7 @@ const themes = { author_color: "#333", bg_color: "#fffefe", }, - "default_repocard": { - quote_color: "#2f80ed", - author_color: "#333", - bg_color: "#fffefe", - }, + "dracula": { quote_color: "#ff6e96", author_color: "#f8f8f2", From a1c7239c553557e224700ee07833b275a95f0f0d Mon Sep 17 00:00:00 2001 From: Veda Vyasa <2400040217@kluniversity.in> Date: Sun, 26 Oct 2025 21:06:43 +0530 Subject: [PATCH 2/2] fix: clean up theme duplication in src/themes/themes.js --- src/themes/themes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/themes/themes.js b/src/themes/themes.js index b41239d9..70c45e81 100644 --- a/src/themes/themes.js +++ b/src/themes/themes.js @@ -79,7 +79,6 @@ const themes = { author_color: "#333", bg_color: "#fffefe", }, - "dracula": { quote_color: "#ff6e96", author_color: "#f8f8f2",