Giter VIP home page Giter VIP logo

flattened's Introduction

Solarized, without the bullshit.

Unlike Solarized itself, these Vim colorschemes are guaranteed to give consistent results in most environments without littering your beautiful vimrc with useless crap or paging through hundreds of StackOverflow questions to make sense of a needlessly convoluted setup.

Requirements

GUI

You don’t need to do anything for these colorschemes to work in GVim or MacVim.

TUI

Flattened’s only requirement is the same as Solarized: that you change your terminal emulator’s so-called “ASCII” colors to the ones used by Solarized.

The reason is simple. Most terminal nowadays are capable of displaying 256 colors but none of the colors used in the Solarized palette can be found in the semi-standard Xterm palette. Therefore, we are forced to assign the Solarized non-standard values to colors 0 through 15 of our terminal emulator if we want to see the actual Solarized colors instead of poor approximations.

The exact method depends on your terminal emulator. I’d suggest simply using the values from this table and call it a day:

TERMCOL   HEX     RGB
-------   ------- -----------
black     #073642   7  54  66
red       #dc322f 220  50  47
green     #859900 133 153   0
yellow    #b58900 181 137   0
blue      #268bd2  38 139 210
magenta   #d33682 211  54 130
cyan      #2aa198  42 161 152
white     #eee8d5 238 232 213

brblack   #002b36   0  43  54
brred     #cb4b16 203  75  22
brgreen   #586e75  88 110 117
bryellow  #657b83 101 123 131
brblue    #839496 131 148 150
brmagenta #6c71c4 108 113 196
brcyan    #93a1a1 147 161 161
brwhite   #fdf6e3 253 246 227

Installation

Put flattened_dark.vim and/or flattened_light.vim in ~/.vim/colors/ (on unix-like systems) or %userprofile%\vimfiles\colors\ (on Windows).

Configuration

What do you want to configure? It’s a freaking colorscheme!

Usage

If you want the “dark” version:

:color flattened_dark

If you want the “light” version:

:color flattened_light

If you like what you see and decide to make flattened your default colorscheme, add the relevant line to your vimrc:

colorscheme flattened_light

or:

colorscheme flattened_dark

Screenshots or it didn’t happen

MacVim

flattened_dark in Macvim

flattened_light in Macvim

iTerm

flattened_dark in iTerm

flattened_light in iTerm

flattened's People

Contributors

archion avatar jmlemetayer avatar neersighted avatar romainl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.