Skip to content

Commit

Permalink
feat(extra): add iterm support
Browse files Browse the repository at this point in the history
  • Loading branch information
pauchiner committed Feb 4, 2024
1 parent db711dc commit ddb65d0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion lua/pastelnight/extra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
54 changes: 27 additions & 27 deletions lua/pastelnight/extra/iterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,26 @@ function M.generate(colors)
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${magenta.b}</real>
<real>${pink.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${magenta.g}</real>
<real>${pink.g}</real>
<key>Red Component</key>
<real>${magenta.r}</real>
<real>${pink.r}</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${cyan.b}</real>
<real>${sky.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${cyan.g}</real>
<real>${sky.g}</real>
<key>Red Component</key>
<real>${cyan.r}</real>
<real>${sky.r}</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
Expand Down Expand Up @@ -174,52 +174,52 @@ function M.generate(colors)
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${magenta.b}</real>
<real>${pink.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${magenta.g}</real>
<real>${pink.g}</real>
<key>Red Component</key>
<real>${magenta.r}</real>
<real>${pink.r}</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${cyan.b}</real>
<real>${sky.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${cyan.g}</real>
<real>${sky.g}</real>
<key>Red Component</key>
<real>${cyan.r}</real>
<real>${sky.r}</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${fg_dark.b}</real>
<real>${base600.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${fg_dark.g}</real>
<real>${base600.g}</real>
<key>Red Component</key>
<real>${fg_dark.r}</real>
<real>${base600.r}</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${terminal_black.b}</real>
<real>${base900.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${terminal_black.g}</real>
<real>${base900.g}</real>
<key>Red Component</key>
<real>${terminal_black.r}</real>
<real>${base900.r}</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
Expand Down Expand Up @@ -265,13 +265,13 @@ function M.generate(colors)
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${teal.b}</real>
<real>${purple.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${teal.g}</real>
<real>${purple.g}</real>
<key>Red Component</key>
<real>${teal.r}</real>
<real>${purple.r}</real>
</dict>
<key>Cursor Color</key>
<dict>
Expand Down Expand Up @@ -330,13 +330,13 @@ function M.generate(colors)
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${green1.b}</real>
<real>${green.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${green1.g}</real>
<real>${green.g}</real>
<key>Red Component</key>
<real>${green1.r}</real>
<real>${green.r}</real>
</dict>
<key>Selected Text Color</key>
<dict>
Expand All @@ -356,13 +356,13 @@ function M.generate(colors)
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>${bg_visual.b}</real>
<real>${base400.b}</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>${bg_visual.g}</real>
<real>${base400.g}</real>
<key>Red Component</key>
<real>${bg_visual.r}</real>
<real>${base400.r}</real>
</dict>
</dict>
</plist>]],
Expand Down

0 comments on commit ddb65d0

Please sign in to comment.