File: 032-bootswatch-emphasis-color.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 (182 lines) | stat: -rw-r--r-- 6,088 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
diff --git a/inst/lib/bsw5/dist/cyborg/_bootswatch.scss b/inst/lib/bsw5/dist/cyborg/_bootswatch.scss
index f73f1ffd..f9aa30d6 100644
--- a/inst/lib/bsw5/dist/cyborg/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/cyborg/_bootswatch.scss
@@ -125,11 +125,6 @@ legend {
   }
 }
 
-.tooltip {
-  --bs-tooltip-bg: var(--bs-tertiary-bg);
-  --bs-tooltip-color: var(--bs-emphasis-color);
-}
-
 // Containers
 
 .list-group-item-action {
diff --git a/inst/lib/bsw5/dist/cyborg/_variables.scss b/inst/lib/bsw5/dist/cyborg/_variables.scss
index cc7af81f..11230819 100755
--- a/inst/lib/bsw5/dist/cyborg/_variables.scss
+++ b/inst/lib/bsw5/dist/cyborg/_variables.scss
@@ -190,3 +190,13 @@ $btn-close-hover-opacity:    1 !default;
 // Code
 
 $pre-color:                         inherit !default;
+
+// Dark color mode
+
+$body-emphasis-color:               $body-color !default;
+$body-emphasis-color-dark:          $body-color !default;
+
+// Tooltips
+
+$tooltip-bg:                        $body-color !default;
+$tooltip-color:                     $body-bg !default;
\ No newline at end of file
diff --git a/inst/lib/bsw5/dist/darkly/_bootswatch.scss b/inst/lib/bsw5/dist/darkly/_bootswatch.scss
index e7f15d3f..e33682fc 100644
--- a/inst/lib/bsw5/dist/darkly/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/darkly/_bootswatch.scss
@@ -80,8 +80,3 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
     }
   }
 }
-
-.tooltip {
-  --bs-tooltip-bg: var(--bs-tertiary-bg);
-  --bs-tooltip-color: var(--bs-emphasis-color);
-}
diff --git a/inst/lib/bsw5/dist/darkly/_variables.scss b/inst/lib/bsw5/dist/darkly/_variables.scss
index dc997b4a..1e7f05f6 100755
--- a/inst/lib/bsw5/dist/darkly/_variables.scss
+++ b/inst/lib/bsw5/dist/darkly/_variables.scss
@@ -182,3 +182,13 @@ $btn-close-hover-opacity:    1 !default;
 // Code
 
 $pre-color:                         inherit !default;
+
+// Dark color mode
+
+$body-emphasis-color:                  $body-color !default;
+$body-emphasis-color-dark:             $body-color !default;
+
+// Tooltips
+
+$tooltip-bg:                           $body-color !default;
+$tooltip-color:                        $body-bg !default;
\ No newline at end of file
diff --git a/inst/lib/bsw5/dist/slate/_bootswatch.scss b/inst/lib/bsw5/dist/slate/_bootswatch.scss
index 0c44ebc7..7c7e4222 100644
--- a/inst/lib/bsw5/dist/slate/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/slate/_bootswatch.scss
@@ -310,11 +310,6 @@ legend {
   }
 }
 
-.tooltip {
-  --bs-tooltip-bg: var(--bs-tertiary-bg);
-  --bs-tooltip-color: var(--bs-emphasis-color);
-}
-
 // Containers
 
 .list-group {
diff --git a/inst/lib/bsw5/dist/slate/_variables.scss b/inst/lib/bsw5/dist/slate/_variables.scss
index 266a803c..11259a3b 100755
--- a/inst/lib/bsw5/dist/slate/_variables.scss
+++ b/inst/lib/bsw5/dist/slate/_variables.scss
@@ -195,3 +195,13 @@ $breadcrumb-border-radius:          .25rem !default;
 // Code
 
 $pre-color:                         inherit !default;
+
+// Dark color mode
+
+$body-emphasis-color:               $body-color !default;
+$body-emphasis-color-dark:          $body-color !default;
+
+// Tooltips
+
+$tooltip-bg:                        $body-color !default;
+$tooltip-color:                     $body-bg !default;
\ No newline at end of file
diff --git a/inst/lib/bsw5/dist/solar/_bootswatch.scss b/inst/lib/bsw5/dist/solar/_bootswatch.scss
index 050b09d6..34d4f2c6 100644
--- a/inst/lib/bsw5/dist/solar/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/solar/_bootswatch.scss
@@ -59,8 +59,3 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@4
     color: $dark;
   }
 }
-
-.tooltip {
-  --bs-tooltip-bg: var(--bs-tertiary-bg);
-  --bs-tooltip-color: var(--bs-emphasis-color);
-}
diff --git a/inst/lib/bsw5/dist/solar/_variables.scss b/inst/lib/bsw5/dist/solar/_variables.scss
index 0ba319e6..1b9cb74c 100755
--- a/inst/lib/bsw5/dist/solar/_variables.scss
+++ b/inst/lib/bsw5/dist/solar/_variables.scss
@@ -188,3 +188,13 @@ $btn-close-color:                       $white !default;
 // Code
 
 $pre-color:                         inherit !default;
+
+// Dark color mode
+
+$body-emphasis-color:               $body-color !default;
+$body-emphasis-color-dark:          $body-color !default;
+
+// Tooltips
+
+$tooltip-bg:                        $body-color !default;
+$tooltip-color:                     $body-bg !default;
\ No newline at end of file
diff --git a/inst/lib/bsw5/dist/superhero/_bootswatch.scss b/inst/lib/bsw5/dist/superhero/_bootswatch.scss
index 05268312..79c81b62 100644
--- a/inst/lib/bsw5/dist/superhero/_bootswatch.scss
+++ b/inst/lib/bsw5/dist/superhero/_bootswatch.scss
@@ -127,11 +127,6 @@ label,
   }
 }
 
-.tooltip {
-  --bs-tooltip-bg: var(--bs-tertiary-bg);
-  --bs-tooltip-color: var(--bs-emphasis-color);
-}
-
 // Popovers
 
 .popover-header {
diff --git a/inst/lib/bsw5/dist/superhero/_variables.scss b/inst/lib/bsw5/dist/superhero/_variables.scss
index b6cd5b90..3c734a86 100755
--- a/inst/lib/bsw5/dist/superhero/_variables.scss
+++ b/inst/lib/bsw5/dist/superhero/_variables.scss
@@ -198,3 +198,13 @@ $btn-close-hover-opacity:    1 !default;
 // Code
 
 $pre-color:                         inherit !default;
+
+// Dark color mode
+
+$body-emphasis-color:               $body-color !default;
+$body-emphasis-color-dark:          $body-color !default;
+
+// Tooltips
+
+$tooltip-bg:                        $body-color !default;
+$tooltip-color:                     $body-bg !default;
\ No newline at end of file
diff --git a/inst/lib/bsw5/dist/vapor/_variables.scss b/inst/lib/bsw5/dist/vapor/_variables.scss
index 8170fa72..8a458f68 100755
--- a/inst/lib/bsw5/dist/vapor/_variables.scss
+++ b/inst/lib/bsw5/dist/vapor/_variables.scss
@@ -170,3 +170,7 @@ $list-group-action-active-bg:       $list-group-hover-bg !default;
 
 $breadcrumb-divider-color:          $text-muted !default;
 $breadcrumb-active-color:           $component-active-bg !default;
+
+
+$body-emphasis-color:                  #54FBE2 !default;
+$body-emphasis-color-dark:             #54FBE2 !default;
\ No newline at end of file