~tardypad/dotfiles

ref: 7dd5e02494e2821ff6b4fd5758a590ef03b5403b dotfiles/packages/neomutt/config.d/colors.mutt -rw-r--r-- 5.8 KiB
7dd5e024 — Damien Tardy-Panis add mako package config 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# colors definition
set my_base00                 = color{color/base00/number}
set my_base01                 = color{color/base01/number}
set my_base02                 = color{color/base02/number}
set my_base03                 = color{color/base03/number}
set my_base04                 = color{color/base04/number}
set my_base05                 = color{color/base05/number}
set my_base06                 = color{color/base06/number}
set my_base07                 = color{color/base07/number}
set my_base08                 = color{color/base08/number}
set my_base09                 = color{color/base09/number}
set my_base0A                 = color{color/base0A/number}
set my_base0B                 = color{color/base0B/number}
set my_base0C                 = color{color/base0C/number}
set my_base0D                 = color{color/base0D/number}
set my_base0E                 = color{color/base0E/number}
set my_base0F                 = color{color/base0F/number}
set my_error                  = color{color/error/number}
set my_info                   = color{color/info/number}
set my_status_line_background = color{color/status_line_background/number}
set my_status_line_foreground = color{color/status_line_foreground/number}
set my_search_match           = color{color/search_match/number}
set my_current_item           = color{color/current_item/number}
set my_selected_item          = color{color/selected_item/number}
set my_unread_item            = color{color/unread_item/number}
set my_delete                 = color{color/delete/number}

# general colors
color error         $my_base00   $my_error           # error messages
color message       $my_info     default             # informational messages
color markers       $my_base05   default             # + in pager wrapped lines
color attachment    $my_base08   default             # attachment in pager
color search        $my_base00   $my_search_match    # highlight search word in pager
color indicator     $my_base00   $my_current_item    # highlight current item in menus
color tree          $my_base03   default             # thread tree symbol
color signature     $my_base02   default
color bold          $my_base01   default
color underline     $my_base01   default

# sidebar
color sidebar_divider     $my_status_line_background    default            # separator
color sidebar_highlight   $my_base00                    $my_current_item   # selected mailbox
color sidebar_indicator   $my_base00                    $my_base09         # current displayed mailbox
color sidebar_new         $my_unread_item               default            # mailbox with new mail

# status
color status              $my_status_line_foreground    $my_status_line_background                              # full default
color status              $my_base05                    $my_status_line_background     "Folder: '[^']+'"        # current mailbox

# index
color index               $my_base05    default               "~v"                     # collapsed thread
color index_author        $my_base0A    default               "~U"                     # color author of unread message
color index_author        $my_base0A    default               "~v~(~U)"                # color author of collapsed thread with some unread messages
color index_subject       $my_base0C    default               "~U"                     # color subject of unread message
color index_subject       $my_base0C    default               "~v~(~U)"                # color subject of collapsed thread with some unread messages
color index_date          $my_base08    default                                        # date
color index_collapsed     $my_base09    default                                        # number of messages in collapsed thread
color index_flags         $my_base00    $my_delete            "~D"                     # highlight flags for deleted message
color index_flags         $my_base00    $my_delete            "~v~(~D)"                # highlight flags for collapsed thread with some deleted messages
color index_flags         $my_base00    $my_selected_item     "~T"                     # highlight flags for tagged message
color index_flags         $my_base00    $my_selected_item     "~v~(~T)"                # highlight flags for collapsed thread with some tagged messages

# message headers
color hdrdefault    $my_base03      default                                     # default for pager header
color header        $my_base0A      default         "^(From|To|CC):"            # sender and recipients headers
color header        $my_base0C      default         "^Subject:"                 # subject header
color header        $my_base08      default         "^Date:"                    # date header

# quotings
color quoted        $my_base08      default
color quoted1       $my_base09      default
color quoted2       $my_base0A      default
color quoted3       $my_base0B      default

# yes, an insance URL regex
color body          $my_base0B      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<>\"]"