From 0a7b9ff0cb596eeab36cb01db0c6509b945ce26b Mon Sep 17 00:00:00 2001 From: Shadman Date: Fri, 5 Feb 2021 01:57:38 +0600 Subject: [PATCH] Adding wombat theme (#64) * Adding wombat theme Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com> --- THEMES.md | 6 ++++ lua/lualine/themes/wombat.lua | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 lua/lualine/themes/wombat.lua diff --git a/THEMES.md b/THEMES.md index ce1267f..20e0b44 100644 --- a/THEMES.md +++ b/THEMES.md @@ -51,3 +51,9 @@ All available themes are only best effort ports by myself/ other users. If you f ![insert](https://user-images.githubusercontent.com/13149513/104330996-c5245200-5518-11eb-96a6-78d6679c59c0.jpg) ![visual](https://user-images.githubusercontent.com/13149513/104331081-dec59980-5518-11eb-9577-616d891be64e.jpg) ![replace](https://user-images.githubusercontent.com/13149513/104331086-e08f5d00-5518-11eb-90eb-955e83bc17b9.jpg) + +### wombat +![normal](https://user-images.githubusercontent.com/13149513/104332798-c0f93400-551a-11eb-8f8d-02e17ab6c8b3.jpg) +![insert](https://user-images.githubusercontent.com/13149513/104332760-b9d22600-551a-11eb-9331-3410ae9d97cc.jpg) +![visual](https://user-images.githubusercontent.com/13149513/104332820-c9ea0580-551a-11eb-8771-2764eec506ed.jpg) +![replace](https://user-images.githubusercontent.com/13149513/104332921-e128f300-551a-11eb-8eb3-a8f8567a3dca.jpg) \ No newline at end of file diff --git a/lua/lualine/themes/wombat.lua b/lua/lualine/themes/wombat.lua new file mode 100644 index 0000000..44a684f --- /dev/null +++ b/lua/lualine/themes/wombat.lua @@ -0,0 +1,53 @@ +-- ============================================================================= +-- Filename: lua/lualine/themes/wombat.lua +-- Author: shadman +-- Credit: itchyny(lightline) +-- License: MIT License +-- ============================================================================= + +local M = {} + +local colors = { + base03 = { '#242424', 235 }, + base023 = { '#353535', 236 }, + base02 = { '#444444', 238 }, + base01 = { '#585858', 240 }, + base00 = { '#666666', 242 }, + base0 = { '#808080', 244 }, + base1 = { '#969696', 247 }, + base2 = { '#a8a8a8', 248 }, + base3 = { '#d0d0d0', 252 }, + yellow = { '#cae682', 180 }, + orange = { '#e5786d', 173 }, + red = { '#e5786d', 203 }, + magenta = { '#f2c68a', 216 }, + blue = { '#8ac6f2', 117 }, + cyan = { '#8ac6f2', 117 }, + green = { '#95e454', 119 }, +} + +M.normal = { + a = { fg = colors.base02, bg = colors.blue , gui = 'bold', }, + b = { fg = colors.base02, bg = colors.base0 , }, + c = { fg = colors.base2, bg = colors.base02 , } +} + +M.insert = { + a = { fg = colors.base02, bg = colors.green , gui = 'bold', }, +} + +M.visual = { + a = { fg = colors.base02, bg = colors.magenta , gui = 'bold', }, +} + +M.replace = { + a = { fg = colors.base023, bg = colors.red , gui = 'bold', }, +} + +M.inactive = { + a = { fg = colors.base1, bg = colors.base02 , gui = 'bold', }, + b = { fg = colors.base023, bg = colors.base01 , }, + c = { fg = colors.base1, bg = colors.base023 , }, +} + +return M