aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnpredictable-os <106953037+Unpredictable-os@users.noreply.github.com>2023-04-12 19:28:34 +0530
committerGitHub <noreply@github.com>2023-04-12 15:58:34 +0200
commit000e6aa9f8068e436db54c7b9ab6a6f7ff2c0ecf (patch)
tree114bf133b3a8dd290ca26a3cf1acb56c494081ee
parent95fc1c7f67c75d89b4e2cf91bfce10acf591b530 (diff)
downloadlite-xl-colors-000e6aa9f8068e436db54c7b9ab6a6f7ff2c0ecf.tar.gz
lite-xl-colors-000e6aa9f8068e436db54c7b9ab6a6f7ff2c0ecf.zip
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
-rw-r--r--README.md4
-rw-r--r--colors/rose-pine-dawn.lua59
-rw-r--r--colors/rose-pine-moon.lua58
-rw-r--r--colors/rose-pine.lua58
-rw-r--r--previews/rose-pine-dawn.svg17
-rw-r--r--previews/rose-pine-moon.svg17
-rw-r--r--previews/rose-pine.svg17
7 files changed, 230 insertions, 0 deletions
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 @@
+<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="13.333333333333" height="16" fill="rgb(40, 105, 131)"></rect>
+<rect x="13.333333333333" width="13.333333333333" height="16" fill="rgb(87, 82, 121)"></rect>
+<rect x="26.666666666667" width="13.333333333333" height="16" fill="rgb(121, 117, 147)"></rect>
+<rect x="40.0" width="13.333333333333" height="16" fill="rgb(86, 148, 159)"></rect>
+<rect x="53.333333333333" width="13.333333333333" height="16" fill="rgb(180, 99, 122)"></rect>
+<rect x="66.666666666667" width="13.333333333333" height="16" fill="rgb(144, 122, 169)"></rect>
+<rect x="80.0" width="13.333333333333" height="16" fill="rgb(234, 157, 52)"></rect>
+<rect x="93.333333333333" width="13.333333333333" height="16" fill="rgb(152, 147, 165)"></rect>
+<rect x="106.66666666667" width="13.333333333333" height="16" fill="rgb(215, 130, 126)"></rect>
+<rect x="120.0" width="13.333333333333" height="16" fill="rgb(206, 202, 205)"></rect>
+<rect x="133.33333333333" width="13.333333333333" height="16" fill="rgb(223, 218, 217)"></rect>
+<rect x="146.66666666667" width="13.333333333333" height="16" fill="rgb(242, 233, 225)"></rect>
+<rect x="160.0" width="13.333333333333" height="16" fill="rgb(244, 237, 232)"></rect>
+<rect x="173.33333333333" width="13.333333333333" height="16" fill="rgb(250, 244, 237)"></rect>
+<rect x="186.66666666667" width="13.333333333333" height="16" fill="rgb(255, 250, 243)"></rect>
+</svg> \ 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 @@
+<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="13.333333333333" height="16" fill="rgb(35, 33, 54)"></rect>
+<rect x="13.333333333333" width="13.333333333333" height="16" fill="rgb(42, 39, 63)"></rect>
+<rect x="26.666666666667" width="13.333333333333" height="16" fill="rgb(42, 40, 62)"></rect>
+<rect x="40.0" width="13.333333333333" height="16" fill="rgb(57, 53, 82)"></rect>
+<rect x="53.333333333333" width="13.333333333333" height="16" fill="rgb(68, 65, 90)"></rect>
+<rect x="66.666666666667" width="13.333333333333" height="16" fill="rgb(86, 82, 110)"></rect>
+<rect x="80.0" width="13.333333333333" height="16" fill="rgb(110, 106, 134)"></rect>
+<rect x="93.333333333333" width="13.333333333333" height="16" fill="rgb(62, 143, 176)"></rect>
+<rect x="106.66666666667" width="13.333333333333" height="16" fill="rgb(144, 140, 170)"></rect>
+<rect x="120.0" width="13.333333333333" height="16" fill="rgb(235, 111, 146)"></rect>
+<rect x="133.33333333333" width="13.333333333333" height="16" fill="rgb(234, 154, 151)"></rect>
+<rect x="146.66666666667" width="13.333333333333" height="16" fill="rgb(246, 193, 119)"></rect>
+<rect x="160.0" width="13.333333333333" height="16" fill="rgb(156, 207, 216)"></rect>
+<rect x="173.33333333333" width="13.333333333333" height="16" fill="rgb(196, 167, 231)"></rect>
+<rect x="186.66666666667" width="13.333333333333" height="16" fill="rgb(224, 222, 244)"></rect>
+</svg> \ 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 @@
+<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="13.333333333333" height="16" fill="rgb(25, 23, 36)"></rect>
+<rect x="13.333333333333" width="13.333333333333" height="16" fill="rgb(31, 29, 46)"></rect>
+<rect x="26.666666666667" width="13.333333333333" height="16" fill="rgb(33, 32, 46)"></rect>
+<rect x="40.0" width="13.333333333333" height="16" fill="rgb(38, 35, 58)"></rect>
+<rect x="53.333333333333" width="13.333333333333" height="16" fill="rgb(64, 61, 82)"></rect>
+<rect x="66.666666666667" width="13.333333333333" height="16" fill="rgb(82, 79, 103)"></rect>
+<rect x="80.0" width="13.333333333333" height="16" fill="rgb(49, 116, 143)"></rect>
+<rect x="93.333333333333" width="13.333333333333" height="16" fill="rgb(110, 106, 134)"></rect>
+<rect x="106.66666666667" width="13.333333333333" height="16" fill="rgb(144, 140, 170)"></rect>
+<rect x="120.0" width="13.333333333333" height="16" fill="rgb(235, 111, 146)"></rect>
+<rect x="133.33333333333" width="13.333333333333" height="16" fill="rgb(246, 193, 119)"></rect>
+<rect x="146.66666666667" width="13.333333333333" height="16" fill="rgb(156, 207, 216)"></rect>
+<rect x="160.0" width="13.333333333333" height="16" fill="rgb(196, 167, 231)"></rect>
+<rect x="173.33333333333" width="13.333333333333" height="16" fill="rgb(235, 188, 186)"></rect>
+<rect x="186.66666666667" width="13.333333333333" height="16" fill="rgb(224, 222, 244)"></rect>
+</svg> \ No newline at end of file