From 0411f1c830812f071ab8d6b6251662de21d5322a Mon Sep 17 00:00:00 2001 From: John Hunter <69089176+Jnhtr@users.noreply.github.com> Date: Thu, 20 May 2021 23:07:27 +0100 Subject: [PATCH] feat: horizon theme (#253) * Added Horizon theme * Tweaked a colour * another tweak and updated readme with screenshots. * Added copyright and luaformatter. Corrected THEMES.md * fixed lint error --- THEMES.md | 8 ++++++ lua/lualine/themes/horizon.lua | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 lua/lualine/themes/horizon.lua diff --git a/THEMES.md b/THEMES.md index 21d891a..6c21cec 100644 --- a/THEMES.md +++ b/THEMES.md @@ -85,6 +85,14 @@ lualine try to match your colorscheme.

+### horizon +

+ + + + +

+ ### iceberg_dark

diff --git a/lua/lualine/themes/horizon.lua b/lua/lualine/themes/horizon.lua new file mode 100644 index 0000000..030b7f2 --- /dev/null +++ b/lua/lualine/themes/horizon.lua @@ -0,0 +1,48 @@ +-- Copyright (c) 2021 Jnhtr +-- MIT license, see LICENSE for more details. +-- LuaFormatter off +local colors = { + black = '#1c1e26', + white = '#6C6F93', + red = '#F43E5C', + green = '#09F7A0', + blue = '#25B2BC', + yellow = '#F09383', + gray = '#E95678', + darkgray = '#1A1C23', + lightgray = '#2E303E', + inactivegray = '#1C1E26', +} +--LuaFormatter on +return { + normal = { + a = {bg = colors.gray, fg = colors.black, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.darkgray, fg = colors.white}, + }, + insert = { + a = {bg = colors.blue, fg = colors.black, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.darkgray, fg = colors.white} + }, + visual = { + a = {bg = colors.yellow, fg = colors.black, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.darkgray, fg = colors.white} + }, + replace = { + a = {bg = colors.red, fg = colors.black, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.darkgray, fg = colors.white} + }, + command = { + a = {bg = colors.green, fg = colors.black, gui = 'bold'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.darkgray, fg = colors.white} + }, + inactive = { + a = {bg = colors.inactivegray, fg = colors.lightgray, gui = 'bold'}, + b = {bg = colors.inactivegray, fg = colors.lightgray}, + c = {bg = colors.inactivegray, fg = colors.lightgray} + } +}