WIP: Trying to find a composable approach to styling that plays nice with layout engine
This commit is contained in:
parent
eec39dc23c
commit
76993f6b57
5 changed files with 254 additions and 0 deletions
|
@ -2,8 +2,14 @@ use proc_macro::TokenStream;
|
|||
|
||||
mod derive_element;
|
||||
mod derive_into_element;
|
||||
mod styleable_trait;
|
||||
mod tailwind_lengths;
|
||||
|
||||
#[proc_macro]
|
||||
pub fn styleable_trait(args: TokenStream) -> TokenStream {
|
||||
styleable_trait::styleable_trait(args)
|
||||
}
|
||||
|
||||
#[proc_macro_derive(Element, attributes(element_crate))]
|
||||
pub fn derive_element(input: TokenStream) -> TokenStream {
|
||||
derive_element::derive_element(input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue