From 8c8a4896125e9d01063bbf906af77c9d8faf39b4 Mon Sep 17 00:00:00 2001 From: IGI-111 Date: Sun, 28 Feb 2021 04:16:57 +0100 Subject: [PATCH] feat: palenight theme (#123) Based on https://github.com/drewtempelmeyer/palenight.vim --- THEMES.md | 6 +++++ lua/lualine/themes/palenight.lua | 44 ++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 lua/lualine/themes/palenight.lua diff --git a/THEMES.md b/THEMES.md index 1bf7c6d..831c5ea 100644 --- a/THEMES.md +++ b/THEMES.md @@ -117,6 +117,12 @@ All available themes are only best effort ports by myself/ other users. If you f ![onelightvisual_cropped](https://user-images.githubusercontent.com/41551030/108649095-f3546480-74bc-11eb-8ea3-9a5b7ff3c3c1.png) ![onelightreplace_cropped](https://user-images.githubusercontent.com/41551030/108649096-f4859180-74bc-11eb-8aec-217cd5053537.png) +### palenight +![palenightnormal_cropped](https://user-images.githubusercontent.com/7190144/109406548-3e1d2300-797a-11eb-8fdb-c3882ae08625.png) +![palenightinsert_cropped](https://user-images.githubusercontent.com/7190144/109406547-3e1d2300-797a-11eb-9b72-43ba7145355d.png) +![palenightvisual_cropped](https://user-images.githubusercontent.com/7190144/109406545-3cebf600-797a-11eb-8e2e-992e98d8120e.png) +![palenightreplace_cropped](https://user-images.githubusercontent.com/7190144/109406546-3d848c80-797a-11eb-9069-04caf383275d.png) + ### papercolor_dark ![paperdarknormal_cropped](https://user-images.githubusercontent.com/41551030/108649104-fd766300-74bc-11eb-8c5c-40e7191a81f7.png) ![paperdarkinsert_cropped](https://user-images.githubusercontent.com/41551030/108649106-fe0ef980-74bc-11eb-93f7-f98e0b89d5c9.png) diff --git a/lua/lualine/themes/palenight.lua b/lua/lualine/themes/palenight.lua new file mode 100644 index 0000000..b3e6bca --- /dev/null +++ b/lua/lualine/themes/palenight.lua @@ -0,0 +1,44 @@ +local colors = { + vertsplit = "#181A1F", + special_grey = "#3B4048", + menu_grey = "#3E4452", + cursor_grey = "#2C323C", + gutter_fg_grey = "#4B5263", + blue = "#82b1ff", + dark_red = "#BE5046", + white = "#bfc7d5", + green = "#C3E88D", + purple = "#c792ea", + yellow = "#ffcb6b", + light_red = "#ff869a", + red = "#ff5370", + dark_yellow = "#F78C6C", + cyan = "#89DDFF", + comment_grey = "#697098", + black = "#292D3E", +} + +return { + normal = { + a = { fg = colors.black, bg = colors.purple, "bold" }, + b = { fg = colors.purple, bg = colors.menu_grey }, + c = { fg = colors.comment_grey, bg = colors.black }, + }, + insert = { + a = { fg = colors.black, bg = colors.blue, "bold" }, + b = { fg = colors.blue, bg = colors.menu_grey }, + }, + visual = { + a = { fg = colors.black, bg = colors.cyan, "bold", }, + b = { fg = colors.cyan, bg = colors.menu_grey }, + }, + replace = { + a = { fg = colors.black, bg = colors.green, "bold" }, + b = { fg = colors.green, bg = colors.menu_grey }, + }, + inactive = { + a = { fg = colors.black, bg = colors.menu_grey, "bold" }, + b = { fg = colors.black, bg = colors.menu_grey }, + c = { fg = colors.black, bg = colors.menu_grey }, + }, +}