From b2e6e5b652e035bf1a171da65508f4c19a4bdb9f Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Fri, 25 Dec 2020 19:00:23 +0100 Subject: [PATCH] Tweak themes --- lua/hardline.lua | 2 +- lua/hardline/themes/default.lua | 13 +++++++++---- lua/hardline/themes/one.lua | 13 +++++++++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/lua/hardline.lua b/lua/hardline.lua index 69472a6..3bde6ef 100644 --- a/lua/hardline.lua +++ b/lua/hardline.lua @@ -17,7 +17,7 @@ M.options = { {class = 'high', item = require('hardline.parts.git').get_item}, {class = 'med', item = require('hardline.parts.filename').get_item}, '%=', - {class = 'med', item = require('hardline.parts.wordcount').get_item}, + {class = 'low', item = require('hardline.parts.wordcount').get_item}, {class = 'error', item = require('hardline.parts.lsp').get_error}, {class = 'warning', item = require('hardline.parts.lsp').get_warning}, {class = 'warning', item = require('hardline.parts.whitespace').get_item}, diff --git a/lua/hardline/themes/default.lua b/lua/hardline/themes/default.lua index 0200480..917d846 100644 --- a/lua/hardline/themes/default.lua +++ b/lua/hardline/themes/default.lua @@ -47,10 +47,6 @@ return { }, }, low = { - active = inactive, - inactive = inactive, - }, - med = { active = { guifg = colors.white.gui, guibg = colors.cursor_grey.gui, @@ -59,6 +55,15 @@ return { }, inactive = inactive, }, + med = { + active = { + guifg = colors.yellow.gui, + guibg = colors.cursor_grey.gui, + ctermfg = colors.yellow.cterm, + ctermbg = colors.cursor_grey.cterm, + }, + inactive = inactive, + }, high = { active = { guifg = colors.white.gui, diff --git a/lua/hardline/themes/one.lua b/lua/hardline/themes/one.lua index 0200480..917d846 100644 --- a/lua/hardline/themes/one.lua +++ b/lua/hardline/themes/one.lua @@ -47,10 +47,6 @@ return { }, }, low = { - active = inactive, - inactive = inactive, - }, - med = { active = { guifg = colors.white.gui, guibg = colors.cursor_grey.gui, @@ -59,6 +55,15 @@ return { }, inactive = inactive, }, + med = { + active = { + guifg = colors.yellow.gui, + guibg = colors.cursor_grey.gui, + ctermfg = colors.yellow.cterm, + ctermbg = colors.cursor_grey.cterm, + }, + inactive = inactive, + }, high = { active = { guifg = colors.white.gui,