Align wording and documentation with project conventions

This commit is contained in:
Ian Gulliver
2026-10-21 11:45:03 -07:00
parent 9b7b833e1a
commit 590b952733
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -269,6 +269,7 @@ private struct UsageCommandsForm: View {
GridRow { GridRow {
Text(vendor) Text(vendor)
TextField("Built in", text: Binding(get: { draft?[keyPath: key] ?? "" }, set: { draft?[keyPath: key] = $0 })) TextField("Built in", text: Binding(get: { draft?[keyPath: key] ?? "" }, set: { draft?[keyPath: key] = $0 }))
.font(Fonts.font(13, mono: true))
.modifier(FieldStyle()) .modifier(FieldStyle())
.onSubmit(save) .onSubmit(save)
} }
+2 -1
View File
@@ -251,7 +251,7 @@ private struct SavedCommands: View {
VStack(alignment: .leading, spacing: 2) { VStack(alignment: .leading, spacing: 2) {
Text(c.name) Text(c.name)
Text(c.command) Text(c.command)
.font(Fonts.font(12)) .font(Fonts.font(12, mono: true))
.foregroundStyle(Palette.muted) .foregroundStyle(Palette.muted)
.textSelection(.enabled) .textSelection(.enabled)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
@@ -303,6 +303,7 @@ private struct SavedCommands: View {
save(id, valid) save(id, valid)
} }
TextField("Command", text: $command) TextField("Command", text: $command)
.font(Fonts.font(13, mono: true))
.modifier(FieldStyle()) .modifier(FieldStyle())
.onSubmit { .onSubmit {
save(id, valid) save(id, valid)