Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: light mode issues are fixed (#1319)

Palasha25e7a64ceb3
diff --git a/frontend/src/index.html.ejs b/frontend/src/index.html.ejs
index c5e79d2e89..34fe2fb0c0 100644
--- a/frontend/src/index.html.ejs
+++ b/frontend/src/index.html.ejs
@@ -55,7 +55,7 @@
id="appMode"
rel="stylesheet"
type="text/css"
- href="/css/antd.dark.min.css"
+ rel="preload"
/>
</head>
<body>
@@ -64,13 +64,7 @@
<script>
const themeNode = document.getElementById('appMode');
- let userTheme;
-
- try {
- userTheme = localStorage.getItem('theme');
- } catch (e) {
- userTheme = '';
- }
+ let userTheme = localStorage.getItem('theme') || "";
if (userTheme === 'lightMode') {
themeNode.setAttribute('href', '/css/antd.min.css');