|
| 1 | +Solarized skin for Midnight Commander |
| 2 | +------------------------------------- |
| 3 | + |
| 4 | +This is a skin for Midnight Commander [1] using the Solarized palette [2]. It |
| 5 | +is designed to be used with terminal emulators that use Solarized palette as |
| 6 | +their ANSI colors [3]. |
| 7 | + |
| 8 | +It is a fork from nkulikov/mc-solarized-skin however it was rewriten from |
| 9 | +scratch based on GoTaR [4] MC skin. The file highliting was adjusted to be as |
| 10 | +close as possible to the Solarized dircolors.ansi-universal [5]. |
| 11 | + |
| 12 | +Some info on skin writing is available on MC wiki [6], |
| 13 | +yet it's usually takes a PHD to understand what's going on. |
| 14 | +And since I'm senile and lazy, I don't want to keep going to external references. |
| 15 | +Also, it seems it's bloody scattered all over the place, and one has to collect tiny, and I do mean TINY, and sometimes outdated, pieces of information to form something complete. |
| 16 | +That's why I took the libery to comment EVERYTHING, just in case. |
| 17 | + |
| 18 | +Note you might need mc > 4.7.5 for this scheme to work (otherwise this file will not be read) |
| 19 | +Hint: compile from the git repository |
| 20 | + |
| 21 | +Usage |
| 22 | +----- |
| 23 | + |
| 24 | +Put the solarized.ini file into the $HOME/.mc directory. Then define MC_SKIN |
| 25 | +env variable: |
| 26 | +$ export MC_SKIN=$HOME/.mc/solarized.ini |
| 27 | + |
| 28 | +Color reference: |
| 29 | +---------------- |
| 30 | +Syntax is: Text color;Background color |
| 31 | + |
| 32 | +SOLARIZED HEX TERMCOL |
| 33 | +-------- ------- ------- |
| 34 | +base03 #002b36 brightblack |
| 35 | +base02 #073642 black |
| 36 | +base01 #586e75 brightgreen |
| 37 | +base00 #657b83 brightyellow |
| 38 | +base0 #839496 brightblue |
| 39 | +base1 #93a1a1 brightcyan |
| 40 | +base2 #eee8d5 white |
| 41 | +base3 #fdf6e3 brightwhite |
| 42 | +yellow #b58900 brown |
| 43 | +orange #cb4b16 brightred |
| 44 | +red #dc322f red |
| 45 | +magenta #d33682 magenta |
| 46 | +violet #6c71c4 brightmageta |
| 47 | +blue #268bd2 blue |
| 48 | +cyan #2aa198 cyan |
| 49 | +green #859900 green |
| 50 | + |
| 51 | +lightgray |
| 52 | + |
| 53 | +Links |
| 54 | +----- |
| 55 | +[1] - https://www.midnight-commander.org/ |
| 56 | +[2] - http://ethanschoonover.com/solarized |
| 57 | +[3] - For gnome-terminal look here: |
| 58 | + https://github.com/sigurdga/gnome-terminal-colors-solarized |
| 59 | +[4] - http://www.midnight-commander.org/nopaste/skin_parser/outdir/ |
| 60 | +[5] - https://github.com/seebi/dircolors-solarized |
| 61 | +[6] - https://www.midnight-commander.org/wiki/doc/common/skins |
0 commit comments