13 releases (5 breaking)

new 0.27.1 Dec 12, 2024
0.27.0 Nov 1, 2024
0.26.1 Oct 18, 2024
0.10.2 Jul 3, 2024

#957 in Command-line interface


Used in rat-salsa

MIT/Apache

39KB
742 lines

crates.io Documentation License License

This crate is a part of rat-salsa.

Theming support for rat-salsa

This splits themes in two parts,

  • Scheme - The underlying color-scheme with enough colors to play around.

  • DarkTheme takes that scheme and produces Styles for widgets.

    This intentionally doesn't adhere to any trait, just provides some baselines for each widget type. You can use this as is, or copy it and adapt it for your applications needs.

    In the end I think this will be just some building blocks for an application defined theme. I think most applications will need more semantics than just 'some table', 'some list'.

Dependencies

~13–22MB
~312K SLoC