Skip to content

Commit

Permalink
fix(zellij): corrected text selection bg color
Browse files Browse the repository at this point in the history
- bg is used as text background color for selection in zellij instead of
  background color of the zellij itself
- this causes no highlight on selection since both the terminal
  background and highlight color is same
- updated bg color in zellij.lua to sel0
- refer: zellij-org/zellij#2263

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
  • Loading branch information
avinal committed Jun 25, 2024
1 parent df75a6a commit a390f54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions extra/zellij/nightfox.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

themes {
carbonfox {
bg "#161616"
bg "#2a2a2a"
fg "#f2f4f8"
red "#ee5396"
green "#25be6a"
Expand All @@ -16,7 +16,7 @@ themes {
white "#b6b8bb"
}
dawnfox {
bg "#faf4ed"
bg "#d0d8d8"
fg "#575279"
red "#b4637a"
green "#618774"
Expand All @@ -29,7 +29,7 @@ themes {
white "#625c87"
}
dayfox {
bg "#f6f2ee"
bg "#e7d2be"
fg "#3d2b5a"
red "#a5222f"
green "#396847"
Expand All @@ -42,7 +42,7 @@ themes {
white "#643f61"
}
duskfox {
bg "#232136"
bg "#433c59"
fg "#e0def4"
red "#eb6f92"
green "#a3be8c"
Expand All @@ -55,7 +55,7 @@ themes {
white "#cdcbe0"
}
nightfox {
bg "#192330"
bg "#2b3b51"
fg "#cdcecf"
red "#c94f6d"
green "#81b29a"
Expand All @@ -68,7 +68,7 @@ themes {
white "#aeafb0"
}
nordfox {
bg "#2e3440"
bg "#3e4a5b"
fg "#cdcecf"
red "#bf616a"
green "#a3be8c"
Expand All @@ -81,7 +81,7 @@ themes {
white "#abb1bb"
}
terafox {
bg "#152528"
bg "#293e40"
fg "#e6eaea"
red "#e85c51"
green "#7aa4a1"
Expand Down
2 changes: 1 addition & 1 deletion lua/nightfox/extra/zellij.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ themes {

local content = [[
${name} {
bg "${bg1}"
bg "${sel0}"
fg "${fg1}"
red "${palette.red}"
green "${palette.green}"
Expand Down

0 comments on commit a390f54

Please sign in to comment.