Skip to content

Commit

Permalink
feat(vim-lightline): add abyss theme for vim-lightline
Browse files Browse the repository at this point in the history
  • Loading branch information
barrientosvctor committed Jul 30, 2024
1 parent 54cf295 commit e74491c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions autoload/lightline/colorscheme/abyss.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
let s:statusline_bg = "#000C38"
let s:darkgreen = "#22aa44"
let s:white = "#ffffff"
let s:fg = "#6688cc"
let s:shinyblue = "#2277ff"
let s:red = "#cb4444"
let s:black_inactive = "#000000"

let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:white, s:statusline_bg, 255, 17, "bold" ] ]
let s:p.normal.right = [ [ s:fg, s:statusline_bg, 245, 17 ] ]
let s:p.normal.middle = [ [ s:fg, s:statusline_bg, 245, 17 ] ]

let s:p.inactive.left = [ [ s:fg, s:black_inactive, 245, 0, "bold" ] ]
let s:p.inactive.right = [ [ s:fg, s:black_inactive, 245, 0 ] ]
let s:p.inactive.middle = [ [ s:fg, s:black_inactive, 245, 0 ] ]

let s:p.insert.left = [ [ s:darkgreen, s:statusline_bg, 2, 17, "bold" ] ]
let s:p.insert.right = [ [ s:fg, s:statusline_bg, 245, 17 ] ]
let s:p.insert.middle = [ [ s:fg, s:statusline_bg, 245, 17 ] ]

let s:p.replace.left = [ [ s:red, s:statusline_bg, 9, 17, "bold" ] ]
let s:p.replace.right = [ [ s:fg, s:statusline_bg, 245, 17 ] ]
let s:p.replace.middle = [ [ s:fg, s:statusline_bg, 245, 17 ] ]

let s:p.visual.left = [ [ s:shinyblue, s:statusline_bg, 105, 17, "bold" ] ]
let s:p.visual.right = [ [ s:fg, s:statusline_bg, 245, 17 ] ]
let s:p.visual.middle = [ [ s:fg, s:statusline_bg, 245, 17 ] ]

let s:p.tabline.left = [ [ s:white, s:statusline_bg, 255, 17, "bold" ] ]
let s:p.tabline.right = [ [ s:red, s:statusline_bg, 9, 17 ] ]
let s:p.tabline.middle = [ [ s:white, s:statusline_bg, 255, 17 ] ]
let s:p.tabline.tabsel = [ [ s:statusline_bg, s:white, 17, 255 ] ]

let g:lightline#colorscheme#abyss#palette = lightline#colorscheme#fill(s:p)

0 comments on commit e74491c

Please sign in to comment.