Skip to content

Commit

Permalink
feat: better wezterm theme
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 14, 2023
1 parent dce0ab4 commit 99e9b2c
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 46 deletions.
1 change: 1 addition & 0 deletions extras/lua/tokyonight_day.lua
@@ -1,4 +1,5 @@
local colors = {
_name = "tokyonight_day",
bg = "#e1e2e7",
bg_dark = "#e9e9ec",
bg_float = "#e9e9ec",
Expand Down
1 change: 1 addition & 0 deletions extras/lua/tokyonight_moon.lua
@@ -1,4 +1,5 @@
local colors = {
_name = "tokyonight_moon",
bg = "#222436",
bg_dark = "#1e2030",
bg_float = "#1e2030",
Expand Down
1 change: 1 addition & 0 deletions extras/lua/tokyonight_night.lua
@@ -1,4 +1,5 @@
local colors = {
_name = "tokyonight_night",
bg = "#1a1b26",
bg_dark = "#16161e",
bg_float = "#16161e",
Expand Down
1 change: 1 addition & 0 deletions extras/lua/tokyonight_storm.lua
@@ -1,4 +1,5 @@
local colors = {
_name = "tokyonight_storm",
bg = "#24283b",
bg_dark = "#1f2335",
bg_float = "#1f2335",
Expand Down
22 changes: 13 additions & 9 deletions extras/wezterm/tokyonight_day.toml
Expand Up @@ -6,35 +6,39 @@ cursor_border = "#3760bf"
cursor_fg = "#e1e2e7"
selection_bg = "#b6bfe2"
selection_fg = "#3760bf"
split = "#2e7de9"
compose_cursor = "#b15c00"

ansi = ["#e9e9ed", "#f52a65", "#587539", "#8c6c3e", "#2e7de9", "#9854f1", "#007197", "#6172b0"]
brights = ["#a1a6c5", "#f52a65", "#587539", "#8c6c3e", "#2e7de9", "#9854f1", "#007197", "#3760bf"]

[colors.tab_bar]
inactive_tab_edge = "#e9e9ec"
background = "#191b28"
background = "#e1e2e7"

[colors.tab_bar.active_tab]
fg_color = "#2e7de9"
bg_color = "#e1e2e7"
fg_color = "#e9e9ec"
bg_color = "#2e7de9"

[colors.tab_bar.inactive_tab]
bg_color = "#e9e9ec"
fg_color = "#8990b3"
bg_color = "#c4c8da"

[colors.tab_bar.inactive_tab_hover]
bg_color = "#e9e9ec"
fg_color = "#2e7de9"
bg_color = "#c4c8da"
# intensity = "Bold"

[colors.tab_bar.new_tab_hover]
fg_color = "#e9e9ec"
bg_color = "#2e7de9"
fg_color = "#2e7de9"
bg_color = "#e1e2e7"
intensity = "Bold"

[colors.tab_bar.new_tab]
fg_color = "#2e7de9"
bg_color = "#191b28"
bg_color = "#e1e2e7"

[metadata]
aliases = []
author = "folke"
name = "Tokyo Night Day"
name = "tokyonight_day"
22 changes: 13 additions & 9 deletions extras/wezterm/tokyonight_moon.toml
Expand Up @@ -6,35 +6,39 @@ cursor_border = "#c8d3f5"
cursor_fg = "#222436"
selection_bg = "#2d3f76"
selection_fg = "#c8d3f5"
split = "#82aaff"
compose_cursor = "#ff966c"

ansi = ["#1b1d2b", "#ff757f", "#c3e88d", "#ffc777", "#82aaff", "#c099ff", "#86e1fc", "#828bb8"]
brights = ["#444a73", "#ff757f", "#c3e88d", "#ffc777", "#82aaff", "#c099ff", "#86e1fc", "#c8d3f5"]

[colors.tab_bar]
inactive_tab_edge = "#1e2030"
background = "#191b28"
background = "#222436"

[colors.tab_bar.active_tab]
fg_color = "#82aaff"
bg_color = "#222436"
fg_color = "#1e2030"
bg_color = "#82aaff"

[colors.tab_bar.inactive_tab]
bg_color = "#1e2030"
fg_color = "#545c7e"
bg_color = "#2f334d"

[colors.tab_bar.inactive_tab_hover]
bg_color = "#1e2030"
fg_color = "#82aaff"
bg_color = "#2f334d"
# intensity = "Bold"

[colors.tab_bar.new_tab_hover]
fg_color = "#1e2030"
bg_color = "#82aaff"
fg_color = "#82aaff"
bg_color = "#222436"
intensity = "Bold"

[colors.tab_bar.new_tab]
fg_color = "#82aaff"
bg_color = "#191b28"
bg_color = "#222436"

[metadata]
aliases = []
author = "folke"
name = "Tokyo Night Moon"
name = "tokyonight_moon"
22 changes: 13 additions & 9 deletions extras/wezterm/tokyonight_night.toml
Expand Up @@ -6,35 +6,39 @@ cursor_border = "#c0caf5"
cursor_fg = "#1a1b26"
selection_bg = "#283457"
selection_fg = "#c0caf5"
split = "#7aa2f7"
compose_cursor = "#ff9e64"

ansi = ["#15161e", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#a9b1d6"]
brights = ["#414868", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#c0caf5"]

[colors.tab_bar]
inactive_tab_edge = "#16161e"
background = "#191b28"
background = "#1a1b26"

[colors.tab_bar.active_tab]
fg_color = "#7aa2f7"
bg_color = "#1a1b26"
fg_color = "#16161e"
bg_color = "#7aa2f7"

[colors.tab_bar.inactive_tab]
bg_color = "#16161e"
fg_color = "#545c7e"
bg_color = "#292e42"

[colors.tab_bar.inactive_tab_hover]
bg_color = "#16161e"
fg_color = "#7aa2f7"
bg_color = "#292e42"
# intensity = "Bold"

[colors.tab_bar.new_tab_hover]
fg_color = "#16161e"
bg_color = "#7aa2f7"
fg_color = "#7aa2f7"
bg_color = "#1a1b26"
intensity = "Bold"

[colors.tab_bar.new_tab]
fg_color = "#7aa2f7"
bg_color = "#191b28"
bg_color = "#1a1b26"

[metadata]
aliases = []
author = "folke"
name = "Tokyo Night"
name = "tokyonight_night"
22 changes: 13 additions & 9 deletions extras/wezterm/tokyonight_storm.toml
Expand Up @@ -6,35 +6,39 @@ cursor_border = "#c0caf5"
cursor_fg = "#24283b"
selection_bg = "#2e3c64"
selection_fg = "#c0caf5"
split = "#7aa2f7"
compose_cursor = "#ff9e64"

ansi = ["#1d202f", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#a9b1d6"]
brights = ["#414868", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#c0caf5"]

[colors.tab_bar]
inactive_tab_edge = "#1f2335"
background = "#191b28"
background = "#24283b"

[colors.tab_bar.active_tab]
fg_color = "#7aa2f7"
bg_color = "#24283b"
fg_color = "#1f2335"
bg_color = "#7aa2f7"

[colors.tab_bar.inactive_tab]
bg_color = "#1f2335"
fg_color = "#545c7e"
bg_color = "#292e42"

[colors.tab_bar.inactive_tab_hover]
bg_color = "#1f2335"
fg_color = "#7aa2f7"
bg_color = "#292e42"
# intensity = "Bold"

[colors.tab_bar.new_tab_hover]
fg_color = "#1f2335"
bg_color = "#7aa2f7"
fg_color = "#7aa2f7"
bg_color = "#24283b"
intensity = "Bold"

[colors.tab_bar.new_tab]
fg_color = "#7aa2f7"
bg_color = "#191b28"
bg_color = "#24283b"

[metadata]
aliases = []
author = "folke"
name = "Tokyo Night Storm"
name = "tokyonight_storm"
3 changes: 2 additions & 1 deletion lua/tokyonight/extra/init.lua
Expand Up @@ -84,11 +84,12 @@ function M.setup()
for style, style_name in pairs(styles) do
tokyonight.setup({ style = style })
tokyonight.load({ style = style })
vim.cmd.colorscheme('tokyonight-' .. style)
vim.cmd.colorscheme("tokyonight-" .. style)
local colors = require("tokyonight.colors").setup({ transform = true })
local fname = extra .. "/tokyonight_" .. style .. "." .. info.ext
colors["_upstream_url"] = "https://github.com/folke/tokyonight.nvim/raw/main/extras/" .. fname
colors["_style_name"] = "Tokyo Night" .. style_name
colors["_name"] = "tokyonight_" .. style
write(plugin.generate(colors), fname)
end
end
Expand Down
22 changes: 13 additions & 9 deletions lua/tokyonight/extra/wezterm.lua
Expand Up @@ -14,38 +14,42 @@ cursor_border = "${fg}"
cursor_fg = "${bg}"
selection_bg = "${bg_visual}"
selection_fg = "${fg}"
split = "${blue}"
compose_cursor = "${orange}"
ansi = ["${black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg_dark}"]
brights = ["${terminal_black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg}"]
[colors.tab_bar]
inactive_tab_edge = "${bg_dark}"
background = "#191b28"
background = "${bg}"
[colors.tab_bar.active_tab]
fg_color = "${blue}"
bg_color = "${bg}"
fg_color = "${bg_dark}"
bg_color = "${blue}"
[colors.tab_bar.inactive_tab]
bg_color = "${bg_dark}"
fg_color = "${dark3}"
bg_color = "${bg_highlight}"
[colors.tab_bar.inactive_tab_hover]
bg_color = "${bg_dark}"
fg_color = "${blue}"
bg_color = "${bg_highlight}"
# intensity = "Bold"
[colors.tab_bar.new_tab_hover]
fg_color = "${bg_dark}"
bg_color = "${blue}"
fg_color = "${blue}"
bg_color = "${bg}"
intensity = "Bold"
[colors.tab_bar.new_tab]
fg_color = "${blue}"
bg_color = "#191b28"
bg_color = "${bg}"
[metadata]
aliases = []
author = "folke"
name = "${_style_name}"]],
name = "${_name}"]],
colors
)
return wezterm
Expand Down

0 comments on commit 99e9b2c

Please sign in to comment.