Skip to content

Commit 3a315df

Browse files
committed
fix: use lighter background for dark mode tooltips
1 parent cb12dd1 commit 3a315df

File tree

1 file changed

+19
-54
lines changed

1 file changed

+19
-54
lines changed

css/themes.css

Lines changed: 19 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,6 @@
77
transform: translateX(-25%) !important;
88
}
99

10-
.dark #themedropdown {
11-
background-color: transparent !important;
12-
}
13-
14-
.dark #themedropdown li {
15-
background-color: transparent !important;
16-
}
17-
18-
.dark #themedropdown li a {
19-
background-color: transparent !important;
20-
}
21-
2210
#themedropdown a {
2311
color: #2196f3;
2412
transition: all 0.3s ease;
@@ -44,15 +32,9 @@
4432
background-color: #01143b !important;
4533
}
4634

47-
<<<<<<< HEAD
48-
.dark #floatingWindows>.windowFrame {
49-
border: 2px solid var(--border);
50-
background-color: var(--bg);
51-
=======
5235
.dark #floatingWindows > .windowFrame {
53-
border: 2px solid #000000;
54-
background-color: #454545;
55-
>>>>>>> 8d08ec0a (fix: improve dark mode contrast for tooltips and theme dropdown)
36+
border: 2px solid var(--border);
37+
background-color: var(--bg);
5638
}
5739

5840
.dark .wfbtItem {
@@ -63,9 +45,9 @@
6345
color: #e8e8e8;
6446
}
6547

66-
.dark #floatingWindows>.windowFrame>.wfWinBody .wfbWidget {
67-
color: #ccc !important;
68-
background-color: #3f3f44 !important;
48+
.dark #floatingWindows > .windowFrame > .wfWinBody .wfbWidget {
49+
color: #ccc !important;
50+
background-color: #3f3f44 !important;
6951
}
7052

7153
.dark .popupMsg {
@@ -78,12 +60,7 @@
7860
}
7961

8062
.dark #loading-image-container {
81-
<<<<<<< HEAD
82-
background-color: var(--bg) !important;
83-
=======
84-
background: #1a1a1a !important;
85-
background-color: #1a1a1a !important;
86-
>>>>>>> 8d08ec0a (fix: improve dark mode contrast for tooltips and theme dropdown)
63+
background-color: var(--bg) !important;
8764
}
8865

8966
.dark #loadingText {
@@ -94,33 +71,20 @@
9471
color: #fff;
9572
}
9673

97-
<<<<<<< HEAD
9874
.modal-content {
99-
background-color: var(--panel-bg);
100-
color: var(--fg);
101-
=======
102-
.dark .modal-content {
103-
background-color: #1c1c1c;
104-
color: #fff;
105-
>>>>>>> 8d08ec0a (fix: improve dark mode contrast for tooltips and theme dropdown)
75+
background-color: var(--panel-bg);
76+
color: var(--fg);
10677
}
10778

10879
.dark #submitLilypond {
10980
background-color: rgb(0, 102, 255);
11081
}
11182

11283
.dark #search,
113-
<<<<<<< HEAD
11484
.dark #helpfulSearch,
11585
.dark .ui-autocomplete {
116-
background-color: #1c1c1c !important;
117-
color: #fff !important;
118-
=======
119-
#helpfulSearch,
120-
.ui-autocomplete {
12186
background-color: #1c1c1c !important;
12287
color: #fff !important;
123-
>>>>>>> 8d08ec0a (fix: improve dark mode contrast for tooltips and theme dropdown)
12488
}
12589

12690
.dark .ui-autocomplete li:hover {
@@ -178,20 +142,21 @@
178142
.dark #confirmation-message {
179143
color: #e2e2e2;
180144
}
145+
181146
body {
182-
--border: #cccccc;
183-
--bg: #ffffff;
184-
--fg: #666666;
185-
--panel-bg: #f5f5f5;
186-
--accent: #2196F3;
147+
--border: #cccccc;
148+
--bg: #ffffff;
149+
--fg: #666666;
150+
--panel-bg: #f5f5f5;
151+
--accent: #2196f3;
187152
}
188153

189154
body.dark {
190-
--border: #000000;
191-
--bg: #1d1d20;
192-
--fg: #e8e8e8;
193-
--panel-bg: #1c1c1c;
194-
--accent: #3fe0d1;
155+
--border: #000000;
156+
--bg: #1d1d20;
157+
--fg: #e8e8e8;
158+
--panel-bg: #1c1c1c;
159+
--accent: #3fe0d1;
195160
}
196161

197162
/* Your Custom Theme can go here if you don't want to modify the existing dark mode */

0 commit comments

Comments
 (0)