diff --git a/Gaze.xcodeproj/project.pbxproj b/Gaze.xcodeproj/project.pbxproj index 9e02c12..2c0b1ff 100644 --- a/Gaze.xcodeproj/project.pbxproj +++ b/Gaze.xcodeproj/project.pbxproj @@ -420,7 +420,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.6; - MARKETING_VERSION = 0.1.0; + MARKETING_VERSION = 0.1.1; PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -455,7 +455,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.6; - MARKETING_VERSION = 0.1.0; + MARKETING_VERSION = 0.1.1; PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; diff --git a/Gaze/Extensions/ViewExtensions.swift b/Gaze/Extensions/ViewExtensions.swift index f34e9a2..9010565 100644 --- a/Gaze/Extensions/ViewExtensions.swift +++ b/Gaze/Extensions/ViewExtensions.swift @@ -19,6 +19,9 @@ extension View { self.background { ZStack { if let tintColor = style.getTintColor() { + // Layer material with tint color for proper contrast + shape + .fill(.thinMaterial) shape .fill(tintColor.opacity(0.8)) } else { @@ -26,17 +29,14 @@ extension View { .fill(.ultraThinMaterial) } - // Border with tint color mixed with white + // Border with tint color lightened with white if let tintColor = style.getTintColor() { shape .strokeBorder( - Color( - red: (tintColor.cgColor?.components?[0] ?? 1.0) * 0.7 + 0.3, - green: (tintColor.cgColor?.components?[1] ?? 1.0) * 0.7 + 0.3, - blue: (tintColor.cgColor?.components?[2] ?? 1.0) * 0.7 + 0.3 - ).opacity(0.6), + tintColor.opacity(0.5), lineWidth: 1.5 ) + .blendMode(.plusLighter) } } .shadow(color: .black.opacity(0.1), radius: 4, x: 0, y: 2) diff --git a/Gaze/Gaze.icon/icon.json b/Gaze/Gaze.icon/icon.json index 02f8fd0..17ff481 100644 --- a/Gaze/Gaze.icon/icon.json +++ b/Gaze/Gaze.icon/icon.json @@ -241,13 +241,13 @@ { "value" : { "linear-gradient" : [ - "display-p3:0.38403,0.64839,1.04685,1.00000", - "extended-srgb:0.00000,0.53333,1.00000,1.00000" + "srgb:0.00000,0.99144,1.00000,1.00000", + "display-p3:0.23132,0.52490,0.96777,1.00000" ], "orientation" : { "start" : { - "x" : 0.5, - "y" : 0 + "x" : 0.06353251664956905, + "y" : 0.04636742178812686 }, "stop" : { "x" : 0.5, diff --git a/build_dmg b/build_dmg index a39a482..c53733b 100755 --- a/build_dmg +++ b/build_dmg @@ -11,6 +11,7 @@ rm -f Gaze.dmg echo "Creating DMG..." create-dmg \ --volname "Gaze Installer" \ + --eula "./LICENSE" \ --window-pos 200 120 \ --window-size 600 400 \ --icon-size 100 \