mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
The content of this file is adapted from the original Solarized theme. The color palette is exactly the same, but I have removed some cruft and made some adjustments here and there (see the comments) to better suit my taste. For example, I can't stand dark text on a red background, so I have changed ErrorMsg to use a white foreground even in dark mode. I have not removed *all* the bullshit Solarized source, as the [Flattened](https://github.com/romainl/flattened.git) theme does, because I like the possibility of using different contrast levels (besides Solarized's low, normal, and high contrast modes, I have even added my own). Although this file may be used as it is, I plan to use it to generate eight "presets", four with a dark background and four with a light background, one for each contrast level. Then, I'll keep this in a development branch, but I plan to remove it from master. I have started this project because recent Vim versions support true color terminals, i.e., they use gui color definitions. The original Solarized does not define guifg and guibg when used by terminal Vim. This project works in true color terminals out of the box (tested with iTerm), besides working in GUI Vim (of course), and in terminals using Solarized 16-color palette. The degraded 256-color version of Solarized has been removed, because it is ugly and useless (for me). It's called Solarized8 because true color support will make its way into the upcoming Vim 8 release. I have added an option to set the background color of the active status line to the same color as the inactive status line (g:solarized_statusline). Besides, I have added a few highlight groups: NormalMode InsertMode VisualMode CommandMode ReplaceMode I need these changes for my own status line (whose color changes according to the current mode). Other users may safely ignore them.