friffle-vim

My personal colorscheme for vim/neovim.
Log | Files | Refs | README

commit 0c18c933efd2349c9c23df938b9167e1bec33ce1
parent 2d0615e843b1d289a82c35b3b4d17c3064450e70
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Thu, 20 Feb 2020 21:27:40 -0500

Added lightline colors

Diffstat:
Aautoload/lightline/colorscheme/friffle.vim | 45+++++++++++++++++++++++++++++++++++++++++++++
Acolors/friffle.vim | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 159 insertions(+), 0 deletions(-)

diff --git a/autoload/lightline/colorscheme/friffle.vim b/autoload/lightline/colorscheme/friffle.vim @@ -0,0 +1,45 @@ +" ============================================================================= +" Filename: autoload/lightline/colorscheme/friffle.vim +" Author: Benjamin Chausse +" License: MIT License +" Last Change: 2020/02/20 +" ============================================================================= + +" Common colors +let s:blue = [ '#66AABB', 75 ] +let s:green = [ '#19B596', 76 ] +let s:purple = [ '#B7416E', 176 ] +let s:red1 = [ '#E84F4F', 168 ] +let s:red2 = [ '#D23D3D', 168 ] +let s:yellow = [ '#EBCB88', 180 ] + +let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} + +let s:fg = [ '#6D878d', 145 ] +let s:bg = [ '#222D32', 235 ] +let s:gray1 = [ '#5c6370', 241 ] +let s:gray2 = [ '#2c323d', 235 ] +let s:gray3 = [ '#3e4452', 240 ] + +let s:p.inactive.left = [ [ s:gray1, s:bg ], [ s:gray1, s:bg ] ] +let s:p.inactive.middle = [ [ s:gray1, s:gray2 ] ] +let s:p.inactive.right = [ [ s:gray1, s:bg ] ] + +" Common +let s:p.normal.left = [ [ s:bg, s:green, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.normal.middle = [ [ s:fg, s:gray2 ] ] +let s:p.normal.right = [ [ s:bg, s:green, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.normal.error = [ [ s:red2, s:bg ] ] +let s:p.normal.warning = [ [ s:yellow, s:bg ] ] +let s:p.insert.right = [ [ s:bg, s:blue, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.insert.left = [ [ s:bg, s:blue, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.replace.right = [ [ s:bg, s:red1, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.replace.left = [ [ s:bg, s:red1, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.visual.right = [ [ s:bg, s:purple, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.visual.left = [ [ s:bg, s:purple, 'bold' ], [ s:fg, s:gray3 ] ] +let s:p.tabline.left = [ [ s:fg, s:gray3 ] ] +let s:p.tabline.tabsel = [ [ s:bg, s:purple, 'bold' ] ] +let s:p.tabline.middle = [ [ s:gray3, s:gray2 ] ] +let s:p.tabline.right = copy(s:p.normal.right) + +let g:lightline#colorscheme#friffle#palette = lightline#colorscheme#flatten(s:p) diff --git a/colors/friffle.vim b/colors/friffle.vim @@ -0,0 +1,114 @@ +" Vim color file +" friffle +" Created by ChausseBenjamin with ThemeCreator (https://github.com/mswift42/themecreator) + +hi clear + +if exists("syntax on") +syntax reset +endif + +set t_Co=256 +let g:colors_name = "friffle" + + +" Define reusable colorvariables. +let s:bg="#222d32" +let s:fg="#19B596" +let s:fg2="#17a78a" +let s:fg3="#15987e" +let s:fg4="#138a72" +let s:bg2="#343e42" +let s:bg3="#454f53" +let s:bg4="#575f63" +let s:keyword="#66aabb" +let s:builtin="#B7416E" +let s:const= "#E84F4F" +let s:comment="#42717B" +let s:func="#AACCBB" +let s:str="#EBCB88" +let s:type="#AE545A" +let s:var="#6D878D" +let s:warning="#D23D3D" +let s:warning2="#F07746" + +exe 'hi Normal guifg='s:fg' guibg='s:bg +exe 'hi Cursor guifg='s:bg' guibg='s:fg +exe 'hi CursorLine guibg='s:bg2 +exe 'hi CursorColumn guibg='s:bg2 +exe 'hi ColorColumn guibg='s:bg2 +exe 'hi LineNr guifg='s:fg2' guibg='s:bg2 +exe 'hi VertSplit guifg='s:fg3' guibg='s:bg3 +exe 'hi MatchParen guifg='s:warning2' gui=underline' +exe 'hi StatusLine guifg='s:fg2' guibg='s:bg3' gui=bold' +exe 'hi Pmenu guifg='s:fg' guibg='s:bg2 +exe 'hi PmenuSel guibg='s:bg3 +exe 'hi IncSearch guifg='s:bg' guibg='s:keyword +exe 'hi Search gui=underline' +exe 'hi Directory guifg='s:const +exe 'hi Folded guifg='s:fg4' guibg='s:bg + +exe 'hi Boolean guifg='s:const +exe 'hi Character guifg='s:const +exe 'hi Comment guifg='s:comment +exe 'hi Conditional guifg='s:keyword +exe 'hi Constant guifg='s:const +exe 'hi Define guifg='s:keyword +exe 'hi DiffAdd guifg=#fafafa guibg=#123d0f gui=bold' +exe 'hi DiffDelete guibg='s:bg2 +exe 'hi DiffChange guibg=#151b3c guifg=#fafafa' +exe 'hi DiffText guifg=#ffffff guibg=#ff0000 gui=bold' +exe 'hi ErrorMsg guifg='s:warning' guibg='s:bg2' gui=bold' +exe 'hi WarningMsg guifg='s:fg' guibg='s:warning2 +exe 'hi Float guifg='s:const +exe 'hi Function guifg='s:func +exe 'hi Identifier guifg='s:type' gui=italic' +exe 'hi Keyword guifg='s:keyword' gui=bold' +exe 'hi Label guifg='s:var +exe 'hi NonText guifg='s:bg4' guibg='s:bg2 +exe 'hi Number guifg='s:const +exe 'hi Operater guifg='s:keyword +exe 'hi PreProc guifg='s:keyword +exe 'hi Special guifg='s:fg +exe 'hi SpecialKey guifg='s:fg2' guibg='s:bg2 +exe 'hi Statement guifg='s:keyword +exe 'hi StorageClass guifg='s:type' gui=italic' +exe 'hi String guifg='s:str +exe 'hi Tag guifg='s:keyword +exe 'hi Title guifg='s:fg' gui=bold' +exe 'hi Todo guifg='s:fg2' gui=inverse,bold' +exe 'hi Type guifg='s:type +exe 'hi Underlined gui=underline' + +" Ruby Highlighting +exe 'hi rubyAttribute guifg='s:builtin +exe 'hi rubyLocalVariableOrMethod guifg='s:var +exe 'hi rubyGlobalVariable guifg='s:var' gui=italic' +exe 'hi rubyInstanceVariable guifg='s:var +exe 'hi rubyKeyword guifg='s:keyword +exe 'hi rubyKeywordAsMethod guifg='s:keyword' gui=bold' +exe 'hi rubyClassDeclaration guifg='s:keyword' gui=bold' +exe 'hi rubyClass guifg='s:keyword' gui=bold' +exe 'hi rubyNumber guifg='s:const + +" Python Highlighting +exe 'hi pythonBuiltinFunc guifg='s:builtin + +" Go Highlighting +exe 'hi goBuiltins guifg='s:builtin + +" Javascript Highlighting +exe 'hi jsBuiltins guifg='s:builtin +exe 'hi jsFunction guifg='s:keyword' gui=bold' +exe 'hi jsGlobalObjects guifg='s:type +exe 'hi jsAssignmentExps guifg='s:var + +" Html Highlighting +exe 'hi htmlLink guifg='s:var' gui=underline' +exe 'hi htmlStatement guifg='s:keyword +exe 'hi htmlSpecialTagName guifg='s:keyword + +" Markdown Highlighting +exe 'hi mkdCode guifg='s:builtin + +