File: 006-bootswatch-spacelab.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 (31 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/inst/lib/bsw4/dist/spacelab/_bootswatch.scss b/inst/lib/bsw4/dist/spacelab/_bootswatch.scss
index ba1f005..1f89f49 100644
--- a/inst/lib/bsw4/dist/spacelab/_bootswatch.scss
+++ b/inst/lib/bsw4/dist/spacelab/_bootswatch.scss
@@ -20,7 +20,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, .1);
+    text-shadow: -1px -1px 0 rgba($black, .1);
     transition: color ease-in-out .2s;
   }
 
@@ -37,7 +37,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
 
     .nav-link,
     .navbar-brand {
-      text-shadow: 1px 1px 0 rgba(255, 255, 255, .1);
+      text-shadow: 1px 1px 0 rgba($white, .1);
     }
 
     .navbar-brand {
@@ -53,7 +53,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;