//! Print the geometry layer as an app would bake it in at build time, then //! the same vocabulary resolved for a terminal. use makeover_geometry::{Density, Gap, Surface, gap_css_overrides, geometry_css_vars}; fn main() { print!("{}", geometry_css_vars(Density::Pointer)); println!(); print!("{}", gap_css_overrides(".ui-mode-mobile", Density::Touch)); println!("\n/* the same relationships on a terminal, in cells */"); let t = Surface::terminal(); for gap in Gap::all() { println!( "/* {:<8} {} */", gap.token().trim_start_matches("gap-"), t.gap(gap, Density::Pointer) ); } }