我做了一下夜间模式适配
@media (min-width:768px) {
#header {
& when (@config-dark-mode = false) {
background:rgba(255,255,255,0.6) !important;
-webkit-backdrop-filter:blur(8px);
backdrop-filter:blur(3px);
}
& when (@config-dark-mode = true) {
background:rgba(0,0,0,0.6) !important;
-webkit-backdrop-filter:blur(8px);
backdrop-filter:blur(3px);
}
}
}