lib: Allow switching themes
modified README.md
@@ -147,6 +147,7 @@ use radicle_tui as tui;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -173,7 +174,7 @@ impl store::Update<Message> for App {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified examples/hello.rs
@@ -9,6 +9,7 @@ use radicle_tui as tui;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -50,7 +51,7 @@ impl store::Update<Message> for App {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified examples/readme.rs
@@ -8,6 +8,7 @@ use radicle_tui as tui;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -34,7 +35,7 @@ impl store::Update<Message> for App {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified examples/selection.rs
@@ -14,6 +14,7 @@ use tui::event::Key;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -75,7 +76,7 @@ impl Update<Message> for App {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/ui.rs
@@ -397,6 +397,11 @@ impl<M> Ui<M> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/theme.rs
@@ -1,6 +1,8 @@
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/ui/widget.rs
@@ -15,7 +15,7 @@ use ratatui::{layout::Constraint, widgets::Paragraph};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -131,17 +131,19 @@ impl Window {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -152,7 +154,8 @@ impl Window {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|