improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles

This commit is contained in:
Michael Aaron Murphy 2025-02-18 22:25:40 +01:00 committed by Michael Murphy
parent 3f25af87a3
commit 7d84d21129
18 changed files with 206 additions and 72 deletions

View file

@ -13,8 +13,8 @@ use std::sync::{LazyLock, Mutex, RwLock};
/// ID for the `CosmicTk` config.
pub const ID: &str = "com.system76.CosmicTk";
const MONO_FAMILY_DEFAULT: &str = "Fira Mono";
const SANS_FAMILY_DEFAULT: &str = "Fira Sans";
const MONO_FAMILY_DEFAULT: &str = "Noto Sans Mono";
const SANS_FAMILY_DEFAULT: &str = "Open Sans";
/// Stores static strings of the family names for `iced::Font` compatibility.
pub static FAMILY_MAP: LazyLock<Mutex<BTreeSet<&'static str>>> = LazyLock::new(|| Mutex::default());