Switch to the system UI font on macOS (#10317)
To reference the system font, use the special ".SystemUIFont" family name. /cc @PixelJanitor Release Notes: - Switched to the system UI font for user interface elements on macOS. Co-authored-by: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
8205c52d2b
commit
414058379b
5 changed files with 28 additions and 10 deletions
|
@ -675,6 +675,8 @@ impl Hash for RenderEmojiParams {
|
|||
#[derive(Clone, Debug, Eq, PartialEq, Hash)]
|
||||
pub struct Font {
|
||||
/// The font family name.
|
||||
///
|
||||
/// The special name ".SystemUIFont" is used to identify the system UI font, which varies based on platform.
|
||||
pub family: SharedString,
|
||||
|
||||
/// The font features to use.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue