Fix text shadow.

This commit is contained in:
Marcin Czachursk 2023-03-12 07:46:14 +01:00
parent dae94e5d29
commit 778047da93
4 changed files with 9 additions and 9 deletions

View File

@ -1221,7 +1221,7 @@
CODE_SIGN_ENTITLEMENTS = VernissageWidgetExtension.entitlements; CODE_SIGN_ENTITLEMENTS = VernissageWidgetExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 66; CURRENT_PROJECT_VERSION = 67;
DEVELOPMENT_TEAM = B2U9FEKYP8; DEVELOPMENT_TEAM = B2U9FEKYP8;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = VernissageWidget/Info.plist; INFOPLIST_FILE = VernissageWidget/Info.plist;
@ -1249,7 +1249,7 @@
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CODE_SIGN_ENTITLEMENTS = VernissageWidgetExtension.entitlements; CODE_SIGN_ENTITLEMENTS = VernissageWidgetExtension.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 66; CURRENT_PROJECT_VERSION = 67;
DEVELOPMENT_TEAM = B2U9FEKYP8; DEVELOPMENT_TEAM = B2U9FEKYP8;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = VernissageWidget/Info.plist; INFOPLIST_FILE = VernissageWidget/Info.plist;
@ -1393,7 +1393,7 @@
CODE_SIGN_ENTITLEMENTS = Vernissage/Vernissage.entitlements; CODE_SIGN_ENTITLEMENTS = Vernissage/Vernissage.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 66; CURRENT_PROJECT_VERSION = 67;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8; DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
@ -1431,7 +1431,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = Vernissage/Vernissage.entitlements; CODE_SIGN_ENTITLEMENTS = Vernissage/Vernissage.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 66; CURRENT_PROJECT_VERSION = 67;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8; DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;

View File

@ -34,12 +34,12 @@ struct LargeWidgetView: View {
.stroke(Color.white.opacity(0.6), lineWidth: 1) .stroke(Color.white.opacity(0.6), lineWidth: 1)
.frame(width: 24, height: 24) .frame(width: 24, height: 24)
) )
.shadow(radius: 4) .shadow(color: .black, radius: 2)
Text(entry.displayName ?? "") Text(entry.displayName ?? "")
.foregroundColor(.white) .foregroundColor(.white)
.fontWeight(.semibold) .fontWeight(.semibold)
.shadow(radius: 8) .shadow(color: .black, radius: 2)
Spacer() Spacer()
} }
.padding(.leading, 8) .padding(.leading, 8)

View File

@ -34,12 +34,12 @@ struct MediumWidgetView: View {
.stroke(Color.white.opacity(0.6), lineWidth: 1) .stroke(Color.white.opacity(0.6), lineWidth: 1)
.frame(width: 24, height: 24) .frame(width: 24, height: 24)
) )
.shadow(radius: 4) .shadow(color: .black, radius: 2)
Text(entry.displayName ?? "") Text(entry.displayName ?? "")
.foregroundColor(.white) .foregroundColor(.white)
.fontWeight(.semibold) .fontWeight(.semibold)
.shadow(radius: 8) .shadow(color: .black, radius: 2)
Spacer() Spacer()
} }
.padding(.leading, 8) .padding(.leading, 8)

View File

@ -34,7 +34,7 @@ struct SmallWidgetView: View {
.stroke(Color.white.opacity(0.6), lineWidth: 1) .stroke(Color.white.opacity(0.6), lineWidth: 1)
.frame(width: 16, height: 16) .frame(width: 16, height: 16)
) )
.shadow(radius: 4) .shadow(color: .black, radius: 2)
Spacer() Spacer()
} }