mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 11:41:01 +00:00
Increase contrast on the unread counter
This commit is contained in:
parent
13e87b41e9
commit
f19ab2b130
2 changed files with 4 additions and 3 deletions
|
@ -45,15 +45,17 @@ struct TimelineUnreadStatusesView: View {
|
||||||
// Accessibility: this results in a frame with a size of at least 44x44 at regular font size
|
// Accessibility: this results in a frame with a size of at least 44x44 at regular font size
|
||||||
.frame(minWidth: 16, minHeight: 16)
|
.frame(minWidth: 16, minHeight: 16)
|
||||||
.font(.footnote.monospacedDigit())
|
.font(.footnote.monospacedDigit())
|
||||||
|
.fontWeight(.bold)
|
||||||
|
.foregroundStyle(theme.labelColor)
|
||||||
}
|
}
|
||||||
.accessibilityLabel("accessibility.tabs.timeline.unread-posts.label-\(observer.pendingStatusesCount)")
|
.accessibilityLabel("accessibility.tabs.timeline.unread-posts.label-\(observer.pendingStatusesCount)")
|
||||||
.accessibilityHint("accessibility.tabs.timeline.unread-posts.hint")
|
.accessibilityHint("accessibility.tabs.timeline.unread-posts.hint")
|
||||||
#if os(visionOS)
|
#if os(visionOS)
|
||||||
.buttonStyle(.bordered)
|
.buttonStyle(.bordered)
|
||||||
.tint(Material.thick)
|
.tint(Material.ultraThick)
|
||||||
#else
|
#else
|
||||||
.buttonStyle(.bordered)
|
.buttonStyle(.bordered)
|
||||||
.background(.thinMaterial)
|
.background(Material.ultraThick)
|
||||||
#endif
|
#endif
|
||||||
.cornerRadius(8)
|
.cornerRadius(8)
|
||||||
.overlay(
|
.overlay(
|
||||||
|
|
|
@ -41,7 +41,6 @@ struct TimelineQuickAccessPills: View {
|
||||||
}
|
}
|
||||||
pinnedFilters = filters
|
pinnedFilters = filters
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
|
|
Loading…
Reference in a new issue