Use user-defined font weight, where appropriate (#13653)
Release Notes: - N/A
This commit is contained in:
@@ -14,9 +14,9 @@ use editor::{
|
||||
use futures::channel::oneshot;
|
||||
use gpui::{
|
||||
actions, div, impl_actions, Action, AppContext, ClickEvent, EventEmitter, FocusableView,
|
||||
FontStyle, FontWeight, Hsla, InteractiveElement as _, IntoElement, KeyContext,
|
||||
ParentElement as _, Render, ScrollHandle, Styled, Subscription, Task, TextStyle, View,
|
||||
ViewContext, VisualContext as _, WhiteSpace, WindowContext,
|
||||
FontStyle, Hsla, InteractiveElement as _, IntoElement, KeyContext, ParentElement as _, Render,
|
||||
ScrollHandle, Styled, Subscription, Task, TextStyle, View, ViewContext, VisualContext as _,
|
||||
WhiteSpace, WindowContext,
|
||||
};
|
||||
use project::{
|
||||
search::SearchQuery,
|
||||
@@ -116,7 +116,7 @@ impl BufferSearchBar {
|
||||
font_family: settings.buffer_font.family.clone(),
|
||||
font_features: settings.buffer_font.features.clone(),
|
||||
font_size: rems(0.875).into(),
|
||||
font_weight: FontWeight::NORMAL,
|
||||
font_weight: settings.buffer_font.weight,
|
||||
font_style: FontStyle::Normal,
|
||||
line_height: relative(1.3),
|
||||
background_color: None,
|
||||
|
||||
Reference in New Issue
Block a user