aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-04-29 19:04:39 +0100
committerGitHub <noreply@github.com>2020-04-29 19:04:39 +0100
commit9e77ce15772e5f5f9e9ab8ddb637387250cda579 (patch)
tree25944ea3fe69d5a7e533c6fd4a7c82ad7b5671f2
parent71e39904f39edc63c5b5611369a02f94ed578b23 (diff)
parente934e968d0da9d6417710473914f38c32cd0ec25 (diff)
downloadlite-xl-colors-9e77ce15772e5f5f9e9ab8ddb637387250cda579.tar.gz
lite-xl-colors-9e77ce15772e5f5f9e9ab8ddb637387250cda579.zip
Merge pull request #1 from raytracer/master
Added color theme `solarized_light`
-rw-r--r--README.md1
-rw-r--r--colors/solarized_light.lua28
2 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index ffccb52..ee2d292 100644
--- a/README.md
+++ b/README.md
@@ -20,4 +20,5 @@ Theme | Preview
Theme | Preview
------|-----------------------------------------
[`github`](colors/github.lua?raw=1) | ![github_preview](https://user-images.githubusercontent.com/3920290/80308013-800e9300-87c4-11ea-88a7-1f56104a7423.png)
+[`solarized_light`](colors/solarized_light.lua?raw=1) | ![solarized_light_preview](https://user-images.githubusercontent.com/1621631/80608663-632dc600-8a37-11ea-986c-dc8cba846ae6.png)
diff --git a/colors/solarized_light.lua b/colors/solarized_light.lua
new file mode 100644
index 0000000..d47f141
--- /dev/null
+++ b/colors/solarized_light.lua
@@ -0,0 +1,28 @@
+local style = require "core.style"
+local common = require "core.common"
+
+style.background = { common.color "#fdf6e3" }
+style.background2 = { common.color "#eee8d5" }
+style.background3 = { common.color "#fdf6e3" }
+style.text = { common.color "#657b83" }
+style.caret = { common.color "#657b83" }
+style.accent = { common.color "#002b36" }
+style.dim = { common.color "#93a1a1" }
+style.divider = { common.color "#586e75" }
+style.selection = { common.color "#eee8d5" }
+style.line_number = { common.color "#93a1a1" }
+style.line_number2 = { common.color "#002b36" }
+style.line_highlight = { common.color "#eee8d5" }
+style.scrollbar = { common.color "#93a1a1" }
+style.scrollbar2 = { common.color "#586e75" }
+
+style.syntax["normal"] = { common.color "#657b83" }
+style.syntax["symbol"] = { common.color "#657b83" }
+style.syntax["comment"] = { common.color "#93a1a1" }
+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" }