From a9937db37f46c6be83419aca0b600633447f3b3f Mon Sep 17 00:00:00 2001 From: Shadman Date: Fri, 5 Feb 2021 02:10:25 +0600 Subject: [PATCH] Add nightfly theme (#71) * Add nightfly theme Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com> --- THEMES.md | 6 +++++ lua/lualine/themes/nightfly.lua | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 lua/lualine/themes/nightfly.lua diff --git a/THEMES.md b/THEMES.md index 94ed2da..624a0c9 100644 --- a/THEMES.md +++ b/THEMES.md @@ -39,6 +39,12 @@ All available themes are only best effort ports by myself/ other users. If you f ![visual](https://user-images.githubusercontent.com/13149513/104329313-fc91ff00-5516-11eb-810b-5cf377e26830.jpg) ![replace](https://user-images.githubusercontent.com/13149513/104329415-10d5fc00-5517-11eb-9312-f494adafe874.jpg) +### nightfly +![normal](https://user-images.githubusercontent.com/13149513/104553790-7b954d80-5665-11eb-8d57-070fb650d16a.jpg) +![insert](https://user-images.githubusercontent.com/13149513/104553800-7df7a780-5665-11eb-921f-aaa6db2cd95d.jpg) +![visual](https://user-images.githubusercontent.com/13149513/104553818-7fc16b00-5665-11eb-8dde-ca25bf500005.jpg) +![replace](https://user-images.githubusercontent.com/13149513/104553829-8223c500-5665-11eb-99c1-7b939c846cf2.jpg) + ### nord ![normal](https://user-images.githubusercontent.com/13149513/103517642-ad0b5d80-4e9c-11eb-84fd-71541a50abaa.jpg) ![insert](https://user-images.githubusercontent.com/13149513/103517655-b268a800-4e9c-11eb-8bd6-e2808d940779.jpg) diff --git a/lua/lualine/themes/nightfly.lua b/lua/lualine/themes/nightfly.lua new file mode 100644 index 0000000..eda6f98 --- /dev/null +++ b/lua/lualine/themes/nightfly.lua @@ -0,0 +1,42 @@ +-- ============================================================================= +-- lightline to lualine theme converter +-- Author: shadman +-- License: MIT License +-- ============================================================================= + +local colors = { + color3 = "#2c3043", + color6 = "#a1aab8", + color7 = "#82aaff", + color8 = "#ae81ff", + color0 = "#092236", + color1 = "#ff5874", + color2 = "#c3ccdc", +} + +local nightfly = { + replace = { + a = { fg = colors.color0, bg = colors.color1 , "bold", }, + b = { fg = colors.color2, bg = colors.color3 }, + }, + inactive = { + a = { fg = colors.color6, bg = colors.color3 , "bold", }, + b = { fg = colors.color6, bg = colors.color3 }, + c = { fg = colors.color6, bg = colors.color3 }, + }, + normal = { + a = { fg = colors.color0, bg = colors.color7 , "bold", }, + b = { fg = colors.color2, bg = colors.color3 }, + c = { fg = colors.color2, bg = colors.color3 }, + }, + visual = { + a = { fg = colors.color0, bg = colors.color8 , "bold", }, + b = { fg = colors.color2, bg = colors.color3 }, + }, + insert = { + a = { fg = colors.color0, bg = colors.color2 , "bold", }, + b = { fg = colors.color2, bg = colors.color3 }, + }, +} + +return nightfly