aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-06-05 03:55:32 +0200
committerGitHub <noreply@github.com>2022-06-05 03:55:32 +0200
commit0a019f4c32f47898192d563e1ef72d31627974f1 (patch)
tree4559bd839b9d4bbf61f27ef4e781fe9c68fa2a74
parente5d1c3d5c30bf2f7e1be9cb49674a76a4fceb587 (diff)
parent1b20ce4ae5a40b8a0430dfaee773a4535a2cbec1 (diff)
downloadlite-xl-colors-0a019f4c32f47898192d563e1ef72d31627974f1.tar.gz
lite-xl-colors-0a019f4c32f47898192d563e1ef72d31627974f1.zip
Merge pull request #13 from Delta-official/master
Add Betelgeuse theme
-rw-r--r--README.md3
-rw-r--r--colors/betelgeuse.lua48
-rw-r--r--previews/betelgeuse.svg16
3 files changed, 66 insertions, 1 deletions
diff --git a/README.md b/README.md
index 360c92b..6f33783 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@ embedded in the table.*
Theme | Preview
------|-----------------------------------------
+[`betelgeuse`](colors/betelgeuse.lua?raw=1) | ![betelgeuse_preview](previews/betelgeuse.svg)
[`cold_lime`](colors/cold_lime.lua?raw=1) | ![cold_lime_preview](previews/cold_lime.svg)
[`c0mfy`](colors/c0mfy.lua?raw=1) | ![c0mfy_preview](previews/c0mfy.svg)
[`dracula`](colors/dracula.lua?raw=1) | ![dracula_preview](previews/dracula.svg)
@@ -42,4 +43,4 @@ Theme | Preview
[`gruvbox_light`](colors/gruvbox_light.lua?raw=1) | ![gruvbox_light_preview](previews/gruvbox_light.svg)
[`moe`](colors/moe.lua?raw=1) | ![moe_preview](previews/moe.svg)
[`solarized_light`](colors/solarized_light.lua?raw=1) | ![solarized_light_preview](previews/solarized_light.svg)
-[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](previews/solarobj.svg) \ No newline at end of file
+[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](previews/solarobj.svg)
diff --git a/colors/betelgeuse.lua b/colors/betelgeuse.lua
new file mode 100644
index 0000000..f8eb86f
--- /dev/null
+++ b/colors/betelgeuse.lua
@@ -0,0 +1,48 @@
+local style = require "core.style"
+local common = require "core.common"
+
+-- App --
+style.background = { common.color "#222831" }
+style.background2 = { common.color "#1e232b" }
+style.background3 = { common.color "#1e232b" }
+style.text = { common.color "#dfe2e7" }
+style.caret = { common.color "#dfe2e7" }
+style.accent = { common.color "#e2e4e9" }
+style.dim = { common.color "#8893a5" }
+style.divider = { common.color "#1e232b" }
+style.selection = { common.color "#2c3440" }
+style.line_number = { common.color "#8893a5" }
+style.line_number2 = { common.color "#8893a5" }
+style.line_highlight = { common.color "#242a34" }
+style.scrollbar = { common.color "#2c3440" }
+style.scrollbar2 = { common.color "#f5ad44" }
+style.scrollbar_track = { common.color "#00000000" }
+style.nagbar = { common.color "#db504a" }
+style.nagbar_text = { common.color "#dfe2e7" }
+style.nagbar_dim = { common.color "rgba(0, 0, 0, 0.45)" }
+style.drag_overlay = { common.color "#dfe2e733" }
+style.drag_overlay_tab = { common.color "#f5ad44" }
+style.good = { common.color "#47e2b1" }
+style.warn = { common.color "#f5ad44" }
+style.error = { common.color "#db504a" }
+style.modified = { common.color "#448bf5" }
+
+-- Syntax --
+style.syntax = {}
+style.syntax["normal"] = { common.color "#dfe2e7" }
+style.syntax["symbol"] = { common.color "#dfe2e7" }
+style.syntax["comment"] = { common.color "#8893a5" }
+style.syntax["keyword"] = { common.color "#448bf5" }
+style.syntax["keyword2"] = { common.color "#f5ad44" }
+style.syntax["number"] = { common.color "#f5ad44" }
+style.syntax["literal"] = { common.color "#45e1df" }
+style.syntax["string"] = { common.color "#f5ad44" }
+style.syntax["operator"] = { common.color "#dfe2e7" }
+style.syntax["function"] = { common.color "#f786aa" }
+
+-- Lint+ --
+style.lint = {}
+style.lint["info"] = { common.color "#448bf5" }
+style.lint["hint"] = { common.color "#47e2b1" }
+style.lint["warning"] = { common.color "#f5ad44" }
+style.lint["error"] = { common.color "#db504a" }
diff --git a/previews/betelgeuse.svg b/previews/betelgeuse.svg
new file mode 100644
index 0000000..93fedd4
--- /dev/null
+++ b/previews/betelgeuse.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="16" shape-rendering="crispEdges">
+<rect x="0.0" width="14.285714285714" height="16" fill="rgb(0, 0, 0)"></rect>
+<rect x="14.285714285714" width="14.285714285714" height="16" fill="rgb(30, 35, 43)"></rect>
+<rect x="28.571428571429" width="14.285714285714" height="16" fill="rgb(34, 40, 49)"></rect>
+<rect x="42.857142857143" width="14.285714285714" height="16" fill="rgb(36, 42, 52)"></rect>
+<rect x="57.142857142857" width="14.285714285714" height="16" fill="rgb(44, 52, 64)"></rect>
+<rect x="71.428571428571" width="14.285714285714" height="16" fill="rgb(219, 80, 74)"></rect>
+<rect x="85.714285714286" width="14.285714285714" height="16" fill="rgb(136, 147, 165)"></rect>
+<rect x="100.0" width="14.285714285714" height="16" fill="rgb(68, 139, 245)"></rect>
+<rect x="114.28571428571" width="14.285714285714" height="16" fill="rgb(71, 226, 177)"></rect>
+<rect x="128.57142857143" width="14.285714285714" height="16" fill="rgb(245, 173, 68)"></rect>
+<rect x="142.85714285714" width="14.285714285714" height="16" fill="rgb(69, 225, 223)"></rect>
+<rect x="157.14285714286" width="14.285714285714" height="16" fill="rgb(247, 134, 170)"></rect>
+<rect x="171.42857142857" width="14.285714285714" height="16" fill="rgb(223, 226, 231)"></rect>
+<rect x="185.71428571429" width="14.285714285714" height="16" fill="rgb(226, 228, 233)"></rect>
+</svg> \ No newline at end of file