aboutsummaryrefslogtreecommitdiff
path: root/colors/rose-pine.lua
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 /colors/rose-pine.lua
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
Diffstat (limited to 'colors/rose-pine.lua')
-rw-r--r--colors/rose-pine.lua58
1 files changed, 58 insertions, 0 deletions
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) }