From ddb65d04f4c103c2da92e9f6cd57c20fefeb326a Mon Sep 17 00:00:00 2001 From: Pau Garcia Chiner <49660697+pauchiner@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:47:06 +0100 Subject: [PATCH] feat(extra): add iterm support --- lua/pastelnight/extra/init.lua | 2 +- lua/pastelnight/extra/iterm.lua | 54 ++++++++++++++++----------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/lua/pastelnight/extra/init.lua b/lua/pastelnight/extra/init.lua index a8fe184..e8807fe 100644 --- a/lua/pastelnight/extra/init.lua +++ b/lua/pastelnight/extra/init.lua @@ -14,7 +14,7 @@ M.extras = { xfceterm = { ext = "theme", url = "https://docs.xfce.org/apps/terminal/advanced", label = "Xfce Terminal" }, foot = { ext = "ini", url = "https://codeberg.org/dnkl/foot", label = "Foot" }, tilix = { ext = "json", url = "https://github.com/gnunn1/tilix", label = "Tilix" }, --- iterm = { ext = "itermcolors", url = "https://iterm2.com/", label = "iTerm" }, + iterm = { ext = "itermcolors", url = "https://iterm2.com/", label = "iTerm" }, lua = { ext = "lua", url = "https://www.lua.org", label = "Lua Table for testing" }, sublime = { ext = "tmTheme", url = "https://www.sublimetext.com/docs/themes", label = "Sublime Text" }, delta = { ext = "gitconfig", url = "https://github.com/dandavison/delta", label = "Delta" }, diff --git a/lua/pastelnight/extra/iterm.lua b/lua/pastelnight/extra/iterm.lua index 6877768..f0cdbda 100644 --- a/lua/pastelnight/extra/iterm.lua +++ b/lua/pastelnight/extra/iterm.lua @@ -96,26 +96,26 @@ function M.generate(colors) Alpha Component 1 Blue Component - ${magenta.b} + ${pink.b} Color Space sRGB Green Component - ${magenta.g} + ${pink.g} Red Component - ${magenta.r} + ${pink.r} Ansi 14 Color Alpha Component 1 Blue Component - ${cyan.b} + ${sky.b} Color Space sRGB Green Component - ${cyan.g} + ${sky.g} Red Component - ${cyan.r} + ${sky.r} Ansi 15 Color @@ -174,52 +174,52 @@ function M.generate(colors) Alpha Component 1 Blue Component - ${magenta.b} + ${pink.b} Color Space sRGB Green Component - ${magenta.g} + ${pink.g} Red Component - ${magenta.r} + ${pink.r} Ansi 6 Color Alpha Component 1 Blue Component - ${cyan.b} + ${sky.b} Color Space sRGB Green Component - ${cyan.g} + ${sky.g} Red Component - ${cyan.r} + ${sky.r} Ansi 7 Color Alpha Component 1 Blue Component - ${fg_dark.b} + ${base600.b} Color Space sRGB Green Component - ${fg_dark.g} + ${base600.g} Red Component - ${fg_dark.r} + ${base600.r} Ansi 8 Color Alpha Component 1 Blue Component - ${terminal_black.b} + ${base900.b} Color Space sRGB Green Component - ${terminal_black.g} + ${base900.g} Red Component - ${terminal_black.r} + ${base900.r} Ansi 9 Color @@ -265,13 +265,13 @@ function M.generate(colors) Alpha Component 1 Blue Component - ${teal.b} + ${purple.b} Color Space sRGB Green Component - ${teal.g} + ${purple.g} Red Component - ${teal.r} + ${purple.r} Cursor Color @@ -330,13 +330,13 @@ function M.generate(colors) Alpha Component 1 Blue Component - ${green1.b} + ${green.b} Color Space sRGB Green Component - ${green1.g} + ${green.g} Red Component - ${green1.r} + ${green.r} Selected Text Color @@ -356,13 +356,13 @@ function M.generate(colors) Alpha Component 1 Blue Component - ${bg_visual.b} + ${base400.b} Color Space sRGB Green Component - ${bg_visual.g} + ${base400.g} Red Component - ${bg_visual.r} + ${base400.r} ]],