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

View File

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

View File

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

View File

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