Allow UI font weight to be assigned in settings (#12333)
Release Notes: - Added the ability to configure the weight of your UI font in standard CSS weight units from 0 to 900.
This commit is contained in:
parent
6276281e8a
commit
e19339bc1d
22 changed files with 67 additions and 52 deletions
|
@ -1961,9 +1961,9 @@ impl Render for ProjectPanel {
|
|||
impl Render for DraggedProjectEntryView {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
|
||||
let settings = ProjectPanelSettings::get_global(cx);
|
||||
let ui_font = ThemeSettings::get_global(cx).ui_font.family.clone();
|
||||
let ui_font = ThemeSettings::get_global(cx).ui_font.clone();
|
||||
h_flex()
|
||||
.font_family(ui_font)
|
||||
.font(ui_font)
|
||||
.bg(cx.theme().colors().background)
|
||||
.w(self.width)
|
||||
.child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue