mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-25 18:17:21 +00:00
style(ui): update integration step counter visibility and add up-to-date status icon
This commit is contained in:
@@ -148,6 +148,9 @@ struct AboutSettingsPane: View {
|
|||||||
.buttonStyle(.borderedProminent)
|
.buttonStyle(.borderedProminent)
|
||||||
|
|
||||||
case .upToDate(let latestVersion, _):
|
case .upToDate(let latestVersion, _):
|
||||||
|
Image(systemName: "checkmark.seal.fill")
|
||||||
|
.font(.title2)
|
||||||
|
.foregroundStyle(.green)
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
VStack(alignment: .leading, spacing: 2) {
|
||||||
Text("Firelink is up to date")
|
Text("Firelink is up to date")
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
|
|||||||
@@ -138,9 +138,8 @@ struct CompactStepCardView: View {
|
|||||||
// Step Number Badge
|
// Step Number Badge
|
||||||
ZStack {
|
ZStack {
|
||||||
Circle()
|
Circle()
|
||||||
.fill(Color(nsColor: .controlBackgroundColor))
|
.fill(Color.secondary.opacity(0.1))
|
||||||
.frame(width: 24, height: 24)
|
.frame(width: 24, height: 24)
|
||||||
.shadow(color: .black.opacity(0.1), radius: 1, y: 1)
|
|
||||||
|
|
||||||
Text("\(stepNumber)")
|
Text("\(stepNumber)")
|
||||||
.font(.system(.caption, design: .rounded).weight(.bold))
|
.font(.system(.caption, design: .rounded).weight(.bold))
|
||||||
|
|||||||
Reference in New Issue
Block a user