Merge pull request #4809 from tstromberg/template2

Add LowPrefix to Empty style, move to beginning of list
pull/4807/head^2
Thomas Strömberg 2019-07-18 16:27:16 -07:00 committed by GitHub
commit e373639d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,7 @@ type style struct {
// styles is a map of style name to style struct
// For consistency, ensure that emojis added render with the same width across platforms.
var styles = map[StyleEnum]style{
Empty: {Prefix: "", LowPrefix: ""},
Happy: {Prefix: "😄 "},
SuccessType: {Prefix: "✅ "},
FailureType: {Prefix: "❌ "},
@ -79,7 +80,6 @@ var styles = map[StyleEnum]style{
Issue: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet
Check: {Prefix: "✔️ "},
Celebration: {Prefix: "🎉 "},
Empty: {Prefix: ""},
// Specialized purpose styles
ISODownload: {Prefix: "💿 "},