mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 07:49:01 +08:00
fix: light mode issues are fixed (#1319)
Co-authored-by: Ankit Nayan <ankit@signoz.io>
This commit is contained in:
parent
d0e272b679
commit
a25e7a64ce
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user