From 49a5e3608476a77bb459d3f9d36f6808bac61856 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 16 Feb 2022 12:21:41 +0100 Subject: [PATCH] Use customized zenbones theme --- .config/nvim/lua/plugins.lua | 31 +++++++--------------- .config/nvim/lua/plugins/zenbones.lua | 38 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 21 deletions(-) create mode 100644 .config/nvim/lua/plugins/zenbones.lua diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 1da96c3..7b9fd43 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -290,30 +290,19 @@ return require('packer').startup(function() end } - use { - "~/src/github.com/shelmangroup/nvim-shelman-theme", - requires ={{'tjdevries/colorbuddy.vim'}}, - config = function() - require('colorbuddy').colorscheme('shelman-light') - end - } - - -- use { - -- "cuducos/yaml.nvim", - -- ft = {"yaml"}, - -- requires = { - -- "nvim-treesitter/nvim-treesitter", - -- -- "nvim-telescope/telescope.nvim" -- optional - -- }, - -- config = function () - -- require("yaml_nvim").init() - -- end - -- } - -- marks use { "chentau/marks.nvim", config = function() require("plugins/marks") end, } -end) + -- zenbones + use { + "mcchrish/zenbones.nvim", + requires = { + "rktjmp/lush.nvim", + }, + config = function() require("plugins/zenbones") end, + } + +end) diff --git a/.config/nvim/lua/plugins/zenbones.lua b/.config/nvim/lua/plugins/zenbones.lua new file mode 100644 index 0000000..c203166 --- /dev/null +++ b/.config/nvim/lua/plugins/zenbones.lua @@ -0,0 +1,38 @@ +vim.g.zenbones = { + style = 'light', + lightness = 'bright', + colorize_diagnostic_underline_text = true, + transparent_background = true, + zenbones_compat = 1, +} + +local lush = require "lush" +local base = require "zenbones" + +-- Create some specs +local specs = lush.parse(function() + return { + CursorLine { bg = "#f0f5fa" }, + CursorLineNr { fg = "#607D8B", bg="#f0f5fa" }, + String { fg = "#33691E", gui = "italic" }, + Comment { fg = "#8D6E63", gui = "bold,italic" }, + LineNr { fg = "#CFD8DC", gui = "bold,italic" }, + Indent1 { fg = "#FFEBEE", gui = "italic" }, + Indent2 { fg = "#E8F5E9", gui = "italic" }, + Indent3 { fg = "#E8F5E9", gui = "italic" }, + Indent4 { fg = "#FFF3E0", gui = "italic" }, + Indent5 { fg = "#E0F7FA", gui = "italic" }, + Indent6 { fg = "#F3E5F5", gui = "italic" }, + NormalFloat { bg = "#FFF9C4" }, + FloatBorder { fg = "#FFB74D", bg = "#FFF9C4" }, + TelescopeNormal { bg = "#EFEBE9" }, + TelescopeBorder { fg = "#A1887F", bg = "#EFEBE9" }, + TelescopeSelection { fg = "#FFFFFF", bg = "#1976D2" }, + DiagnosticVirtualTextError { fg = "#D50000", bg = "#FFEBEE" }, + DiagnosticUnderlineError { fg = "#DD2C00", gui = "undercurl" }, + } +end) + +-- Apply specs using lush tool-chain +vim.cmd("colorscheme zenbones") +lush.apply(lush.compile(specs))