Skip to content

Commit 4b09b16

Browse files
committed
Add dracula colorscheme and set default
1 parent 766e0f2 commit 4b09b16

2 files changed

Lines changed: 62 additions & 1 deletion

File tree

lua/kickstart/plugins/dracula.lua

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
return {
2+
{
3+
'Mofiqul/dracula.nvim',
4+
priority = 1000,
5+
config = function()
6+
require('dracula').setup {
7+
-- customize dracula color palette
8+
colors = {
9+
bg = '#282A36',
10+
fg = '#F8F8F2',
11+
selection = '#44475A',
12+
comment = '#6272A4',
13+
red = '#FF5555',
14+
orange = '#FFB86C',
15+
yellow = '#F1FA8C',
16+
green = '#50fa7b',
17+
purple = '#BD93F9',
18+
cyan = '#8BE9FD',
19+
pink = '#FF79C6',
20+
bright_red = '#FF6E6E',
21+
bright_green = '#69FF94',
22+
bright_yellow = '#FFFFA5',
23+
bright_blue = '#D6ACFF',
24+
bright_magenta = '#FF92DF',
25+
bright_cyan = '#A4FFFF',
26+
bright_white = '#FFFFFF',
27+
menu = '#21222C',
28+
visual = '#3E4452',
29+
gutter_fg = '#4B5263',
30+
nontext = '#3B4048',
31+
white = '#ABB2BF',
32+
black = '#191A21',
33+
},
34+
-- show the '~' characters after the end of buffers
35+
show_end_of_buffer = true, -- default false
36+
-- use transparent background
37+
transparent_bg = true, -- default false
38+
-- set custom lualine background color
39+
lualine_bg_color = '#44475a', -- default nil
40+
-- set italic comment
41+
italic_comment = true, -- default false
42+
-- overrides the default highlights with table see `:h synIDattr`
43+
overrides = {},
44+
-- You can use overrides as table like this
45+
-- overrides = {
46+
-- NonText = { fg = "white" }, -- set NonText fg to white
47+
-- NvimTreeIndentMarker = { link = "NonText" }, -- link to NonText highlight
48+
-- Nothing = {} -- clear highlight of Nothing
49+
-- },
50+
-- Or you can also use it like a function to get color from theme
51+
-- overrides = function (colors)
52+
-- return {
53+
-- NonText = { fg = colors.white }, -- set NonText fg to white of theme
54+
-- }
55+
-- end,
56+
}
57+
58+
vim.cmd.colorscheme 'dracula'
59+
end,
60+
},
61+
}

lua/lazy-plugins.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ require('lazy').setup({
3535

3636
require 'kickstart.plugins.blink-cmp',
3737

38-
require 'kickstart.plugins.tokyonight',
38+
require 'kickstart.plugins.dracula',
3939

4040
require 'kickstart.plugins.todo-comments',
4141

0 commit comments

Comments
 (0)