From 2158095193c185b9490f919d6f91438de9317ef7 Mon Sep 17 00:00:00 2001 From: "ronnie@machine" Date: Thu, 15 Apr 2021 20:15:03 +0300 Subject: [PATCH] feat: modus_vivendi theme (#168) * added the modus_vivendi theme * Added screenshorts for modus_vivendi theme * rearranged the themes to be alphabetical * changed the a component's forground to lightgray * changed screenshots to reflect the new foreground color for the a component * lua-format and docstring added --- THEMES.md | 5 +++ lua/lualine/themes/modus_vivendi.lua | 57 ++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 lua/lualine/themes/modus_vivendi.lua diff --git a/THEMES.md b/THEMES.md index b1e85fc..60ff731 100644 --- a/THEMES.md +++ b/THEMES.md @@ -83,6 +83,11 @@ lualine try to match your colorscheme. ![materialvisual_cropped](https://user-images.githubusercontent.com/41551030/108648930-a1134380-74bc-11eb-8a24-f203bf05cfb3.png) ![materialreplace_cropped](https://user-images.githubusercontent.com/41551030/108648935-a2dd0700-74bc-11eb-9a4b-72eb1e2ab79e.png) +### modus_vivendi +![modus_vivendinormal cropped](https://user-images.githubusercontent.com/9327361/114389966-58176b80-9b9e-11eb-944e-1e0079527d74.png) +![modus_vivendiinsert cropped](https://user-images.githubusercontent.com/9327361/114390000-606fa680-9b9e-11eb-97dd-ef5bbc23049a.png) +![modus_vivendivisual cropped](https://user-images.githubusercontent.com/9327361/114390024-6796b480-9b9e-11eb-8be2-ca4cc893fbb2.png) +![modus_vivendireplace cropped](https://user-images.githubusercontent.com/9327361/114390052-6d8c9580-9b9e-11eb-8dcb-469290a4c655.png) ### molokai ![molokainormal_cropped](https://user-images.githubusercontent.com/41551030/108648944-ab354200-74bc-11eb-85fd-71a40102384b.png) diff --git a/lua/lualine/themes/modus_vivendi.lua b/lua/lualine/themes/modus_vivendi.lua new file mode 100644 index 0000000..cefe7ed --- /dev/null +++ b/lua/lualine/themes/modus_vivendi.lua @@ -0,0 +1,57 @@ +-- Copyright (c) 2020-2021 ronniedroid +-- MIT license, see LICENSE for more details. +local modus_vivendi = {} +-- LuaFormatter off +local colors = { + black = '#000000', + white = '#eeeeee', + red = '#ffa0a0', + green = '#88cf88', + blue = '#92baff', + magenta = '#feacd0', + cyan = '#a0bfdf', + gray = '#2f2f2f', + darkgray = '#202020', + lightgray = '#434343' +} +-- LuaFormatter on + +modus_vivendi.normal = { + a = {bg = colors.blue, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.blue}, + c = {bg = colors.gray, fg = colors.white} +} + +modus_vivendi.insert = { + a = {bg = colors.cyan, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.cyan}, + c = {bg = colors.gray, fg = colors.white} +} + +modus_vivendi.visual = { + a = {bg = colors.magenta, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.magenta}, + c = {bg = colors.gray, fg = colors.white} +} + +modus_vivendi.replace = { + a = {bg = colors.red, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.red}, + c = {bg = colors.gray, fg = colors.white} +} + +modus_vivendi.command = { + a = {bg = colors.green, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.green}, + c = {bg = colors.gray, fg = colors.white} +} + +modus_vivendi.terminal = modus_vivendi.normal + +modus_vivendi.inactive = { + a = {bg = colors.darkgray, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.darkgray, fg = colors.lightgray}, + c = {bg = colors.darkgray, fg = colors.lightgray} +} + +return modus_vivendi