This commit is contained in:
Mikayla 2023-11-14 14:48:34 -08:00
parent 3b01a032ba
commit 6b25841e2a
No known key found for this signature in database
9 changed files with 25 additions and 18 deletions

View file

@ -1,5 +1,6 @@
use gpui::{Div, Render};
use theme2::ActiveTheme;
use settings2::Settings;
use theme2::{ActiveTheme, ThemeSettings};
use crate::prelude::*;
use crate::{h_stack, v_stack, KeyBinding, Label, LabelSize, StyledExt, TextColor};
@ -34,9 +35,10 @@ impl Render for TextTooltip {
type Element = Div<Self>;
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
let ui_font = ThemeSettings::get_global(cx).ui_font.family.clone();
v_stack()
.elevation_2(cx)
.font("Zed Sans")
.font(ui_font)
.text_ui_sm()
.text_color(cx.theme().colors().text)
.py_1()