From 4456e5ff4a581b7fae52196f3173de8876ca9810 Mon Sep 17 00:00:00 2001 From: Shadman Date: Fri, 5 Feb 2021 02:02:53 +0600 Subject: [PATCH] Adding material theme (#65) * Adding material theme Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com> --- THEMES.md | 6 ++++ lua/lualine/themes/material.lua | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 lua/lualine/themes/material.lua diff --git a/THEMES.md b/THEMES.md index 20e0b44..9d4e583 100644 --- a/THEMES.md +++ b/THEMES.md @@ -21,6 +21,12 @@ All available themes are only best effort ports by myself/ other users. If you f ![command](https://user-images.githubusercontent.com/41551030/103467919-2ba8b380-4d54-11eb-8585-6c667fd5082e.png) ![replace](https://user-images.githubusercontent.com/41551030/103467925-32372b00-4d54-11eb-88d6-6d39c46854d8.png) +### material +![normal](https://user-images.githubusercontent.com/13149513/104335816-f3f0f700-551d-11eb-8919-96cee2bea2a0.jpg) +![insert](https://user-images.githubusercontent.com/13149513/104335824-f5222400-551d-11eb-9c22-7eeeed129e93.jpg) +![visual](https://user-images.githubusercontent.com/13149513/104335868-01a67c80-551e-11eb-8b8f-df450280a48d.jpg) +![replace](https://user-images.githubusercontent.com/13149513/104335877-0408d680-551e-11eb-8d11-06fe1937062e.jpg) + ### molokai ![normal](https://user-images.githubusercontent.com/13149513/104329284-f69c1e00-5516-11eb-9c35-4b7f4baebe47.jpg) ![insert](https://user-images.githubusercontent.com/13149513/104329303-fac83b80-5516-11eb-96fd-fc30eaab8244.jpg) diff --git a/lua/lualine/themes/material.lua b/lua/lualine/themes/material.lua new file mode 100644 index 0000000..cae2f0f --- /dev/null +++ b/lua/lualine/themes/material.lua @@ -0,0 +1,51 @@ +-- ============================================================================= +-- Filename: lua/lightline/themes/material.lua +-- Author: shadman +-- Credit: Lokesh Krishna(lightline) +-- License: MIT License +-- ============================================================================= + +local M = {} + +local colors = { + fg = '#eeffff', + bg = '#263238', + blue = '#82aaff', + green = '#c3e88d', + purple = '#c792ea', + red1 = '#f07178', + red2 = '#ff5370', + yellow = '#ffcb6b', + gray1 = '#314549', + gray2 = '#2E3C43', + gray3 = '#515559', +} + +M.normal = { + a = { fg = colors.bg, bg = colors.blue , gui = 'bold', }, + b = { fg = colors.fg, bg = colors.gray3 , }, + c = { fg = colors.fg, bg = colors.gray2 , } +} + +M.insert = { + a = { fg = colors.bg, bg = colors.green, 'bold' , gui = 'bold', }, + b = { fg = colors.fg, bg = colors.gray3 , }, +} + +M.visual = { + a = { fg = colors.bg, bg = colors.purple, 'bold' , gui = 'bold', }, + b = { fg = colors.fg, bg = colors.gray3 , }, +} + +M.replace = { + a = { fg = colors.bg, bg = colors.red1 , gui = 'bold', }, + b = { fg = colors.fg, bg = colors.gray3 , }, +} + +M.inactive = { + a = { fg = colors.fg, bg = colors.bg , gui = 'bold', }, + b = { fg = colors.fg, bg = colors.bg , }, + c = { fg = colors.fg, bg = colors.gray2 , }, +} + +return M