add gruvbox theme

This commit is contained in:
siduck76 2021-06-26 08:05:24 +05:30
parent 685044335b
commit 40a63f67c8
5 changed files with 44 additions and 5 deletions

View File

@ -15,11 +15,10 @@ g.auto_save = 0
cmd "syntax on"
local base16 = require "base16"
base16(base16.themes["onedark"], true)
base16(base16.themes["nvchad-softgruv"], true)
require "highlights"
require("colorizer").setup()
require "mappings"
require "telescope-nvim"
require "file-icons"

View File

@ -1,4 +1,4 @@
local colors = require "themes/onedark"
local colors = require "themes/gruvbox"
require "nvim-web-devicons".setup {
override = {
@ -106,6 +106,11 @@ require "nvim-web-devicons".setup {
icon = "",
color = colors.orange,
name = "rpm"
},
lua = {
icon = "",
color = colors.blue,
name = "lua"
}
}
}

View File

@ -1,6 +1,6 @@
local cmd = vim.cmd
local colors = require "themes/onedark"
local colors = require "themes/gruvbox"
local white = colors.white
local darker_black = colors.darker_black
@ -66,6 +66,8 @@ fg_bg("DiffModified", nord_blue, "none")
-- NvimTree
fg("NvimTreeFolderIcon", blue)
fg("NvimTreeFolderName", blue)
fg("NvimTreeOpenedFolderName", blue)
fg("NvimTreeEmptyFolderName", blue)
fg("NvimTreeIndentMarker", one_bg2)
fg("NvimTreeVertSplit", darker_black)
bg("NvimTreeVertSplit", darker_black)

View File

@ -4,7 +4,7 @@ local condition = require("galaxyline.condition")
gl.short_line_list = {" "}
local colors = require "themes/onedark"
local colors = require "themes/gruvbox"
gls.left[1] = {
FirstElement = {

33
lua/themes/gruvbox.lua Normal file
View File

@ -0,0 +1,33 @@
local colors = {
white = "#c7b89d",
darker_black = "#1d2021",
black = "#222526", -- nvim bg
black2 = "#26292a",
one_bg = "#2a2e36", -- real bg of onedark
one_bg2 = "#31353d",
one_bg3 = "#343840",
grey = "#46494a",
grey_fg = "#5d6061",
grey_fg2 = "#5b5e5f",
light_grey = "#585b5c",
red = "#ec6b64",
baby_pink = "#ce8196",
pink = "#ff75a0",
line = "#2c2f30", -- for lines like vertsplit
green = "#89b482",
vibrant_green = "#a9b665",
nord_blue = "#7b9bbb",
blue = "#6d8dad",
yellow = "#d6b676",
sun = "#d1b171",
purple = "#b4bbc8",
dark_purple = "#cc7f94",
teal = "#749689",
orange = "#e78a4e",
cyan = "#82b3a8",
statusline_bg = "#252829",
lightbg = "#2d3139",
lightbg2 = "#262a32"
}
return colors