File: 006-bootswatch-spacelab-bs5.patch

package info (click to toggle)
r-cran-bslib 0.9.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,412 kB
  • sloc: javascript: 13,349; makefile: 33; sh: 23
file content (22 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/inst/lib/bsw5/dist/spacelab/_bootswatch.scss b/inst/lib/bsw5/dist/spacelab/_bootswatch.scss
index 815fbe7a..e0a303ec 100644
--- a/inst/lib/bsw5/dist/spacelab/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/spacelab/_bootswatch.scss
@@ -22,7 +22,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
 .navbar {
   .nav-link,
   .navbar-brand {
-    text-shadow: -1px -1px 0 rgba(0, 0, 0, .05);
+    text-shadow: -1px -1px 0 rgba($black, .05);
     transition: color ease-in-out .2s;
   }
 
@@ -51,7 +51,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
 // Buttons
 
 .btn {
-  text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
+  text-shadow: -1px -1px 0 rgba($black, .1);
 
   &-link {
     text-shadow: none;