diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | colors/solarobj.lua | 28 | ||||
-rwxr-xr-x | make_preview_image.lua | 3 | ||||
-rw-r--r-- | solarobj_preview.png | bin | 0 -> 382 bytes |
4 files changed, 30 insertions, 3 deletions
@@ -26,4 +26,4 @@ Theme | Preview [`github`](colors/github.lua?raw=1) | ![github_preview](https://user-images.githubusercontent.com/3920290/80308013-800e9300-87c4-11ea-88a7-1f56104a7423.png) [`Moe`](colors/moe.lua?raw=1) | ![moe_preview](https://i.imgur.com/IGEtafP.png) [`solarized_light`](colors/solarized_light.lua?raw=1) | ![solarized_light_preview](https://user-images.githubusercontent.com/3920290/81503910-233fcc00-92de-11ea-9d6d-0a32212e6f02.png) -[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](https://i.imgur.com/Mf5q4r4.png) +[`solarobj`](colors/solarobj.lua?raw=1) | ![solarobj_preview](https://i.imgur.com/3EHFlx2.png) diff --git a/colors/solarobj.lua b/colors/solarobj.lua new file mode 100644 index 0000000..c9ace55 --- /dev/null +++ b/colors/solarobj.lua @@ -0,0 +1,28 @@ +local style = require "core.style" +local common = require "core.common" + +style.background = { common.color "#fdf6e3" } +style.background2 = { common.color "#2e2c29" } +style.background3 = { common.color "#3e3c37" } +style.text = { common.color "#b2ada1" } +style.caret = { common.color "#b2ada1" } +style.accent = { common.color "#6c71c4" } +style.dim = { common.color "#b2ada1" } +style.divider = { common.color "#201f1d" } +style.selection = { common.color "#eee8d5" } +style.line_number = { common.color "#93a1a1" } +style.line_number2 = { common.color "#002b36" } +style.line_highlight = { common.color "#fcefcd" } +style.scrollbar = { common.color "#e0dbc8" } +style.scrollbar2 = { common.color "#9d9988" } + +style.syntax["normal"] = { common.color "#3e3c37" } +style.syntax["symbol"] = { common.color "#4c4f82" } +style.syntax["comment"] = { common.color "#93a1a1" } +style.syntax["keyword"] = { common.color "#d33682" } +style.syntax["keyword2"] = { common.color "#6c71c4" } +style.syntax["number"] = { common.color "#859900" } +style.syntax["literal"] = { common.color "#b58900" } +style.syntax["string"] = { common.color "#cb4b16" } +style.syntax["operator"] = { common.color "#859900" } +style.syntax["function"] = { common.color "#268bd2" } diff --git a/make_preview_image.lua b/make_preview_image.lua index 31f088d..cd7ed1e 100755 --- a/make_preview_image.lua +++ b/make_preview_image.lua @@ -1,9 +1,8 @@ #!/usr/bin/lua -local filename = ... +local filename = "colors/solarobj.lua" local name = filename:match("([^\\/]+)%..*$") .. "_preview" - -- get colors local text = io.open(filename):read("*a") local colors = {} diff --git a/solarobj_preview.png b/solarobj_preview.png Binary files differnew file mode 100644 index 0000000..afdb741 --- /dev/null +++ b/solarobj_preview.png |