add gruvbox theme
This commit is contained in:
parent
685044335b
commit
40a63f67c8
5 changed files with 44 additions and 5 deletions
3
init.lua
3
init.lua
|
@ -15,11 +15,10 @@ g.auto_save = 0
|
||||||
cmd "syntax on"
|
cmd "syntax on"
|
||||||
|
|
||||||
local base16 = require "base16"
|
local base16 = require "base16"
|
||||||
base16(base16.themes["onedark"], true)
|
base16(base16.themes["nvchad-softgruv"], true)
|
||||||
|
|
||||||
require "highlights"
|
require "highlights"
|
||||||
require("colorizer").setup()
|
require("colorizer").setup()
|
||||||
|
|
||||||
require "mappings"
|
require "mappings"
|
||||||
require "telescope-nvim"
|
require "telescope-nvim"
|
||||||
require "file-icons"
|
require "file-icons"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
local colors = require "themes/onedark"
|
local colors = require "themes/gruvbox"
|
||||||
|
|
||||||
require "nvim-web-devicons".setup {
|
require "nvim-web-devicons".setup {
|
||||||
override = {
|
override = {
|
||||||
|
@ -106,6 +106,11 @@ require "nvim-web-devicons".setup {
|
||||||
icon = "",
|
icon = "",
|
||||||
color = colors.orange,
|
color = colors.orange,
|
||||||
name = "rpm"
|
name = "rpm"
|
||||||
|
},
|
||||||
|
lua = {
|
||||||
|
icon = "",
|
||||||
|
color = colors.blue,
|
||||||
|
name = "lua"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local cmd = vim.cmd
|
local cmd = vim.cmd
|
||||||
|
|
||||||
local colors = require "themes/onedark"
|
local colors = require "themes/gruvbox"
|
||||||
|
|
||||||
local white = colors.white
|
local white = colors.white
|
||||||
local darker_black = colors.darker_black
|
local darker_black = colors.darker_black
|
||||||
|
@ -66,6 +66,8 @@ fg_bg("DiffModified", nord_blue, "none")
|
||||||
-- NvimTree
|
-- NvimTree
|
||||||
fg("NvimTreeFolderIcon", blue)
|
fg("NvimTreeFolderIcon", blue)
|
||||||
fg("NvimTreeFolderName", blue)
|
fg("NvimTreeFolderName", blue)
|
||||||
|
fg("NvimTreeOpenedFolderName", blue)
|
||||||
|
fg("NvimTreeEmptyFolderName", blue)
|
||||||
fg("NvimTreeIndentMarker", one_bg2)
|
fg("NvimTreeIndentMarker", one_bg2)
|
||||||
fg("NvimTreeVertSplit", darker_black)
|
fg("NvimTreeVertSplit", darker_black)
|
||||||
bg("NvimTreeVertSplit", darker_black)
|
bg("NvimTreeVertSplit", darker_black)
|
||||||
|
|
|
@ -4,7 +4,7 @@ local condition = require("galaxyline.condition")
|
||||||
|
|
||||||
gl.short_line_list = {" "}
|
gl.short_line_list = {" "}
|
||||||
|
|
||||||
local colors = require "themes/onedark"
|
local colors = require "themes/gruvbox"
|
||||||
|
|
||||||
gls.left[1] = {
|
gls.left[1] = {
|
||||||
FirstElement = {
|
FirstElement = {
|
||||||
|
|
33
lua/themes/gruvbox.lua
Normal file
33
lua/themes/gruvbox.lua
Normal 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
|
Loading…
Reference in a new issue