From 742ad643afeac4832336f4a2bf0fd7704a60dcd5 Mon Sep 17 00:00:00 2001 From: Israel Torres Date: Sat, 9 May 2020 16:48:58 -0700 Subject: Added color theme 'dracula' --- README.md | 1 + colors/dracula.lua | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 colors/dracula.lua diff --git a/README.md b/README.md index 2ca94b1..a6fe1b7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ embedded in the table.* Theme | Preview ------|----------------------------------------- +[`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](https://user-images.githubusercontent.com/4349174/81487660-2a9aa300-9214-11ea-96e6-25e7a75f5396.png) [`gruvbox_dark`](colors/gruvbox_dark.lua?raw=1) | ![gruvbox_dark_preview](https://user-images.githubusercontent.com/57670615/81137677-94bdfa00-8f2d-11ea-9224-3d70a5ec3101.png) [`monodark`](colors/monodark.lua?raw=1) | ![monodark_preview](https://user-images.githubusercontent.com/3920290/80304201-62353400-87ac-11ea-9b13-9ca1b9db0f99.png) [`monokai`](colors/monokai.lua?raw=1) | ![monokai_preview](https://user-images.githubusercontent.com/3920290/80307643-43419c80-87c2-11ea-9f04-580d6acf6252.png) diff --git a/colors/dracula.lua b/colors/dracula.lua new file mode 100644 index 0000000..cac5e04 --- /dev/null +++ b/colors/dracula.lua @@ -0,0 +1,28 @@ +local style = require "core.style" +local common = require "core.common" + +style.background = { common.color "#282a36" } +style.background2 = { common.color "#282a36" } +style.background3 = { common.color "#282a36" } +style.text = { common.color "#f8f8f2" } +style.caret = { common.color "#f8f8f0" } +style.accent = { common.color "#8be9fd" } +style.dim = { common.color "#6272a4" } +style.divider = { common.color "#6272a4" } +style.selection = { common.color "#44475a" } +style.line_number = { common.color "#6272a4" } +style.line_number2 = { common.color "#6272a4" } +style.line_highlight = { common.color "#44475a" } +style.scrollbar = { common.color "#6272a4" } +style.scrollbar2 = { common.color "#44475a" } + +style.syntax["normal"] = { common.color "#f8f8f2" } +style.syntax["symbol"] = { common.color "#f8f8f2" } +style.syntax["comment"] = { common.color "#6272a4" } +style.syntax["keyword"] = { common.color "#ff79c6" } +style.syntax["keyword2"] = { common.color "#ff79c6" } +style.syntax["number"] = { common.color "#bd93f9" } +style.syntax["literal"] = { common.color "#f1fa8c" } +style.syntax["string"] = { common.color "#f1fa8c" } +style.syntax["operator"] = { common.color "#ff79c6" } +style.syntax["function"] = { common.color "#50fa7b" } \ No newline at end of file -- cgit v1.2.3