From 000e6aa9f8068e436db54c7b9ab6a6f7ff2c0ecf Mon Sep 17 00:00:00 2001
From: Unpredictable-os <106953037+Unpredictable-os@users.noreply.github.com>
Date: Wed, 12 Apr 2023 19:28:34 +0530
Subject: Add rose-pine themes (#22)
* okay and thanks for letting me work on themems
* Update rose-pine.lua
removed unwanted content
* Update rose-pine-moon.lua
removed unwanted content
* Update rose-pine-dawn.lua
removed unwanted content
* Update README.md
sorted alphabetically
* Update README.md
nice
* Update README.md
again nice
---
README.md | 4 +++
colors/rose-pine-dawn.lua | 59 +++++++++++++++++++++++++++++++++++++++++++++
colors/rose-pine-moon.lua | 58 ++++++++++++++++++++++++++++++++++++++++++++
colors/rose-pine.lua | 58 ++++++++++++++++++++++++++++++++++++++++++++
previews/rose-pine-dawn.svg | 17 +++++++++++++
previews/rose-pine-moon.svg | 17 +++++++++++++
previews/rose-pine.svg | 17 +++++++++++++
7 files changed, 230 insertions(+)
create mode 100644 colors/rose-pine-dawn.lua
create mode 100644 colors/rose-pine-moon.lua
create mode 100644 colors/rose-pine.lua
create mode 100644 previews/rose-pine-dawn.svg
create mode 100644 previews/rose-pine-moon.svg
create mode 100644 previews/rose-pine.svg
diff --git a/README.md b/README.md
index e80454d..17207a1 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ Theme | Preview
[`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)
+[`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)
[`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)
@@ -61,5 +63,7 @@ Theme | Preview
[`github`](colors/github.lua?raw=1) | ![github_preview](previews/github.svg)
[`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)
+[`rose-pine-dawn`](colors/rose-pine-dawn.lua?raw=1)| ![rose_pine_review](previews/rose-pine-dawn.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)
+
diff --git a/colors/rose-pine-dawn.lua b/colors/rose-pine-dawn.lua
new file mode 100644
index 0000000..7c2e8c3
--- /dev/null
+++ b/colors/rose-pine-dawn.lua
@@ -0,0 +1,59 @@
+local style = require("core.style")
+local common = require("core.common")
+
+local rose_pine_dawn = {}
+
+rose_pine_dawn.base = "#faf4ed"
+rose_pine_dawn.surface = "#fffaf3"
+rose_pine_dawn.overlay = "#f2e9e1"
+rose_pine_dawn.muted = "#9893a5"
+rose_pine_dawn.subtle = "#797593"
+rose_pine_dawn.text = "#575279"
+rose_pine_dawn.love = "#b4637a"
+rose_pine_dawn.gold = "#ea9d34"
+rose_pine_dawn.rose = "#d7827e"
+rose_pine_dawn.pine = "#286983"
+rose_pine_dawn.foam = "#56949f"
+rose_pine_dawn.iris = "#907aa9"
+rose_pine_dawn.highlight_low = "#f4ede8"
+rose_pine_dawn.highlight_med = "#dfdad9"
+rose_pine_dawn.highlight_high = "#cecacd"
+
+style.background = { common.color(rose_pine_dawn.base) } -- Docview
+style.background2 = { common.color(rose_pine_dawn.base) } -- Treeview
+style.background3 = { common.color(rose_pine_dawn.base) } -- Command view
+style.text = { common.color(rose_pine_dawn.text) }
+style.caret = { common.color(rose_pine_dawn.rose) }
+style.accent = { common.color(rose_pine_dawn.text) }
+-- style.dim - text color for nonactive tabs, tabs divider, prefix in log and
+-- search result, hotkeys for context menu and command view
+style.dim = { common.color(rose_pine_dawn.highlight_high) }
+style.divider = { common.color(rose_pine_dawn.overlay) } -- Line between nodes
+style.selection = { common.color(rose_pine_dawn.surface) }
+style.line_number = { common.color(rose_pine_dawn.highlight_low) }
+style.line_number2 = { common.color(rose_pine_dawn.text) } -- With cursor
+style.line_highlight = { common.color(rose_pine_dawn.surface) }
+style.scrollbar = { common.color(rose_pine_dawn.highlight_low) }
+style.scrollbar2 = { common.color(rose_pine_dawn.highlight_med) } -- Hovered
+style.scrollbar_track = { common.color(rose_pine_dawn.highlight_high) }
+style.nagbar = { common.color(rose_pine_dawn.text) }
+style.nagbar_text = { common.color(rose_pine_dawn.base) }
+style.nagbar_dim = { common.color("rgb(255, 250, 243, 0.6)") }
+style.drag_overlay = { common.color("rgb(242, 233, 222, 0.7)") }
+style.drag_overlay_tab = { common.color(rose_pine_dawn.foam) }
+style.good = { common.color(rose_pine_dawn.iris) }
+style.warn = { common.color(rose_pine_dawn.gold) }
+style.error = { common.color(rose_pine_dawn.love) }
+style.modified = { common.color(rose_pine_dawn.foam) }
+
+style.syntax["normal"] = { common.color(rose_pine_dawn.text) }
+style.syntax["symbol"] = { common.color(rose_pine_dawn.text) }
+style.syntax["comment"] = { common.color(rose_pine_dawn.muted) }
+style.syntax["keyword"] = { common.color(rose_pine_dawn.pine) } -- local function end if case
+style.syntax["keyword2"] = { common.color(rose_pine_dawn.love) } -- self int float
+style.syntax["number"] = { common.color(rose_pine_dawn.gold) }
+style.syntax["literal"] = { common.color(rose_pine_dawn.gold) } -- true false nil
+style.syntax["string"] = { common.color(rose_pine_dawn.gold) }
+style.syntax["operator"] = { common.color(rose_pine_dawn.subtle) } -- = + - / < >
+style.syntax["function"] = { common.color(rose_pine_dawn.love) }
+
diff --git a/colors/rose-pine-moon.lua b/colors/rose-pine-moon.lua
new file mode 100644
index 0000000..cc699c2
--- /dev/null
+++ b/colors/rose-pine-moon.lua
@@ -0,0 +1,58 @@
+local style = require("core.style")
+local common = require("core.common")
+
+local rose_pine_moon = {}
+
+rose_pine_moon.base = "#232136"
+rose_pine_moon.surface = "#2a273f"
+rose_pine_moon.overlay = "#393552"
+rose_pine_moon.muted = "#6e6a86"
+rose_pine_moon.subtle = "#908caa"
+rose_pine_moon.text = "#e0def4"
+rose_pine_moon.love = "#eb6f92"
+rose_pine_moon.gold = "#f6c177"
+rose_pine_moon.rose = "#ea9a97"
+rose_pine_moon.pine = "#3e8fb0"
+rose_pine_moon.foam = "#9ccfd8"
+rose_pine_moon.iris = "#c4a7e7"
+rose_pine_moon.highlight_low = "#2a283e"
+rose_pine_moon.highlight_med = "#44415a"
+rose_pine_moon.highlight_high = "#56526e"
+
+style.background = { common.color(rose_pine_moon.base) } -- Docview
+style.background2 = { common.color(rose_pine_moon.base) } -- Treeview
+style.background3 = { common.color(rose_pine_moon.base) } -- Command view
+style.text = { common.color(rose_pine_moon.text) }
+style.caret = { common.color(rose_pine_moon.rose) }
+style.accent = { common.color(rose_pine_moon.text) }
+-- style.dim - text color for nonactive tabs, tabs divider, prefix in log and
+-- search result, hotkeys for context menu and command view
+style.dim = { common.color(rose_pine_moon.highlight_high) }
+style.divider = { common.color(rose_pine_moon.overlay) } -- Line between nodes
+style.selection = { common.color(rose_pine_moon.surface) }
+style.line_number = { common.color(rose_pine_moon.highlight_low) }
+style.line_number2 = { common.color(rose_pine_moon.text) } -- With cursor
+style.line_highlight = { common.color(rose_pine_moon.surface) }
+style.scrollbar = { common.color(rose_pine_moon.highlight_low) }
+style.scrollbar2 = { common.color(rose_pine_moon.highlight_med) } -- Hovered
+style.scrollbar_track = { common.color(rose_pine_moon.highlight_high) }
+style.nagbar = { common.color(rose_pine_moon.love) }
+style.nagbar_text = { common.color(rose_pine_moon.text) }
+style.nagbar_dim = { common.color("rgba(0, 0, 0, 0.45)") }
+style.drag_overlay = { common.color("rgb(38, 35, 58, 0.7)") }
+style.drag_overlay_tab = { common.color(rose_pine_moon.foam) }
+style.good = { common.color(rose_pine_moon.iris) }
+style.warn = { common.color(rose_pine_moon.gold) }
+style.error = { common.color(rose_pine_moon.love) }
+style.modified = { common.color(rose_pine_moon.foam) }
+
+style.syntax["normal"] = { common.color(rose_pine_moon.text) }
+style.syntax["symbol"] = { common.color(rose_pine_moon.text) }
+style.syntax["comment"] = { common.color(rose_pine_moon.muted) }
+style.syntax["keyword"] = { common.color(rose_pine_moon.pine) } -- local function end if case
+style.syntax["keyword2"] = { common.color(rose_pine_moon.love) } -- self int float
+style.syntax["number"] = { common.color(rose_pine_moon.gold) }
+style.syntax["literal"] = { common.color(rose_pine_moon.gold) } -- true false nil
+style.syntax["string"] = { common.color(rose_pine_moon.gold) }
+style.syntax["operator"] = { common.color(rose_pine_moon.subtle) } -- = + - / < >
+style.syntax["function"] = { common.color(rose_pine_moon.love) }
diff --git a/colors/rose-pine.lua b/colors/rose-pine.lua
new file mode 100644
index 0000000..63a733c
--- /dev/null
+++ b/colors/rose-pine.lua
@@ -0,0 +1,58 @@
+local style = require("core.style")
+local common = require("core.common")
+
+local rose_pine = {}
+
+rose_pine.base = "#191724"
+rose_pine.surface = "#1f1d2e"
+rose_pine.overlay = "#26233a"
+rose_pine.muted = "#6e6a86"
+rose_pine.subtle = "#908caa"
+rose_pine.text = "#e0def4"
+rose_pine.love = "#eb6f92"
+rose_pine.gold = "#f6c177"
+rose_pine.rose = "#ebbcba"
+rose_pine.pine = "#31748f"
+rose_pine.foam = "#9ccfd8"
+rose_pine.iris = "#c4a7e7"
+rose_pine.highlight_low = "#21202e"
+rose_pine.highlight_med = "#403d52"
+rose_pine.highlight_high = "#524f67"
+
+style.background = { common.color(rose_pine.base) } -- Docview
+style.background2 = { common.color(rose_pine.base) } -- Treeview
+style.background3 = { common.color(rose_pine.base) } -- Command view
+style.text = { common.color(rose_pine.text) }
+style.caret = { common.color(rose_pine.rose) }
+style.accent = { common.color(rose_pine.text) }
+-- style.dim - text color for nonactive tabs, tabs divider, prefix in log and
+-- search result, hotkeys for context menu and command view
+style.dim = { common.color(rose_pine.highlight_high) }
+style.divider = { common.color(rose_pine.overlay) } -- Line between nodes
+style.selection = { common.color(rose_pine.surface) }
+style.line_number = { common.color(rose_pine.highlight_low) }
+style.line_number2 = { common.color(rose_pine.text) } -- With cursor
+style.line_highlight = { common.color(rose_pine.surface) }
+style.scrollbar = { common.color(rose_pine.highlight_low) }
+style.scrollbar2 = { common.color(rose_pine.highlight_med) } -- Hovered
+style.scrollbar_track = { common.color(rose_pine.highlight_high) }
+style.nagbar = { common.color(rose_pine.love) }
+style.nagbar_text = { common.color(rose_pine.text) }
+style.nagbar_dim = { common.color("rgba(0, 0, 0, 0.45)") }
+style.drag_overlay = { common.color("rgb(38, 35, 58, 0.7)") }
+style.drag_overlay_tab = { common.color(rose_pine.foam) }
+style.good = { common.color(rose_pine.iris) }
+style.warn = { common.color(rose_pine.gold) }
+style.error = { common.color(rose_pine.love) }
+style.modified = { common.color(rose_pine.foam) }
+
+style.syntax["normal"] = { common.color(rose_pine.text) }
+style.syntax["symbol"] = { common.color(rose_pine.text) }
+style.syntax["comment"] = { common.color(rose_pine.muted) }
+style.syntax["keyword"] = { common.color(rose_pine.pine) } -- local function end if case
+style.syntax["keyword2"] = { common.color(rose_pine.love) } -- self int float
+style.syntax["number"] = { common.color(rose_pine.gold) }
+style.syntax["literal"] = { common.color(rose_pine.gold) } -- true false nil
+style.syntax["string"] = { common.color(rose_pine.gold) }
+style.syntax["operator"] = { common.color(rose_pine.subtle) } -- = + - / < >
+style.syntax["function"] = { common.color(rose_pine.love) }
diff --git a/previews/rose-pine-dawn.svg b/previews/rose-pine-dawn.svg
new file mode 100644
index 0000000..bd50c73
--- /dev/null
+++ b/previews/rose-pine-dawn.svg
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/previews/rose-pine-moon.svg b/previews/rose-pine-moon.svg
new file mode 100644
index 0000000..53a5f99
--- /dev/null
+++ b/previews/rose-pine-moon.svg
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/previews/rose-pine.svg b/previews/rose-pine.svg
new file mode 100644
index 0000000..52e778e
--- /dev/null
+++ b/previews/rose-pine.svg
@@ -0,0 +1,17 @@
+
\ No newline at end of file
--
cgit v1.2.3