-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathdarkmode.css
More file actions
106 lines (87 loc) · 2.07 KB
/
darkmode.css
File metadata and controls
106 lines (87 loc) · 2.07 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
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
/* 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);
}
/* High Contrast Mode Overrides */
body.highcontrast {
--bg: #000000;
--fg: #ffffff;
--overlay-bg: rgba(0, 0, 0, 0.9);
background: var(--bg);
color: var(--fg);
}
/* High contrast icon styles */
.highcontrast .material-icons {
color: #ffffff !important;
text-shadow: none !important;
}
/* High contrast hover box outlines */
.highcontrast .tooltip,
.highcontrast .hover-box {
border: 2px solid #ffff00 !important;
box-shadow: 0 0 10px #ffff00 !important;
}
.highcontrast #helpBodyDiv {
background: #000000;
color: var(--fg);
border: 1px solid #ffffff;
}
.highcontrast #helpBodyDiv > .heading,
.highcontrast #helpBodyDiv p {
color: var(--fg);
}
.highcontrast #floatingWindows .wfWinBody {
background-color: var(--bg) !important;
}
.highcontrast #floatingWindows .windowFrame {
background-color: var(--bg) !important;
border: 1px solid #ffffff;
}
/* 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;
}