mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 04:17:44 +01:00
Change unread indicator font and weight to match existing iOS parameters
This commit is contained in:
parent
4393e54a5c
commit
6b45a72707
@ -14,7 +14,8 @@ struct UnreadCountView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Text(verbatim: String(count))
|
Text(verbatim: String(count))
|
||||||
.font(.footnote)
|
.font(.caption)
|
||||||
|
.fontWeight(.bold)
|
||||||
.padding(.horizontal, 7)
|
.padding(.horizontal, 7)
|
||||||
.padding(.vertical, 1)
|
.padding(.vertical, 1)
|
||||||
.background(AppAssets.sidebarUnreadCountBackground)
|
.background(AppAssets.sidebarUnreadCountBackground)
|
||||||
|
@ -20,7 +20,6 @@ private let monoSpaceTrait = NSFontDescriptor.SymbolicTraits.monoSpace
|
|||||||
import UIKit
|
import UIKit
|
||||||
typealias Font = UIFont
|
typealias Font = UIFont
|
||||||
typealias FontDescriptor = UIFontDescriptor
|
typealias FontDescriptor = UIFontDescriptor
|
||||||
typealias Color = UIColor
|
|
||||||
|
|
||||||
private let boldTrait = UIFontDescriptor.SymbolicTraits.traitBold
|
private let boldTrait = UIFontDescriptor.SymbolicTraits.traitBold
|
||||||
private let italicTrait = UIFontDescriptor.SymbolicTraits.traitItalic
|
private let italicTrait = UIFontDescriptor.SymbolicTraits.traitItalic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user