Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Default to Zed Sans for UI

Conrad Irwine90ddba2c3ba
diff --git a/assets/settings/default.json b/assets/settings/default.json
index bd157c3e613..87cf0517a2b 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -36,7 +36,7 @@
// },
"buffer_line_height": "comfortable",
// The name of a font to use for rendering text in the UI
- "ui_font_family": "Zed Mono",
+ "ui_font_family": "Zed Sans",
// The OpenType features to enable for text in the UI
"ui_font_features": {
// Disable ligatures:
diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs
index d80c9163a99..6c84a7716f4 100644
--- a/crates/gpui/src/text_system.rs
+++ b/crates/gpui/src/text_system.rs
@@ -59,7 +59,7 @@ impl TextSystem {
fallback_font_stack: smallvec![
// TODO: This is currently Zed-specific.
// We should allow GPUI users to provide their own fallback font stack.
- font("Zed Mono"),
+ font("Zed Sans"),
font("Helvetica")
],
}