mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
80 lines
No EOL
2.4 KiB
Lua
80 lines
No EOL
2.4 KiB
Lua
local M = {}
|
|
|
|
function M.setup()
|
|
local dracula = require("dracula")
|
|
--dracula.setup({
|
|
-- customize dracula color palette
|
|
local conf = {
|
|
-- Default dracula colors
|
|
-- colors = {
|
|
-- bg = "#282A36",
|
|
-- fg = "#F8F8F2",
|
|
-- selection = "#44475A",
|
|
-- comment = "#6272A4",
|
|
-- red = "#FF5555",
|
|
-- orange = "#FFB86C",
|
|
-- yellow = "#F1FA8C",
|
|
-- green = "#50fa7b",
|
|
-- purple = "#BD93F9",
|
|
-- cyan = "#8BE9FD",
|
|
-- pink = "#FF79C6",
|
|
-- bright_red = "#FF6E6E",
|
|
-- bright_green = "#69FF94",
|
|
-- bright_yellow = "#FFFFA5",
|
|
-- bright_blue = "#D6ACFF",
|
|
-- bright_magenta = "#FF92DF",
|
|
-- bright_cyan = "#A4FFFF",
|
|
-- bright_white = "#FFFFFF",
|
|
-- menu = "#21222C",
|
|
-- visual = "#3E4452",
|
|
-- gutter_fg = "#4B5263",
|
|
-- nontext = "#3B4048",
|
|
-- },
|
|
-- Dracula PRO
|
|
colors = {
|
|
bg = "#393649",
|
|
fg = "#F8F8F2",
|
|
selection = "#454158", --prof = #454158
|
|
comment = "#6272A4", --pro = #7970A9
|
|
red = "#FF9580",
|
|
orange = "#FFCA80",
|
|
yellow = "#FFFF80",
|
|
green = "#8AFF80",
|
|
purple = "#9580FF",
|
|
cyan = "#80FFEA",
|
|
pink = "#FF80BF",
|
|
bright_red = "#FF6E6E",
|
|
bright_green = "#69FF94",
|
|
bright_yellow = "#FFFFA5",
|
|
bright_blue = "#D6ACFF",
|
|
bright_magenta = "#FF92DF",
|
|
bright_cyan = "#A4FFFF",
|
|
bright_white = "#FFFFFF",
|
|
menu = "#21222C",
|
|
visual = "#3E4452",
|
|
gutter_fg = "#4B5263",
|
|
nontext = "#3B4048",
|
|
},
|
|
-- show the '~' characters after the end of buffers
|
|
show_end_of_buffer = true, -- default false
|
|
-- use transparent background
|
|
transparent_bg = true, -- default false
|
|
-- set custom lualine background color
|
|
lualine_bg_color = "#44475a", -- default nil
|
|
-- set italic comment
|
|
italic_comment = true, -- default false
|
|
-- overrides the default highlights see `:h synIDattr`
|
|
overrides = {
|
|
-- Examples
|
|
-- NonText = { fg = dracula.colors().white }, -- set NonText fg to white
|
|
-- NvimTreeIndentMarker = { link = "NonText" }, -- link to NonText highlight
|
|
-- Nothing = {} -- clear highlight of Nothing
|
|
},
|
|
}
|
|
|
|
dracula.setup(conf)
|
|
|
|
end
|
|
-- to use colors in other places
|
|
-- local colors = require('dracula').colors()
|
|
return M |