dark by default

This commit is contained in:
Ryan Peters 2024-12-16 15:05:25 -05:00
parent e20e8d907f
commit 255b62a3b3
2 changed files with 1 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
</head>
<body>
<body class="dark">
@RenderBody()
<script src="~/lib/jquery/dist/jquery.min.js"></script>

View File

@ -63,11 +63,6 @@ $(function () {
});
});
// set dark mode
if (window.location.hash == '#dark') {
$('body').addClass('dark');
}
let timer = null;
const ignoredKeyCodes = [17, 18, 20, 27, 37, 38, 39, 40, 91];