adds schema view and schema generating command
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user