diff --git a/frontend/src/index.html.ejs b/frontend/src/index.html.ejs
index f3a7e7879a..c5e79d2e89 100644
--- a/frontend/src/index.html.ejs
+++ b/frontend/src/index.html.ejs
@@ -1,40 +1,82 @@
-
-
- Open source Observability platform | SigNoz
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+ Open source Observability platform | SigNoz
+
+
+
+
+
+
+
+
+
+
+
-
-
+ try {
+ userTheme = localStorage.getItem('theme');
+ } catch (e) {
+ userTheme = '';
+ }
+
+ if (userTheme === 'lightMode') {
+ themeNode.setAttribute('href', '/css/antd.min.css');
+ } else {
+ themeNode.setAttribute('href', '/css/antd.dark.min.css');
+ }
+
+