File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Color platformBackgroundColor(BuildContext context) {
136
136
final brightnessMatches = themeBrightness == platformBrightness;
137
137
138
138
// Brightness mathces doesn't work on Windows 10
139
- if (! brightnessMatches) {
139
+ if (brightnessMatches) {
140
140
if (Platform .isMacOS) {
141
141
return Colors .transparent;
142
142
} else if (Platform .isWindows) {
Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ class WindowButtons extends StatelessWidget {
52
52
? Colors .white
53
53
: Colors .black,
54
54
mouseOver: Theme .of (context).brightness == Brightness .dark
55
- ? Colors .white
55
+ ? Colors .grey.shade600
56
56
: Colors .grey.shade300,
57
57
mouseDown: Theme .of (context).brightness == Brightness .dark
58
- ? Colors .white
58
+ ? Colors .grey.shade700
59
59
: Colors .grey.shade400,
60
60
iconMouseOver: Theme .of (context).brightness == Brightness .dark
61
61
? Colors .white
You can’t perform that action at this time.
0 commit comments