From 315f1233351ec1176f2177e1cca53e6db145e6eb Mon Sep 17 00:00:00 2001 From: Oscar Domingo Date: Tue, 5 Dec 2023 14:06:44 +0000 Subject: Add Predawn, dark theme (#32) --- README.md | 1 + colors/predawn.lua | 29 +++++++++++++++++++++++++++++ manifest.json | 11 +++++++++++ previews/predawn.svg | 23 +++++++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 colors/predawn.lua create mode 100644 previews/predawn.svg diff --git a/README.md b/README.md index e70bf47..f818cd1 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ do not bother modifying it.* | [`onedark`](colors/onedark.lua?raw=1) | ![onedark_preview](previews/onedark.svg) | | [`only_dark`](colors/only_dark.lua?raw=1) | ![only_dark_preview](previews/only_dark.svg) | | [`plasma`](colors/plasma.lua?raw=1) | ![plasma_preview](previews/plasma.svg) | +| [`predawn`](colors/predawn.lua?raw=1) | ![predawn_preview](previews/predawn.svg) | | [`rose-pine`](colors/rose-pine.lua?raw=1) | ![rose-pine_preview](previews/rose-pine.svg) | | [`rose-pine-moon`](colors/rose-pine-moon.lua?raw=1) | ![rose-pine-moon_preview](previews/rose-pine-moon.svg) | | [`solarized_dark`](colors/solarized_dark.lua?raw=1) | ![solarized_dark_preview](previews/solarized_dark.svg) | diff --git a/colors/predawn.lua b/colors/predawn.lua new file mode 100644 index 0000000..1d41bdf --- /dev/null +++ b/colors/predawn.lua @@ -0,0 +1,29 @@ +-- Predawn Theme: Based on https://github.com/jamiewilson/predawn +local style = require "core.style" +local common = require "core.common" + +style.background = { common.color "#282828" } +style.background2 = { common.color "#3C3C3C" } +style.background3 = { common.color "#4C4C4C" } +style.text = { common.color "#F1F1F1" } +style.caret = { common.color "#F49D62" } +style.accent = { common.color "#F49D62" } +style.dim = { common.color "#777777" } +style.divider = { common.color "#232323" } +style.selection = { common.color "#4C4C4C" } +style.line_number = { common.color "#777777" } +style.line_number2 = { common.color "#999999" } +style.line_highlight = { common.color "#3C3C3C" } +style.scrollbar = { common.color "#4C4C4C" } +style.scrollbar2 = { common.color "#777777" } + +style.syntax["normal"] = { common.color "#F18260" } +style.syntax["symbol"] = { common.color "#F1F1F1" } +style.syntax["comment"] = { common.color "#777777" } +style.syntax["keyword"] = { common.color "#F49D62" } +style.syntax["keyword2"] = { common.color "#CF5340" } +style.syntax["number"] = { common.color "#EDE480" } +style.syntax["literal"] = { common.color "#F49D62" } +style.syntax["string"] = { common.color "#BDDCDC" } +style.syntax["operator"] = { common.color "#F49D62" } +style.syntax["function"] = { common.color "#92BFBF" } diff --git a/manifest.json b/manifest.json index 8c8fb3b..a32675a 100644 --- a/manifest.json +++ b/manifest.json @@ -376,6 +376,17 @@ "type" : "color", "version" : "0.1" }, + { + "id" : "predawn", + "mod_version" : "3.0.0", + "name" : "predawn", + "path" : "colors/predawn.lua", + "tags" : [ + "dark" + ], + "type" : "color", + "version" : "0.1" + }, { "id" : "rose-pine", "mod_version" : "3.0.0", diff --git a/previews/predawn.svg b/previews/predawn.svg new file mode 100644 index 0000000..550dd12 --- /dev/null +++ b/previews/predawn.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3