Align wording and documentation with project conventions
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user