File: 006-bootswatch-minty.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 (76 lines) | stat: -rw-r--r-- 1,598 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
diff --git a/inst/lib/bsw4/dist/minty/_bootswatch.scss b/inst/lib/bsw4/dist/minty/_bootswatch.scss
index 8a4c6bf..03e2c0d 100644
--- a/inst/lib/bsw4/dist/minty/_bootswatch.scss
+++ b/inst/lib/bsw4/dist/minty/_bootswatch.scss
@@ -25,57 +25,6 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;50
 
 .btn {
   font-family: $headings-font-family;
-
-  &,
-  &:hover {
-    color: $white;
-  }
-
-  &-light,
-  &-light:hover {
-    color: $gray-700;
-  }
-
-  &-link,
-  &-link:hover {
-    color: $primary;
-  }
-
-  &-link.disabled:hover {
-    color: $gray-600;
-  }
-
-  &-outline-primary {
-    color: $primary;
-  }
-
-  &-outline-secondary {
-    color: $secondary;
-  }
-
-  &-outline-success {
-    color: $success;
-  }
-
-  &-outline-info {
-    color: $info;
-  }
-
-  &-outline-warning {
-    color: $warning;
-  }
-
-  &-outline-danger {
-    color: $danger;
-  }
-
-  &-outline-dark {
-    color: $dark;
-  }
-
-  &-outline-light {
-    color: $light;
-  }
 }
 
 // Tables ======================================================================
diff --git a/inst/lib/bsw4/dist/minty/_variables.scss b/inst/lib/bsw4/dist/minty/_variables.scss
index 3fbe64e..e467b7d 100755
--- a/inst/lib/bsw4/dist/minty/_variables.scss
+++ b/inst/lib/bsw4/dist/minty/_variables.scss
@@ -40,7 +40,8 @@ $dark:          $gray-800 !default;
 
 // Body
 
-$body-color:                $gray-600 !default;
+$body-color:                $gray-700 !default;
+$color-contrast-dark:      $body-color !default; // Prefer $body-color over $black inside color-contrast()
 
 // Components