Checkpoint

This commit is contained in:
Nate Butler 2023-09-07 16:01:32 -04:00
parent 5fb9c60905
commit 14ea5a1485
5 changed files with 337 additions and 4 deletions

View file

@ -101,7 +101,12 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>)> {
(
"m",
true,
vec![quote! { margin.top }, quote! { margin.bottom }],
vec![
quote! { margin.top },
quote! { margin.bottom },
quote! { margin.left },
quote! { margin.right },
],
),
("mt", true, vec![quote! { margin.top }]),
("mb", true, vec![quote! { margin.bottom }]),
@ -120,7 +125,12 @@ fn box_prefixes() -> Vec<(&'static str, bool, Vec<TokenStream2>)> {
(
"p",
false,
vec![quote! { padding.top }, quote! { padding.bottom }],
vec![
quote! { padding.top },
quote! { padding.bottom },
quote! { padding.left },
quote! { padding.right },
],
),
("pt", false, vec![quote! { padding.top }]),
("pb", false, vec![quote! { padding.bottom }]),