File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ M.extras = {
3030 windows_terminal = { ext = " json" , url = " https://aka.ms/terminal-documentation" , label = " Windows Terminal" },
3131 xfceterm = { ext = " theme" , url = " https://docs.xfce.org/apps/terminal/advanced" , label = " Xfce Terminal" },
3232 xresources = { ext = " Xresources" , url = " https://wiki.archlinux.org/title/X_resources" , label = " Xresources" },
33+ zellij = { ext = " kdl" , url = " https://zellij.dev/" , label = " Zellij" },
3334}
3435
3536function M .setup ()
Original file line number Diff line number Diff line change 1+ local util = require " astrotheme.extras"
2+
3+ local M = {}
4+
5+ --- @param colors AstroThemePalette
6+ function M .generate (colors )
7+ return util .template (
8+ [[
9+ // ${_style_name} Zellij Colors
10+ // Add this file to your `CONFIG_DIR/themes` directory as described here:
11+ // https://zellij.dev/documentation/themes#getting-zellij-to-pick-up-the-theme
12+
13+ themes {
14+ ${_style_name} {
15+ fg "${syntax.text}"
16+ bg "${ui.base}"
17+ black "${term.black}"
18+ red "${term.red}"
19+ green "${term.green}"
20+ yellow "${term.yellow}"
21+ blue "${term.blue}"
22+ magenta "${term.purple}"
23+ cyan "${term.cyan}"
24+ white "${term.white}"
25+ orange "${syntax.orange}"
26+ }
27+ }
28+ ]] ,
29+ colors
30+ )
31+ end
32+
33+ return M
You can’t perform that action at this time.
0 commit comments