fix: hopeful bg fallback fix

This commit is contained in:
Michael Freno
2026-01-11 15:14:45 -05:00
parent 7f797ac06a
commit 91b3e81685
4 changed files with 13 additions and 12 deletions

View File

@@ -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;

View File

@@ -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)

View File

@@ -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,

View File

@@ -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 \