CSS
Enable Dark Mode from the html template by adding the .dark-mode
class on the <html>
tag. Also, make sure to load dist/assets/css/dark-mode.css
after the main application CSS file dist/assets/css/app.css
.
<html lang="en"
dir="ltr"
class="dark-mode">
<head>
<!-- App CSS -->
<link type="text/css"
href="assets/css/app.css"
rel="stylesheet">
<!-- Dark Mode CSS -->
<link type="text/css"
href="assets/css/dark-mode.css"
rel="stylesheet">
</head>
</html>
Frontend Matter
Beautifully crafted Bootstrap themes and templates for modern web apps.
Copyright 2020 © All rights reserved.
Illustrations by Freepik Storyset