Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
storybook: Use `theme::setup_ui_font` helper function (#13227)
Marshall Bowers84a44bef8a3e
diff --git a/crates/storybook/src/storybook.rs b/crates/storybook/src/storybook.rsindex 9458ef4bd6d..77cbca099fa 100644--- a/crates/storybook/src/storybook.rs+++ b/crates/storybook/src/storybook.rs@@ -90,8 +90,7 @@ fn main() {..Default::default()},move |cx| {- let ui_font_size = ThemeSettings::get_global(cx).ui_font_size;- cx.set_rem_size(ui_font_size);+ theme::setup_ui_font(cx);cx.new_view(|cx| StoryWrapper::new(selector.story(cx)))},