Skip to content

Commit 9b0f8b4

Browse files
committed
Replace footer button background with border for subtler appearance
1 parent f2a1318 commit 9b0f8b4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

LlamaBarn/Menu/FooterView.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ struct FooterButtonStyle: ButtonStyle {
55
configuration.label
66
.font(Font(Typography.secondary))
77
// fixes: inverse color on mouse down
8-
.foregroundColor(Color(nsColor: .controlTextColor))
8+
.foregroundColor(Color(nsColor: .secondaryLabelColor))
99
.padding(.horizontal, 5)
1010
.padding(.vertical, 2)
11-
.background(Color(nsColor: .lbSubtleBackground))
12-
.cornerRadius(5)
11+
.overlay(
12+
RoundedRectangle(cornerRadius: 5)
13+
.stroke(Color(nsColor: .separatorColor), lineWidth: 1)
14+
)
1315
.controlSize(.small)
1416
}
1517
}

0 commit comments

Comments
 (0)