From 7b7fe983f82ad54586bdafe0e9648217ba104068 Mon Sep 17 00:00:00 2001 From: Dennis B Date: Fri, 20 Aug 2021 14:15:31 +1000 Subject: [PATCH] Add moonfly theme --- THEMES.md | 8 +++++++ lua/lualine/themes/moonfly.lua | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 lua/lualine/themes/moonfly.lua diff --git a/THEMES.md b/THEMES.md index 8e9fcea..ccbe78d 100644 --- a/THEMES.md +++ b/THEMES.md @@ -155,6 +155,14 @@ them based you your `background` option.

+### moonfly +

+ + + + +

+ ### nightfly

diff --git a/lua/lualine/themes/moonfly.lua b/lua/lualine/themes/moonfly.lua new file mode 100644 index 0000000..16f8f6d --- /dev/null +++ b/lua/lualine/themes/moonfly.lua @@ -0,0 +1,41 @@ +-- moonfly color scheme for lualine +-- +-- URL: github.com/bluz71/vim-moonfly-colors +-- License: MIT (https://opensource.org/licenses/MIT) + +-- LuaFormatter off +local colors = { + color3 = '#303030', + color6 = '#9e9e9e', + color7 = '#80a0ff', + color8 = '#ae81ff', + color0 = '#1c1c1c', + color1 = '#ff5189', + color2 = '#c6c6c6', +} + +-- LuaFormatter on +return { + replace = { + a = {fg = colors.color0, bg = colors.color1, gui = 'bold'}, + b = {fg = colors.color2, bg = colors.color3} + }, + inactive = { + a = {fg = colors.color6, bg = colors.color3, gui = 'bold'}, + b = {fg = colors.color6, bg = colors.color3}, + c = {fg = colors.color6, bg = colors.color3} + }, + normal = { + a = {fg = colors.color0, bg = colors.color7, gui = 'bold'}, + b = {fg = colors.color2, bg = colors.color3}, + c = {fg = colors.color2, bg = colors.color3} + }, + visual = { + a = {fg = colors.color0, bg = colors.color8, gui = 'bold'}, + b = {fg = colors.color2, bg = colors.color3} + }, + insert = { + a = {fg = colors.color0, bg = colors.color2, gui = 'bold'}, + b = {fg = colors.color2, bg = colors.color3} + } +}