Smoothen transition between color modes

This commit is contained in:
Mark Dumay
2024-06-03 10:02:58 +02:00
parent 107077f5ec
commit 1bf4e74e56
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
@if $enable-dark-mode {
body {
transition: background-color 0.5s, color 0.5s;
}
}
//
// Remove underline from all links
//

View File

@@ -1,8 +1,6 @@
// stylelint-disable annotation-no-unknown
// Source: https://jsfiddle.net/njhgr40m/
.navbar {
--bs-navbar-expanded-color: var(--bs-body-bg);
--bs-navbar-toggler-color: var(--bs-navbar-hover-color);