From 15b79e92f2f1565f1f66c42a82aeaf4118c415de Mon Sep 17 00:00:00 2001 From: adisen99 Date: Mon, 31 May 2021 22:13:17 +0530 Subject: [PATCH] added jellybeans theme --- lua/hardline/themes/jellybeans.lua | 128 +++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 lua/hardline/themes/jellybeans.lua diff --git a/lua/hardline/themes/jellybeans.lua b/lua/hardline/themes/jellybeans.lua new file mode 100644 index 0000000..be1bdf4 --- /dev/null +++ b/lua/hardline/themes/jellybeans.lua @@ -0,0 +1,128 @@ +local colors = { + black = {gui = '#3b3b3b', cterm = '236'}, + blue = {gui = '#597bc5', cterm = '39'}, + cyan = { gui = '#71b9f8', cterm = '38'}, + green = {gui = '#99ad6a', cterm = '113'}, + grey_comment = {gui = "#5C6370", cterm = "59"}, + grey_cursor = {gui = "#2C323C", cterm = "236"}, + grey_menu = {gui = "#3E4452", cterm = "237"}, + purple = {gui = '#a037b0', cterm = '163'}, + red = {gui = '#cf6a4c', cterm = '166'}, + white = {gui = '#adadad', cterm = '251'}, + yellow = {gui = '#d8ad4c', cterm = '178'}, +} + +local inactive = { + guifg = colors.grey_comment.gui, + guibg = colors.grey_cursor.gui, + ctermfg = colors.grey_comment.cterm, + ctermbg = colors.grey_cursor.cterm, +} + +return { + mode = { + inactive = inactive, + normal = { + guifg = colors.black.gui, + guibg = colors.green.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.green.cterm, + }, + insert = { + guifg = colors.black.gui, + guibg = colors.blue.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.blue.cterm, + }, + replace = { + guifg = colors.black.gui, + guibg = colors.cyan.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.cyan.cterm, + }, + visual = { + guifg = colors.black.gui, + guibg = colors.purple.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.purple.cterm, + }, + command = { + guifg = colors.black.gui, + guibg = colors.red.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.red.cterm, + }, + }, + low = { + active = { + guifg = colors.white.gui, + guibg = colors.grey_cursor.gui, + ctermfg = colors.white.cterm, + ctermbg = colors.grey_cursor.cterm, + }, + inactive = inactive, + }, + med = { + active = { + guifg = colors.yellow.gui, + guibg = colors.grey_cursor.gui, + ctermfg = colors.yellow.cterm, + ctermbg = colors.grey_cursor.cterm, + }, + inactive = inactive, + }, + high = { + active = { + guifg = colors.white.gui, + guibg = colors.grey_menu.gui, + ctermfg = colors.white.cterm, + ctermbg = colors.grey_menu.cterm, + }, + inactive = inactive, + }, + error = { + active = { + guifg = colors.black.gui, + guibg = colors.red.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.red.cterm, + }, + inactive = inactive, + }, + warning = { + active = { + guifg = colors.black.gui, + guibg = colors.yellow.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.yellow.cterm, + }, + inactive = inactive, + }, + bufferline = { + separator = inactive, + current = { + guifg = colors.black.gui, + guibg = colors.green.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.green.cterm, + }, + current_modified = { + guifg = colors.black.gui, + guibg = colors.blue.gui, + ctermfg = colors.black.cterm, + ctermbg = colors.blue.cterm, + }, + background = { + guifg = colors.green.gui, + guibg = colors.black.gui, + ctermfg = colors.green.cterm, + ctermbg = colors.black.cterm, + }, + background_modified = { + guifg = colors.blue.gui, + guibg = colors.black.gui, + ctermfg = colors.blue.cterm, + ctermbg = colors.black.cterm, + }, + }, +}