Skip to content

Commit da3b9e7

Browse files
fix: 🐛 [JIRA:0] Modified AI Notice based on UX spec update (SAP#1027)
Co-authored-by: I824136 <[email protected]>
1 parent bbe2fcb commit da3b9e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Apps/Examples/Examples/FioriSwiftUICore/BannerMessage/BannerMessageModifierExample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct BannerMessageModifierExample: View {
1919
if self.withLink {
2020
Text("\(noticeText) with [link](https://www.sap.com)")
2121
} else if self.withAttachedAction {
22-
Text("\(noticeText)") + Text("View more").foregroundStyle(Color.preferredColor(.tintColor)).font(.fiori(forTextStyle: .footnote))
22+
Text("\(noticeText)") + Text("View more").foregroundStyle(Color.preferredColor(.tintColor)).font(.fiori(forTextStyle: .footnote, weight: .semibold))
2323
} else {
2424
Text("\(noticeText)")
2525
}

Sources/FioriSwiftUICore/_FioriStyles/AINoticeStyle.fiori.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public struct AINoticeBaseStyle: AINoticeStyle {
3535
.font(.fiori(forTextStyle: .footnote))
3636
.foregroundStyle(Color.preferredColor(self.isEnabled ? .tertiaryLabel : .quaternaryLabel))
3737
+ Text(configuration.actionLabel ?? "")
38-
.font(.fiori(forTextStyle: .footnote))
38+
.font(.fiori(forTextStyle: .footnote, weight: .semibold))
3939
.foregroundStyle(Color.preferredColor(self.isEnabled ? .tintColor : .quaternaryLabel))
4040
} else {
4141
return Text(message)

Sources/FioriSwiftUICore/_FioriStyles/BannerMessageStyle.fiori.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public struct BannerMessageBaseStyle: BannerMessageStyle {
5656
}
5757
.frame(minHeight: 39)
5858
if !configuration.hideSeparator {
59-
Color.preferredColor(.separator).frame(height: 1)
59+
Color.preferredColor(.separator).frame(height: 0.33)
6060
}
6161
}
6262
.drawingGroup()

0 commit comments

Comments
 (0)