Added dracula theme (#12)

* Added dracula theme

* Converted from 4 spaces to 2
This commit is contained in:
anguye21 2021-01-02 17:35:36 +00:00 committed by GitHub
parent 6ae335748d
commit fb8154582c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 110 additions and 0 deletions

View File

@ -65,6 +65,7 @@ lualine.theme = 'gruvbox'
<summary><b>Available themes</b></summary>
* gruvbox
* dracula
Please create a pr if you managed to port a popular theme before me
</details>

View File

@ -0,0 +1,109 @@
local M = { }
local Colors = {
grey = "#44475a",
lightGrey = "#5f6a8e",
orange = "#ffb86c",
purple = "#bd93f9",
red = "#ff5555",
yellow = "#f1fa8c",
green = "#50fa7b",
white = "#f8f8f2",
black = "#282a36",
}
M.normal = {
a = {
bg = Colors.purple,
fg = Colors.black,
},
b = {
bg = Colors.lightGrey,
fg = Colors.white,
},
c = {
bg = Colors.grey,
fg = Colors.white,
}
}
M.insert = {
a = {
bg = Colors.green,
fg = Colors.black,
},
b = {
bg = Colors.lightGrey,
fg = Colors.white,
},
c = {
bg = Colors.grey,
fg = Colors.white,
}
}
M.visual = {
a = {
bg = Colors.yellow,
fg = Colors.black,
},
b = {
bg = Colors.lightGrey,
fg = Colors.white,
},
c = {
bg = Colors.grey,
fg = Colors.white,
},
}
M.replace = {
a = {
bg = Colors.red,
fg = Colors.black,
},
b = {
bg = Colors.lightGrey,
fg = Colors.white,
},
c = {
bg = Colors.grey,
fg = Colors.white,
},
}
M.command = {
a = {
bg = Colors.grey,
fg = Colors.white,
},
b = {
bg = Colors.lightGrey,
fg = Colors.white,
},
c = {
bg = Colors.purple,
fg = Colors.white
},
}
M.terminal = M.normal
M.inactive = {
a = {
bg = Colors.white,
fg = Colors.purple,
},
b = {
bg = Colors.grey,
fg = Colors.purple,
},
c = {
bg = Colors.purple,
fg = Colors.purple,
},
}
return M