Skip to content

Commit a6d34b4

Browse files
authored
feat: Add themes for terminator terminal (#264)
1 parent ee4ecce commit a6d34b4

File tree

6 files changed

+40
-0
lines changed

6 files changed

+40
-0
lines changed

extras/terminator/tokyonight_day.conf

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[Tokyo Night Day]]
2+
palette = "#e9e9ed:#f52a65:#587539:#8c6c3e:#2e7de9:#9854f1:#007197:#6172b0:#a1a6c5:#f52a65:#587539:#8c6c3e:#2e7de9:#9854f1:#007197:#7847bd"
3+
background_color = "#e1e2e7"
4+
foreground_color = "#3760bf"
5+
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[Tokyo Night Moon]]
2+
palette = "#1b1d2b:#ff757f:#c3e88d:#ffc777:#82aaff:#c099ff:#86e1fc:#828bb8:#444a73:#ff757f:#c3e88d:#ffc777:#82aaff:#c099ff:#86e1fc:#fca7ea"
3+
background_color = "#222436"
4+
foreground_color = "#c8d3f5"
5+
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[Tokyo Night]]
2+
palette = "#15161e:#f7768e:#9ece6a:#e0af68:#7aa2f7:#bb9af7:#7dcfff:#a9b1d6:#414868:#f7768e:#9ece6a:#e0af68:#7aa2f7:#bb9af7:#7dcfff:#9d7cd8"
3+
background_color = "#1a1b26"
4+
foreground_color = "#c0caf5"
5+
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[[Tokyo Night Storm]]
2+
palette = "#1d202f:#f7768e:#9ece6a:#e0af68:#7aa2f7:#bb9af7:#7dcfff:#a9b1d6:#414868:#f7768e:#9ece6a:#e0af68:#7aa2f7:#bb9af7:#7dcfff:#9d7cd8"
3+
background_color = "#24283b"
4+
foreground_color = "#c0caf5"
5+

lua/tokyonight/extra/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function M.setup()
2727
lua = "lua",
2828
sublime = "tmTheme",
2929
delta = "gitconfig",
30+
terminator = "conf",
3031
}
3132
-- map of style to style name
3233
local styles = {

lua/tokyonight/extra/terminator.lua

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
local util = require("tokyonight.util")
2+
3+
local M = {}
4+
5+
--- @param colors ColorScheme
6+
function M.generate(colors)
7+
local terminator = util.template(
8+
[=[
9+
[[${_style_name}]]
10+
palette = "${black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${fg_dark}:${terminal_black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${purple}"
11+
background_color = "${bg}"
12+
foreground_color = "${fg}"
13+
]=],
14+
colors
15+
)
16+
return terminator
17+
end
18+
19+
return M

0 commit comments

Comments
 (0)