forked from sugarlabs/musicblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdarkmode.css
More file actions
80 lines (65 loc) · 1.48 KB
/
darkmode.css
File metadata and controls
80 lines (65 loc) · 1.48 KB
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
/* Light Mode Defaults */
body {
--bg: #e8e8e8;
--fg: #666666;
--overlay-bg: rgba(255, 255, 255, 0.75);
}
/* Dark Mode Overrides */
body.dark {
--bg: #1d1d20;
--fg: #e8e8e8;
--overlay-bg: rgba(15, 15, 16, 0.75);
background: var(--bg);
color: var(--fg);
}
/* Help widget colors */
.dark #helpBodyDiv {
background: #505050;
color: var(--fg);
}
.dark #helpBodyDiv>.heading,
.dark #helpBodyDiv p {
color: var(--fg);
}
/* Fix white side bars in Help / Tour widget */
.dark #floatingWindows .wfWinBody {
background-color: var(--bg) !important;
}
.dark #floatingWindows .windowFrame {
background-color: var(--bg) !important;
}
/* Trash view colors for dark mode */
.dark .trash-view {
background-color: #2d2d2d;
color: #e8e8e8;
border: 2px solid #4a9eff;
}
.dark .button-container {
background: #022363;
border-bottom: 1px solid #444444;
}
.dark .trash-item.hover {
background-color: #444444;
}
.dark .trash-item.selected {
background-color: #555555;
}
/* Improve block icon visibility in dark mode */
.dark .trash-item-icon {
background-color: rgba(255, 255, 255, 0.855);
border-radius: 3px;
padding: 2px;
}
/* Window table colors for dark mode */
.dark .windowFrame td {
background-color: #022363 !important;
color: #eeeeee !important;
}
.dark .windowFrame td.headcol {
background-color: #363636 !important;
color: #ffffff !important;
}
/* Ensure bold text in cells is also light colored */
.dark .windowFrame td b {
color: #ffffff !important;
}