It'd be really cool if it was possible to customize the style of the ruler bar in streampager's configuration. Changing background/foreground colors would be a good start, perhaps extended terminal attributes like underline/bold/italic could also be supported.
Currently the bar's default style is hardcoded with AnsiColor::Silver as the background and AnsiColor::Black as the foreground. In a lot of dark terminal themes, that silver color is very bright and stands out significantly compared to, say, code with syntax highlighting.
edit: just noticed #47, which mentions color customization as well. It sounds like a config DSL system has already been mostly sorted out in the process of supporting custom keymaps.
Considerations:
Alternatively, something as simple as this in the existing TOML config could be fine to begin with:
[ruler.style.normal]
background = "#555555"
foreground = "15"
[ruler.style.information]
# ...
It'd be really cool if it was possible to customize the style of the ruler bar in streampager's configuration. Changing background/foreground colors would be a good start, perhaps extended terminal attributes like underline/bold/italic could also be supported.
Currently the bar's default style is hardcoded with
AnsiColor::Silveras the background andAnsiColor::Blackas the foreground. In a lot of dark terminal themes, that silver color is very bright and stands out significantly compared to, say, code with syntax highlighting.edit: just noticed #47, which mentions color customization as well. It sounds like a config DSL system has already been mostly sorted out in the process of supporting custom keymaps.
Considerations:
termwiz::color::ColorAttributetermwiz::cell::CellAttributesAlternatively, something as simple as this in the existing TOML config could be fine to begin with: