Skip to content

Commit d83b360

Browse files
committed
style(views): update font sizes for better readability in config and row components
1 parent 3472990 commit d83b360

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

ConfigForge/Views/Components/ConfigListView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ struct ConfigFileRow: View {
102102
Text(configFile.fileType == .main ?
103103
"Active Configuration (Read-Only)" :
104104
configFile.displayName)
105-
.font(.footnote)
105+
.font(.callout)
106106
.foregroundColor(configFile.fileType == .main ?
107107
.secondary : .primary)
108108
}
109109
HStack(spacing: 4) {
110110
if configFile.fileType == .main {
111111
Text("~/.kube/config")
112-
.font(.caption2)
112+
.font(.caption)
113113
.foregroundColor(.blue)
114114
} else {
115115
if configFile.isActive {
@@ -123,7 +123,7 @@ struct ConfigFileRow: View {
123123
}
124124

125125
Text(statusText)
126-
.font(.caption2)
126+
.font(.caption)
127127
.foregroundColor(.secondary)
128128
}
129129
}

ConfigForge/Views/Components/RowViews.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ struct HostRowView: View {
1313
var body: some View {
1414
VStack(alignment: .leading, spacing: 4) {
1515
Text(entry.host)
16-
.font(.footnote)
16+
.font(.callout)
1717
.foregroundColor(.primary)
1818

1919
if !entry.hostname.isEmpty {
2020
Text(entry.hostname)
21-
.font(.caption2)
21+
.font(.caption)
2222
.foregroundColor(.secondary)
2323
}
2424
}

0 commit comments

Comments
 (0)