We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74fda8c commit 4316fa1Copy full SHA for 4316fa1
inst/BS5/assets/pkgdown.scss
@@ -26,8 +26,13 @@
26
27
/* navbar =================================================================== */
28
29
-$pkgdown-navbar-bg: null !default;
30
-$pkgdown-navbar-bg-dark: null !default;
+// pkgdown will follow bslib navbar variables by default
+$navbar-bg: null !default;
31
+$navbar-light-bg: if($navbar-bg, $navbar-bg, null) !default;
32
+$navbar-dark-bg: if($navbar-bg, $navbar-bg, null) !default;
33
+
34
+$pkgdown-navbar-bg: if($navbar-light-bg, $navbar-light-bg, null) !default;
35
+$pkgdown-navbar-bg-dark: if($navbar-dark-bg, $navbar-dark-bg, null) !default;
36
37
// BS navbars appears to be designed with the idea that you have a coloured
38
// navbar that looks the same in both light and dark mode. We prefer a mildly
0 commit comments