diff --git a/mac/Sources/Byre/Format.swift b/mac/Sources/Byre/Format.swift index 4a351e6..3dbaef5 100644 --- a/mac/Sources/Byre/Format.swift +++ b/mac/Sources/Byre/Format.swift @@ -217,7 +217,7 @@ struct Copyable: View { } } label: { Image(systemName: copied ? "checkmark" : "doc.on.doc") - .font(.system(size: 11)) + .font(Fonts.font(11)) .foregroundStyle(Palette.muted) .padding(4) .background(Palette.raised, in: RoundedRectangle(cornerRadius: 4)) diff --git a/mac/Sources/Byre/Notes.swift b/mac/Sources/Byre/Notes.swift index 0d1c7bd..6847289 100644 --- a/mac/Sources/Byre/Notes.swift +++ b/mac/Sources/Byre/Notes.swift @@ -56,7 +56,7 @@ private struct LeadNotes: View { HStack(spacing: 8) { Text(label(groups.first { $0.0 == current } ?? groups[0])) Image(systemName: "chevron.up.chevron.down") - .font(.system(size: 9, weight: .semibold)) + .font(Fonts.font(9, weight: 600)) } .foregroundStyle(Palette.text) .modifier(FieldStyle()) diff --git a/mac/Sources/Byre/Project.swift b/mac/Sources/Byre/Project.swift index acfa441..972d61d 100644 --- a/mac/Sources/Byre/Project.swift +++ b/mac/Sources/Byre/Project.swift @@ -132,7 +132,7 @@ private struct ProjectWorkflowMenu: View { HStack(spacing: 6) { Text(current.isEmpty ? "Off" : current) Image(systemName: "chevron.up.chevron.down") - .font(.system(size: 8, weight: .semibold)) + .font(Fonts.font(8, weight: 600)) } .font(Fonts.font(11)) .foregroundStyle(Palette.muted) diff --git a/mac/Sources/Byre/Settings.swift b/mac/Sources/Byre/Settings.swift index b36a2ac..ec56b07 100644 --- a/mac/Sources/Byre/Settings.swift +++ b/mac/Sources/Byre/Settings.swift @@ -390,7 +390,7 @@ private struct ModelMenu: View { HStack(spacing: 8) { Text(current) Image(systemName: "chevron.up.chevron.down") - .font(.system(size: 9, weight: .semibold)) + .font(Fonts.font(9, weight: 600)) } .foregroundStyle(Palette.text) .modifier(FieldStyle()) diff --git a/mac/Sources/Byre/WorkflowEditor.swift b/mac/Sources/Byre/WorkflowEditor.swift index 485f130..dbb6b65 100644 --- a/mac/Sources/Byre/WorkflowEditor.swift +++ b/mac/Sources/Byre/WorkflowEditor.swift @@ -277,7 +277,7 @@ private struct StepRow: View { node.open.toggle() } label: { Image(systemName: node.open ? "chevron.down" : "chevron.right") - .font(.system(size: 9, weight: .semibold)) + .font(Fonts.font(9, weight: 600)) .foregroundStyle(Palette.muted) .frame(width: 12) } @@ -358,7 +358,7 @@ private struct StepRow: View { Button("Remove") { node.detach() } } label: { Image(systemName: "ellipsis") - .font(.system(size: 11, weight: .semibold)) + .font(Fonts.font(11, weight: 600)) .foregroundStyle(Palette.muted) .frame(width: 20, height: 16) .contentShape(Rectangle()) @@ -442,7 +442,7 @@ private struct StepModelMenu: View { HStack(spacing: 6) { Text(model.isEmpty ? "model" : model) Image(systemName: "chevron.up.chevron.down") - .font(.system(size: 8, weight: .semibold)) + .font(Fonts.font(8, weight: 600)) } .font(Fonts.font(12)) .foregroundStyle(model.isEmpty ? Palette.muted : Palette.text)