colors 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # -*- muttrc -*-
  2. #
  3. # Mutt configuration file
  4. # 2008, kolter <kolter@openics.org>
  5. #
  6. # This file is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY
  8. #
  9. # Colors settings for Mutt.
  10. #
  11. # messages which mention my name in the body
  12. #color index color136 default "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
  13. #color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
  14. #color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
  15. #color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
  16. # messages which are in reference to my mails
  17. #color index J_magent default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
  18. #color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
  19. #color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
  20. #color index J_magent color160 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
  21. # for background in 16 color terminal, valid background colors include:
  22. # base03, bg, black, any of the non brights
  23. # basic colors ---------------------------------------------------------
  24. color error color8 default
  25. color tilde color235 default
  26. color message color213 default
  27. color markers color160 color254
  28. color attachment color108 default
  29. color search color22 color43
  30. color status color241 color235
  31. color indicator color151 color241
  32. color tree color142 default # arrow in threads
  33. # index ----------------------------------------------------------------
  34. #color index color160 default "~D(!~p|~p)" # deleted
  35. #color index color235 default ~F # flagged
  36. #color index color166 default ~= # duplicate messages
  37. #color index color240 default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
  38. #color index J_base default "~A~N!~T!~p!~Q!~F!~D" # the rest, new
  39. color index color226 default "~A" # all messages
  40. #color index color166 default "~E" # expired messages
  41. color index color117 default "~N" # new messages
  42. color index color117 default "~O" # old messages
  43. color index color251 default "~R" # read messages
  44. color index color77 default "~Q" # messages that have been replied to
  45. #color index color33 default "~U" # unread messages
  46. #color index color33 default "~U~$" # unread, unreferenced messages
  47. #color index color241 default "~v" # messages part of a collapsed thread
  48. #color index color241 default "~P" # messages from me
  49. #color index color37 default "~p!~F" # messages to me
  50. #color index color37 default "~N~p!~F" # new messages to me
  51. #color index color37 default "~U~p!~F" # unread messages to me
  52. #color index color249 default "~R~p!~F" # messages to me
  53. color index color166 default "~F" # flagged messages
  54. #color index color160 default "~F~p" # flagged messages to me
  55. #color index color160 default "~N~F" # new flagged messages
  56. #color index color160 default "~N~F~p" # new flagged messages to me
  57. #color index color160 default "~U~F~p" # new flagged messages to me
  58. color index color250 color160 "~D" # deleted messages
  59. #color index color245 default "~v~(!~N)" # collapsed thread with no unread
  60. #color index color136 default "~v~(~N)" # collapsed thread with some unread
  61. #color index color64 default "~N~v~(~N)" # collapsed thread with unread parent
  62. # statusbg used to indicated flagged when foreground color shows other status
  63. # for collapsed thread
  64. #color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
  65. #color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
  66. #color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
  67. #color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
  68. #color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
  69. #color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
  70. #color index color136 default "~(~N)" # messages in threads with some unread
  71. #color index color64 default "~S" # superseded messages
  72. color index color168 default "~T" # tagged messages
  73. #color index color166 color160 "~=" # duplicated messages
  74. # message headers ------------------------------------------------------
  75. color hdrdefault color249 default
  76. color header color95 default "^(From)"
  77. color header color31 default "^(Subject)"
  78. # body -----------------------------------------------------------------
  79. color quoted color58 default
  80. color quoted1 color60 default
  81. color quoted2 color101 default
  82. color quoted3 color138 default
  83. color quoted4 color217 default
  84. color signature color240 default
  85. color bold color235 default
  86. color underline color235 default
  87. color normal color253 default
  88. #
  89. color body color245 default "[;:][-o][)/(|]" # emoticons
  90. color body color245 default "[;:][)(|]" # emoticons
  91. color body color245 default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
  92. |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
  93. |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
  94. color body color245 default "[ ][*][^*]*[*][ ]?" # more emoticon?
  95. color body color245 default "[ ]?[*][^*]*[*][ ]" # more emoticon?
  96. # yes, an insance URL regex
  97. color body color95 default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
  98. # and a heavy handed email regex
  99. color body color95 default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
  100. # Various smilies and the like
  101. color body color136 default " [;:]-*[})>{(<|]" # :-) etc...
  102. # *bold*
  103. color body color166 default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
  104. # _underline_
  105. color body color167 default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
  106. # /italic/ (Sometimes gets directory names)
  107. color body color168 default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
  108. # sidebar
  109. color sidebar_new color101 default