Update index for theme updating
This commit is contained in:
parent
adcf7fcc9f
commit
fe72087c33
1 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,12 @@
|
|||
|
||||
<!-- Stylesheets -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@800&display=swap" rel="stylesheet">
|
||||
<link href="" id="theme" rel="stylesheet">
|
||||
|
||||
<script>
|
||||
var theme = localStorage.getItem(`tl-theme`) || `dark`;
|
||||
document.getElementById(`theme`).href = '/static/css/theme/' + theme + '.css';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue