#!/bin/sh

# The colors are optional, and the keywords are:
#       normal, selected, marked, markselect, errors, input, reverse,  gauge;

# Menu colors  are:
#       menu,  menusel,  menuhot,  menuhotsel;

# Dialog colors are:
#       dnormal, dfocus, dhotnormal, dhotfocus;

# Help colors are:
#       helpnormal, helpitalic, helpbold, helplink, helpslink;

# Viewer color is: viewunderline;

# Special highlighting  colors  are:
#       executable,  directory,  link, device, special, core;

# Editor colors are:
#       editnormal, editbold, editmarked

# The possible colors are:

# black, gray,
# red, brightred,
# green, brightgreen,
# brown, yellow,
# blue, brightblue,
# magenta, brightmagenta,
# cyan, brightcyan,
# lightgray and white.

# And there is a special keyword for transparent background. It is 'default'.
# The 'default' can  only  be used for background color.

export MC_COLOR_TABLE="\
\
normal=lightgrey,default:\
hidden=cyan,default:\
selected=:\
marked=,default:\
markselect=:\
errors=:\
input=lightgrey,:\
reverse=:\
gauge=:\
\
menu=:\
menusel=:\
menuhot=:\
menuhotsel=:\
\
dnormal=lightgrey,:\
dfocus=lightgrey,:\
dhotnormal=lightgrey,:\
dhotfocus=lightgrey,:\
\
helpnormal=:\
helpitalic=:\
helpbold=:\
helplink=:\
helpslink=:\
\
viewunderline=:\
\
executable=green,default:\
directory=brightblue,default:\
link=cyan,default:\
device=brown,default:\
special=,default:\
core=,default:\
\
editnormal=lightgray,default:\
editbold=yellow,default:\
editmarked=black,cyan"

exec /usr/bin/mc "$@"