### -*- eval: (git-auto-commit-mode 1) -*-
# mutt colors file
###

# set default
color normal default default

# main colors
#     element   foreground   background
color status    color7       color1
color indicator color0       color2
color tree      color5       default
color error     brightcolor1 default
color message   color3       default

# uncolor certain messages
uncolor index "~P"
uncolor index "~N ~u"
uncolor index "~N !~u"
uncolor index "~T"
uncolor index "~D"

# and recolor them appropriately
color index color3        default "~P"
color index color2        default "~u"
color index brightcolor2  default "~N ~u"  # new ML mail
color index brightcolor3  default "~N !~u" # new non-ML mail
color index brightcolor5  default "~T"
color index color1        default "~D"

# set up the headers
color header brightcolor2 default "^from:"
color header brightcolor2 default "^to:"
color header brightcolor2 default "^cc:"
color header brightcolor2 default "^date:"
color header brightcolor2 default "^subject:"

# message bodies
color attachment color3 default
color search     color1 color0
color signature  color5 default
color tilde      color4 default

# urls
color body brightcolor4 default "(^|<| )mailto:[^ ]+@[^ ]( |>|$)"
color body brightcolor4 default "(^|<| )(http|https|ftp|file|telnet|news|finger)://[^ ]+( |>|$)"

# smileys
color body brightcolor5 default "(^| )+(|[<>|])[8;:](|[^ ])[)(/|DOPS]( |$)+"
color body brightcolor5 default "(^| )+[)(/|DOPS](|[^ ])[8;:](|[<>|])( |$)+"

# *bold*, _underline_  and /italic/
color body brightcolor6 default "(^| )\\*[^*]+\\*( |$)"
color body brightcolor6 default "(^| )_[^_]+_( |$)"
color body brightcolor6 default "(^| )/[^/]+/( |$)"

# quote blocks
color quoted  brightcolor7  default
color quoted1 brightcolor1  default
color quoted2 brightcolor2  default
color quoted3 brightcolor3  default
color quoted4 brightcolor4  default
color quoted5 brightcolor5  default
color quoted6 brightcolor6  default
color quoted7 brightdefault default
