adds schema view and schema generating command

This commit is contained in:
2026-11-03 09:35:41 +01:00
parent cc41decccb
commit 600d4874d2
62 changed files with 4416 additions and 105 deletions
+10
View File
@@ -150,6 +150,16 @@ public enum Palette {
public static let inlineAddedHighlight = Color(hex: 0x8FBFB4, alpha: 0.36)
public static let inlineFiller = Color(hex: 0x232C39, alpha: 0.35)
/// The colour of an artisan console line in the Schema view.
public static func artisan(_ kind: ArtisanLineKind) -> Color {
switch kind {
case .command: text1
case .output: text3
case .error: amber
case .success: gitNew
}
}
/// The colour of a console line.
public static func console(_ kind: GitLineKind) -> Color {
switch kind {