Code Monkey home page Code Monkey logo

zengarden-lush's Introduction

License

ZenGarden is a color scheme for vim/neovim that tries to be calm and relaxing, while still retaining some important properties from color theory (contrast, uniform lightness).

This colorscheme is created with lush, and therefore depends on it.

It is ... uh ... "heavily influenced" by gruvbox, which is an excellent colorscheme.

The colors are designed primarily with the light color scheme in mind (contrast), but the dark version also works (with lighter shades of accents).

Screenshots

ZenGarden Lush

Installation

Packer

  use { 'tobi-wan-kenobi/zengarden-lush',
    requires = 'rktjmp/lush.nvim',
    config = function()
      vim.cmd [[ colorscheme zengarden-lush ]]
    end
  }

Palette

ZenGarden palette

Design

โš ๏ธ I am a software developer (backend, to boot!), not a designer, and it seriously shows in this color scheme :P

Since I have 0 creative talent, I attempted to approach the color scheme design scientifically, by finding out what objective measures are available. Spoiler: I did not find a lot of data.

During my "research" (= searching around in the web), I found a couple of suggestions that informed me on how to design this color scheme:

  • The general consensus seems to be that light background is easier on the eye
  • Some posts/discussions indicated that blue light might be harmful for prolonged exposure, for various reasons (one being that it changes the sleep rhythm, and another one that short wave lengths possibly penetrate deeper into the eye).
  • High contrast - a no-brainer at last! - is important for relaxed reading.

(Note to self: I should prolly come up with references to back up those claims)

So here's the plan I came up with:

  • For color selection, use CIE-LCh instead of RGB or HSV, because it emphasizes perceptual uniformity. This means that - at least in theory - two colors with the same value for "lightness" will be perceived as ... well ... similar in lightness, independent of their hues.
  • Use only accent colors that have high contrast (I used Colour Contrast Tool). Generally, I aimed for a contrast around 70, more for colors on the blue end of the spectrum.
  • For blue-ish colors (blue, cyan, also magenta), reduce lightness a bit more. I did this primarily because the colors appealed more to me subjectively.
  • For lighter/darker colors, the only thing I changed was to increase/decrease the "lightness" value by 10.

zengarden-lush's People

Contributors

tobi-wan-kenobi avatar

Watchers

 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.