aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsrael Torres <itorres1490@gmail.com>2020-05-09 16:48:58 -0700
committerIsrael Torres <itorres1490@gmail.com>2020-05-09 16:48:58 -0700
commit742ad643afeac4832336f4a2bf0fd7704a60dcd5 (patch)
tree4950d23f69ecd518b944663fba07612eb48b65c3
parentf968093aace093e04bb97e142596bf629e8e9b22 (diff)
downloadlite-xl-colors-742ad643afeac4832336f4a2bf0fd7704a60dcd5.tar.gz
lite-xl-colors-742ad643afeac4832336f4a2bf0fd7704a60dcd5.zip
Added color theme 'dracula'
-rw-r--r--README.md1
-rw-r--r--colors/dracula.lua28
2 files changed, 29 insertions, 0 deletions
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