T27: on Omarchy 4 an Omarchy theme wears the system's current theme, read from the ghostty.conf Omarchy renders, and follows each switch; it is the default where Omarchy runs, and its card leads the Appearance grid
CI / platforms (ubuntu-24.04) (push) Successful in 1m35s
CI / macos (push) Successful in 11m19s
CI / platforms (windows-latest) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-16 00:10:37 -04:00
1 parent 2e9ed4de75
commit 340c7a92ea
13 files changed
+233 -29

No files matched your search

+2 -5
View File
@@ -82,7 +82,7 @@ impl Default for Settings {
Self {
shell: String::new(),
start_in: StartIn::Home,
theme: "catppuccin-mocha".into(),
theme: themes::default_id().into(),
dark_theme: None,
font_family: "JetBrains Mono".into(),
font_size: 13.0,
@@ -124,10 +124,7 @@ impl Settings {
("dark_theme", self.dark_theme.as_ref()),
] {
if let Some(id) = id {
anyhow::ensure!(
themes::find(id).is_some(),
"{field} is {id:?}, no built-in theme"
);
anyhow::ensure!(themes::known(id), "{field} is {id:?}, no built-in theme");
}
}
anyhow::ensure!(!self.font_family.is_empty(), "font_family is empty");