fix: hopeful bg fallback fix
This commit is contained in:
@@ -420,7 +420,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 14.6;
|
MACOSX_DEPLOYMENT_TARGET = 14.6;
|
||||||
MARKETING_VERSION = 0.1.0;
|
MARKETING_VERSION = 0.1.1;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze;
|
PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
REGISTER_APP_GROUPS = YES;
|
REGISTER_APP_GROUPS = YES;
|
||||||
@@ -455,7 +455,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 14.6;
|
MACOSX_DEPLOYMENT_TARGET = 14.6;
|
||||||
MARKETING_VERSION = 0.1.0;
|
MARKETING_VERSION = 0.1.1;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze;
|
PRODUCT_BUNDLE_IDENTIFIER = com.mikefreno.Gaze;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
REGISTER_APP_GROUPS = YES;
|
REGISTER_APP_GROUPS = YES;
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ extension View {
|
|||||||
self.background {
|
self.background {
|
||||||
ZStack {
|
ZStack {
|
||||||
if let tintColor = style.getTintColor() {
|
if let tintColor = style.getTintColor() {
|
||||||
|
// Layer material with tint color for proper contrast
|
||||||
|
shape
|
||||||
|
.fill(.thinMaterial)
|
||||||
shape
|
shape
|
||||||
.fill(tintColor.opacity(0.8))
|
.fill(tintColor.opacity(0.8))
|
||||||
} else {
|
} else {
|
||||||
@@ -26,17 +29,14 @@ extension View {
|
|||||||
.fill(.ultraThinMaterial)
|
.fill(.ultraThinMaterial)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Border with tint color mixed with white
|
// Border with tint color lightened with white
|
||||||
if let tintColor = style.getTintColor() {
|
if let tintColor = style.getTintColor() {
|
||||||
shape
|
shape
|
||||||
.strokeBorder(
|
.strokeBorder(
|
||||||
Color(
|
tintColor.opacity(0.5),
|
||||||
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),
|
|
||||||
lineWidth: 1.5
|
lineWidth: 1.5
|
||||||
)
|
)
|
||||||
|
.blendMode(.plusLighter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.shadow(color: .black.opacity(0.1), radius: 4, x: 0, y: 2)
|
.shadow(color: .black.opacity(0.1), radius: 4, x: 0, y: 2)
|
||||||
|
|||||||
@@ -241,13 +241,13 @@
|
|||||||
{
|
{
|
||||||
"value" : {
|
"value" : {
|
||||||
"linear-gradient" : [
|
"linear-gradient" : [
|
||||||
"display-p3:0.38403,0.64839,1.04685,1.00000",
|
"srgb:0.00000,0.99144,1.00000,1.00000",
|
||||||
"extended-srgb:0.00000,0.53333,1.00000,1.00000"
|
"display-p3:0.23132,0.52490,0.96777,1.00000"
|
||||||
],
|
],
|
||||||
"orientation" : {
|
"orientation" : {
|
||||||
"start" : {
|
"start" : {
|
||||||
"x" : 0.5,
|
"x" : 0.06353251664956905,
|
||||||
"y" : 0
|
"y" : 0.04636742178812686
|
||||||
},
|
},
|
||||||
"stop" : {
|
"stop" : {
|
||||||
"x" : 0.5,
|
"x" : 0.5,
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ rm -f Gaze.dmg
|
|||||||
echo "Creating DMG..."
|
echo "Creating DMG..."
|
||||||
create-dmg \
|
create-dmg \
|
||||||
--volname "Gaze Installer" \
|
--volname "Gaze Installer" \
|
||||||
|
--eula "./LICENSE" \
|
||||||
--window-pos 200 120 \
|
--window-pos 200 120 \
|
||||||
--window-size 600 400 \
|
--window-size 600 400 \
|
||||||
--icon-size 100 \
|
--icon-size 100 \
|
||||||
|
|||||||
Reference in New Issue
Block a user