Theme: page spacing back to production's 70/28/14 comfortable (L-310; trial comfortable_page_spacing_is_production_s)

This commit is contained in:
Dylan M. Taylor
2026-11-22 07:49:26 -05:00
parent d5f3da32f4
commit ec7d40e3e1
+11
View File
@@ -169,3 +169,14 @@ fn diff(old: &str, new: &str) -> String {
}
out.join("\n")
}
/// L-310: at the comfortable density the page view keeps production's 70 pt side margins, 28 pt above the first page and
/// 14 pt between pages.
#[test]
fn comfortable_page_spacing_is_production_s() {
let theme = builtins().iter().find(|t| t.id.as_str() == "craft.artcraft").unwrap();
let appearance =
Appearance { mode: Mode::Dark, contrast: Contrast::Standard, size: Size::Comfortable, text_size: TextSize::Small, reduced_motion: false };
let inset = resolve(theme, appearance, None).tokens.space.inset;
assert_eq!((inset.page_side, inset.page_margin, inset.page_gap), (70.0, 28.0, 14.0));
}