aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVannRR <92082133+VannRR@users.noreply.github.com>2023-09-12 22:24:40 -0700
committerVannRR <92082133+VannRR@users.noreply.github.com>2023-09-12 22:24:40 -0700
commit547e00c776115ac9a89f179fc501ff295f2fcf9d (patch)
tree6a83a0de0c3ba63d490145557b4af880c1434e67
parent000e6aa9f8068e436db54c7b9ab6a6f7ff2c0ecf (diff)
downloadlite-xl-colors-547e00c776115ac9a89f179fc501ff295f2fcf9d.tar.gz
lite-xl-colors-547e00c776115ac9a89f179fc501ff295f2fcf9d.zip
Add solarized_dark theme
-rw-r--r--README.md1
-rw-r--r--colors/solarized_dark.lua28
-rw-r--r--previews/solarized_dark.svg13
3 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md
index 17207a1..c394bec 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ Theme | Preview
[`plasma`](colors/plasma.lua?raw=1) | ![plasma_preview](previews/plasma.svg)
[`rose-pine-moon`](colors/rose-pine-moon.lua?raw=1)| ![rose_pine_review](previews/rose-pine-moon.svg)
[`rose-pine`](colors/rose-pine.lua?raw=1)| ![rose_pine_review](previews/rose-pine.svg)
+[`solarized_dark`](colors/solarized_dark.lua?raw=1) | ![solarized_dark_preview](previews/solarized_dark.svg)
[`synthwave`](colors/synthwave.lua?raw=1) | ![synthwave_preview](previews/synthwave.svg)
[`tokyo-night`](colors/tokyo-night.lua?raw=1) | ![tokyo-night_preview](previews/tokyo-night.svg)
[`vscode-dark`](colors/vscode-dark.lua?raw=1) | ![vscode-dark_preview](previews/vscode-dark.svg)
diff --git a/colors/solarized_dark.lua b/colors/solarized_dark.lua
new file mode 100644
index 0000000..31eef0d
--- /dev/null
+++ b/colors/solarized_dark.lua
@@ -0,0 +1,28 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#002b36" }
+style.background2 = { common.color "#073642" }
+style.background3 = { common.color "#073642" }
+style.text = { common.color "#93A1A1" }
+style.caret = { common.color "#586e75" }
+style.accent = { common.color "#268bd2" }
+style.dim = { common.color "#586e75" }
+style.divider = { common.color "#23424A" }
+style.selection = { common.color "#073642" }
+style.line_number = { common.color "#586e75" }
+style.line_number2 = { common.color "#93A1A1" }
+style.line_highlight = { common.color "#073642" }
+style.scrollbar = { common.color "#304A50" }
+style.scrollbar2 = { common.color "#465356" }
+
+style.syntax["normal"] = { common.color "#93A1A1" }
+style.syntax["symbol"] = { common.color "#93A1A1" }
+style.syntax["comment"] = { common.color "#586e75" }
+style.syntax["keyword"] = { common.color "#859900" }
+style.syntax["keyword2"] = { common.color "#268bd2" }
+style.syntax["number"] = { common.color "#d33682" }
+style.syntax["literal"] = { common.color "#2aa198" }
+style.syntax["string"] = { common.color "#2aa198" }
+style.syntax["operator"] = { common.color "#859900" }
+style.syntax["function"] = { common.color "#268bd2" }
diff --git a/previews/solarized_dark.svg b/previews/solarized_dark.svg
new file mode 100644
index 0000000..3e05437
--- /dev/null
+++ b/previews/solarized_dark.svg
@@ -0,0 +1,13 @@
+<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="18.181818181818" height="16" fill="rgb(0, 43, 54)"></rect>
+<rect x="18.181818181818" width="18.181818181818" height="16" fill="rgb(7, 54, 66)"></rect>
+<rect x="36.363636363636" width="18.181818181818" height="16" fill="rgb(35, 66, 74)"></rect>
+<rect x="54.545454545455" width="18.181818181818" height="16" fill="rgb(48, 74, 80)"></rect>
+<rect x="72.727272727273" width="18.181818181818" height="16" fill="rgb(70, 83, 86)"></rect>
+<rect x="90.909090909091" width="18.181818181818" height="16" fill="rgb(133, 153, 0)"></rect>
+<rect x="109.09090909091" width="18.181818181818" height="16" fill="rgb(88, 110, 117)"></rect>
+<rect x="127.27272727273" width="18.181818181818" height="16" fill="rgb(42, 161, 152)"></rect>
+<rect x="145.45454545455" width="18.181818181818" height="16" fill="rgb(38, 139, 210)"></rect>
+<rect x="163.63636363636" width="18.181818181818" height="16" fill="rgb(211, 54, 130)"></rect>
+<rect x="181.81818181818" width="18.181818181818" height="16" fill="rgb(147, 161, 161)"></rect>
+</svg> \ No newline at end of file