fix: updated current line indicator for issue #32
This commit is contained in:
@@ -1474,7 +1474,10 @@ defmodule BDS.TUI do
|
||||
language: :markdown_macros,
|
||||
block: %Block{title: body_title, borders: [:all]},
|
||||
cursor_style: if(focused?, do: %Style{bg: :cyan}, else: %Style{}),
|
||||
line_highlight_style: if(focused?, do: %Style{bg: :dark_gray}, else: %Style{})
|
||||
# base16-ocean's lighter-background grey — a fixed RGB so the
|
||||
# current-line marker stays dark (and readable) in any terminal
|
||||
# palette, unlike the named :dark_gray colour.
|
||||
line_highlight_style: if(focused?, do: %Style{bg: {:rgb, 52, 61, 70}}, else: %Style{})
|
||||
}, body_rect}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user