Define theme/ui text style settings in theme crate
This commit is contained in:
parent
5c729c0e56
commit
67a25126d4
86 changed files with 530 additions and 637 deletions
|
@ -57,7 +57,7 @@ impl<D: PickerDelegate> View for Picker<D> {
|
|||
}
|
||||
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> AnyElement<Self> {
|
||||
let theme = (self.theme.lock())(&cx.global::<settings::Settings>().theme);
|
||||
let theme = (self.theme.lock())(theme::current(cx).as_ref());
|
||||
let query = self.query(cx);
|
||||
let match_count = self.delegate.match_count();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue