Merge pull request #4809 from tstromberg/template2
Add LowPrefix to Empty style, move to beginning of listpull/4807/head^2
commit
e373639d13
|
@ -49,6 +49,7 @@ type style struct {
|
||||||
// styles is a map of style name to 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.
|
// For consistency, ensure that emojis added render with the same width across platforms.
|
||||||
var styles = map[StyleEnum]style{
|
var styles = map[StyleEnum]style{
|
||||||
|
Empty: {Prefix: "", LowPrefix: ""},
|
||||||
Happy: {Prefix: "😄 "},
|
Happy: {Prefix: "😄 "},
|
||||||
SuccessType: {Prefix: "✅ "},
|
SuccessType: {Prefix: "✅ "},
|
||||||
FailureType: {Prefix: "❌ "},
|
FailureType: {Prefix: "❌ "},
|
||||||
|
@ -79,7 +80,6 @@ var styles = map[StyleEnum]style{
|
||||||
Issue: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet
|
Issue: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet
|
||||||
Check: {Prefix: "✔️ "},
|
Check: {Prefix: "✔️ "},
|
||||||
Celebration: {Prefix: "🎉 "},
|
Celebration: {Prefix: "🎉 "},
|
||||||
Empty: {Prefix: ""},
|
|
||||||
|
|
||||||
// Specialized purpose styles
|
// Specialized purpose styles
|
||||||
ISODownload: {Prefix: "💿 "},
|
ISODownload: {Prefix: "💿 "},
|
||||||
|
|
Loading…
Reference in New Issue