Coder Social home page Coder Social logo

shrikecode / kyotonight.vim Goto Github PK

View Code? Open in Web Editor NEW
58.0 1.0 1.0 121 KB

Vim / NeoVim theme that is a marriage of Tokyo Night and Nord Theme. And they went on honeymoon to Kyoto I guess. Dark, elegant, and easy on the eyes.

Home Page: https://lanius.dev/

License: MIT License

Vim Script 87.86% Shell 1.73% Lua 6.78% SCSS 1.15% CSS 2.47%
neovim vim vim-colorscheme vim-colorscheme-dark vim-colorschemes neovim-colorscheme tokyonight i3 rofi-theme i3lock kvantum-theme dunst lightline vim-airline lualine contour-terminal

kyotonight.vim's Introduction

Kyoto Night NeoVim / Vim theme

A dark, elegant, and easy on the eyes Neovim / Vim theme, based on Tokyo Night color palette, with support for bunch of plugins.

Screenshots

Plugins visible in screenshots

Why another Tokyo Night VIM theme...

I'm aware that there already is a Tokyo Night NeoVim theme, but I find it a little too flashy. So, I decided to make my own, that would be closer to Enki's SublimeText Theme, and easier for the eyes. Added bonus is that this theme works in NeoVim as well as in regular Vim.

About

Colorscheme inspired by Enki Theme variant Tokyo Night, made using Tokyo Night color pallette. The theme's code is based on Nord Theme (because I suck at Lua and VimScript + Nord's tame color combinations is what I needed, at least initally).

Installation

Vim-plug

Plug 'shrikecode/kyotonight.vim'

Packer

use 'shrikecode/kyotonight.vim'

Configuration

All supported config options are basically ported from Nord Theme, below is list of them with default values. Make sure these are configured before calling colorscheme kyotonight.

General config

  1. VimScript

    let g:kyotonight_bold = 1
    let g:kyotonight_underline = 1
    let g:kyotonight_italic = 0
    let g:kyotonight_italic_comments = 0
    let g:kyotonight_uniform_status_lines = 0
    let g:kyotonight_cursor_line_number_background = 0
    let g:kyotonight_uniform_diff_background = 0
    let g:kyotonight_lualine_bold = 1
    
    colorscheme kyotonight
  2. Lua

    local g = vim.g
    
    g.kyotonight_bold = 1
    g.kyotonight_underline = 1
    g.kyotonight_italic = 0
    g.kyotonight_italic_comments = 0
    g.kyotonight_uniform_status_lines = 0
    g.kyotonight_bold_vertical_split_line = 0
    g.kyotonight_cursor_line_number_background = 0
    g.kyotonight_uniform_diff_background = 0
    g.kyotonight_lualine_bold = 1
    
    vim.cmd[[colorscheme kyotonight]]

Lualine

  1. Lua

    require('lualine').setup {
      options = {
        theme = 'kyotonight'
      }
    }

Lightline

Normally Lightline theme should be applied automatically if it isn't set in your configuration already.

  1. VimScript

    let g:lightline = {'colorscheme': 'kyotonight'}
  2. Lua

    vim.g.lightline = {colorscheme = 'kyotonight'}

Airline

As with Lightline, the theme should be applied together with colorscheme. You might set it manually as well.

  1. VimScript

    let g:airline_theme='kyotonight'
  2. Lua

    vim.g.airline_theme='kyotonight'

Overrriding colors

All of the theme colors can be overriden by setting correct variable.

  1. Examples

    1. VimScript

      let g:kyotonight#red = ['#fff000', '1'] " hex color, then terminal color number
    2. Lua

      vim.g['kyotonight#red'] = {'#fff000', '1'} -- hex color, then terminal color number
  2. List of color variables

    1. VimScript

      g:kyotonight#none   
      g:kyotonight#cl     
      g:kyotonight#hl     
      g:kyotonight#black0 
      g:kyotonight#bg     
      g:kyotonight#black1 
      g:kyotonight#grey0  
      g:kyotonight#grey1  
      g:kyotonight#fg     
      g:kyotonight#cream  
      g:kyotonight#cyan1  
      g:kyotonight#teal   
      g:kyotonight#blue1  
      g:kyotonight#blue0  
      g:kyotonight#cyan0  
      g:kyotonight#red    
      g:kyotonight#orange 
      g:kyotonight#yellow 
      g:kyotonight#green  
      g:kyotonight#magenta
    2. Lua

      vim.g['kyotonight#none']
      vim.g['kyotonight#cl']
      vim.g['kyotonight#hl']
      vim.g['kyotonight#black0']
      vim.g['kyotonight#bg']
      vim.g['kyotonight#black1']
      vim.g['kyotonight#grey0']
      vim.g['kyotonight#grey1']
      vim.g['kyotonight#fg']
      vim.g['kyotonight#cream']
      vim.g['kyotonight#cyan1']
      vim.g['kyotonight#teal']
      vim.g['kyotonight#blue1']
      vim.g['kyotonight#blue0']
      vim.g['kyotonight#cyan0']
      vim.g['kyotonight#red']
      vim.g['kyotonight#orange']
      vim.g['kyotonight#yellow']
      vim.g['kyotonight#green']
      vim.g['kyotonight#magenta']

Supported plugins

Extras

Ackowledgements

  • Enki for wonderful Tokyo Night theme
  • Folke for bringing it to NeoVim
  • ArcticIceStudio for Nord Theme for Vim, on which code of this theme is based on

kyotonight.vim's People

Contributors

laniusone avatar madahva avatar wmwnuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

adelfortin

kyotonight.vim's Issues

Create base16 schema

Hello!
I love this theme, its perfect!!
Thank you!!

Can you create a schema in base16 framework?
https://github.com/chriskempson/base16

I created for myself but is better if you can design your base16-theme for more consistence with your vim theme.

My theme kyotonight.yaml:

# scheme: "kyotonight-"
# author: "https://github.com/shrikecode/kyotonight.vim/"
scheme: "kyotonight"
author: "shrikecode"
base00: "1a1b26"
base01: "292e42"
base02: "32344a"
base03: "33467c"
base04: "545c7e"
base05: "a9b1d6"
base06: "c0caf5"
base07: "e4e4e5"
base08: "f7768e"
base09: "9ece6a"
base0A: "e0af68"
base0B: "7aa2f7"
base0C: "ad8ee6"
base0D: "73daca"
base0E: "ff9e64"
base0F: "db4b4b"

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.