Skip to content

Commit aa83b5d

Browse files
committed
Tweaks
1 parent b4fce87 commit aa83b5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/src/theme.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Color platformBackgroundColor(BuildContext context) {
136136
final brightnessMatches = themeBrightness == platformBrightness;
137137

138138
// Brightness mathces doesn't work on Windows 10
139-
if (!brightnessMatches) {
139+
if (brightnessMatches) {
140140
if (Platform.isMacOS) {
141141
return Colors.transparent;
142142
} else if (Platform.isWindows) {

lib/src/windowBorder.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class WindowButtons extends StatelessWidget {
5252
? Colors.white
5353
: Colors.black,
5454
mouseOver: Theme.of(context).brightness == Brightness.dark
55-
? Colors.white
55+
? Colors.grey.shade600
5656
: Colors.grey.shade300,
5757
mouseDown: Theme.of(context).brightness == Brightness.dark
58-
? Colors.white
58+
? Colors.grey.shade700
5959
: Colors.grey.shade400,
6060
iconMouseOver: Theme.of(context).brightness == Brightness.dark
6161
? Colors.white

0 commit comments

Comments
 (0)