reworked style tree to use colorScheme instead of old theme. Very limited style for now
This commit is contained in:
parent
0c4c5f9238
commit
56f9543a95
53 changed files with 1017 additions and 1734 deletions
|
@ -569,7 +569,7 @@ impl Terminal {
|
|||
InternalEvent::ColorRequest(index, format) => {
|
||||
let color = term.colors()[*index].unwrap_or_else(|| {
|
||||
let term_style = &cx.global::<Settings>().theme.terminal;
|
||||
to_alac_rgb(get_color_at_index(index, &term_style.colors))
|
||||
to_alac_rgb(get_color_at_index(index, &term_style))
|
||||
});
|
||||
self.write_to_pty(format(color))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue