| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
use makeover_geometry::{Density, Gap, Surface, gap_css_overrides, geometry_css_vars}; |
| 5 |
|
| 6 |
fn main() { |
| 7 |
print!("{}", geometry_css_vars(Density::Pointer)); |
| 8 |
println!(); |
| 9 |
print!("{}", gap_css_overrides(".ui-mode-mobile", Density::Touch)); |
| 10 |
|
| 11 |
println!("\n/* the same relationships on a terminal, in cells */"); |
| 12 |
let t = Surface::terminal(); |
| 13 |
for gap in Gap::all() { |
| 14 |
println!( |
| 15 |
"/* {:<8} {} */", |
| 16 |
gap.token().trim_start_matches("gap-"), |
| 17 |
t.gap(gap, Density::Pointer) |
| 18 |
); |
| 19 |
} |
| 20 |
} |
| 21 |
|