From 8b2b8250439b67cc4caf1e84aab8a48e4495cbca Mon Sep 17 00:00:00 2001 From: Duc Pham Date: Wed, 19 May 2021 17:57:57 +0700 Subject: [PATCH] feat: gruvbox light theme (#250) --- THEMES.md | 6 ++++ lua/lualine/themes/gruvbox_light.lua | 43 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 lua/lualine/themes/gruvbox_light.lua diff --git a/THEMES.md b/THEMES.md index 60ff731..a1e7805 100644 --- a/THEMES.md +++ b/THEMES.md @@ -53,6 +53,12 @@ lualine try to match your colorscheme. ![gruvboxvisual_cropped](https://user-images.githubusercontent.com/41551030/108648700-319d5400-74bc-11eb-90fa-72eccbda8242.png) ![gruvboxreplace_cropped](https://user-images.githubusercontent.com/41551030/108648716-382bcb80-74bc-11eb-824a-aaca67035073.png) +### gruvbox_light +![gruvboxlightnormal_cropped](https://user-images.githubusercontent.com/34294427/118757012-5d9b5c00-b896-11eb-8e4f-c0c28f774cf6.png) +![gruvboxlightinsert_cropped](https://user-images.githubusercontent.com/34294427/118757009-5bd19880-b896-11eb-9846-d02b16653ab0.png) +![gruvboxlightvisual_cropped](https://user-images.githubusercontent.com/34294427/118757023-612ee300-b896-11eb-8673-a39a0fbce619.png) +![gruvboxlightreplace_cropped](https://user-images.githubusercontent.com/34294427/118757020-5ffdb600-b896-11eb-95e7-dbf1f08e063d.png) + ### gruvbox_material ![gruvboxmaterialnormal_cropped](https://user-images.githubusercontent.com/41551030/108648725-3f52d980-74bc-11eb-8fa5-a77b0a21cdea.png) ![gruvboxmaterialinsert_cropped](https://user-images.githubusercontent.com/41551030/108648728-41b53380-74bc-11eb-99cf-001eab6cc51b.png) diff --git a/lua/lualine/themes/gruvbox_light.lua b/lua/lualine/themes/gruvbox_light.lua new file mode 100644 index 0000000..de28ac8 --- /dev/null +++ b/lua/lualine/themes/gruvbox_light.lua @@ -0,0 +1,43 @@ +local colors = { + black = '#3c3836', + white = '#f9f5d7', + orange = '#af3a03', + green = '#427b58', + blue = '#076678', + gray = '#d5c4a1', + darkgray = '#7c6f64', + lightgray = '#ebdbb2', + inactivegray = '#a89984' +} +return { + normal = { + a = {bg = colors.darkgray, fg = colors.white, gui = 'bold'}, + b = {bg = colors.gray, fg = colors.darkgray}, + c = {bg = colors.lightgray, fg = colors.darkgray}, + }, + insert = { + a = {bg = colors.blue, fg = colors.white, gui = 'bold'}, + b = {bg = colors.gray, fg = colors.darkgray}, + c = {bg = colors.gray, fg = colors.black}, + }, + visual = { + a = {bg = colors.orange, fg = colors.white, gui = 'bold'}, + b = {bg = colors.gray, fg = colors.darkgray}, + c = {bg = colors.darkgray, fg = colors.white}, + }, + replace = { + a = {bg = colors.green, fg = colors.white, gui = 'bold'}, + b = {bg = colors.gray, fg = colors.darkgray}, + c = {bg = colors.gray, fg = colors.black}, + }, + command = { + a = {bg = colors.darkgray, fg = colors.white, gui = 'bold'}, + b = {bg = colors.gray, fg = colors.darkgray}, + c = {bg = colors.lightgray, fg = colors.darkgray}, + }, + inactive = { + a = {bg = colors.lightgray, fg = colors.inactivegray}, + b = {bg = colors.lightgray, fg = colors.inactivegray}, + c = {bg = colors.lightgray, fg = colors.inactivegray}, + } +}