@@ -49,29 +49,30 @@ struct JumpToUnreadButton: View {
4949 var onClose : ( ) -> Void
5050
5151 var body : some View {
52- HStack ( spacing: tokens. spacingNone ) {
52+ HStack ( spacing: tokens. spacingXxs ) {
5353 Button ( action: onTap) {
5454 HStack ( spacing: tokens. spacingXs) {
5555 Image ( systemName: " arrow.up " )
56- . font ( fonts. body. weight ( . regular) )
57- . frame ( width: tokens. iconSizeMd, height: tokens. iconSizeMd)
56+ . frame ( width: tokens. iconSizeSm, height: tokens. iconSizeSm)
5857 Text ( L10n . Message. Unread. count ( unreadCount) )
58+ . padding ( . vertical, tokens. spacingXxxs)
5959 }
60- . font ( fonts. body . weight ( . semibold) )
61- . padding ( . horizontal, tokens. buttonPaddingXWithLabelMd )
62- . padding ( . vertical, tokens. buttonPaddingYMd )
60+ . font ( fonts. subheadline . weight ( . semibold) )
61+ . padding ( . horizontal, tokens. spacingXs )
62+ . padding ( . vertical, tokens. spacingXxs )
6363 }
6464
6565 Divider ( )
6666
6767 Button ( action: onClose) {
6868 Image ( systemName: " xmark " )
69- . font ( fonts. body . weight ( . semibold) )
70- . frame ( width: tokens. iconSizeMd , height: tokens. iconSizeMd )
69+ . font ( fonts. subheadline . weight ( . semibold) )
70+ . frame ( width: tokens. iconSizeSm , height: tokens. iconSizeSm )
7171 }
72- . frame ( width: tokens. buttonVisualHeightMd , height: tokens. buttonVisualHeightMd )
72+ . frame ( width: tokens. buttonVisualHeightSm , height: tokens. buttonVisualHeightSm )
7373 . accessibilityLabel ( Text ( " Dismiss " ) )
7474 }
75+ . padding ( tokens. spacingXxs)
7576 . fixedSize ( )
7677 . foregroundColor ( Color ( colors. buttonSecondaryText) )
7778 . background ( Color ( colors. backgroundCoreElevation1) )
0 commit comments