gpui_macros: Extract border_style_methods
macro (#14514)
This PR extracts a separate `border_style_methods` macro so that it can be used independently from `style_helpers!`. Release Notes: - N/A
This commit is contained in:
parent
fa3d29087d
commit
143035b1ed
3 changed files with 59 additions and 37 deletions
|
@ -70,6 +70,12 @@ pub fn cursor_style_methods(input: TokenStream) -> TokenStream {
|
|||
styles::cursor_style_methods(input)
|
||||
}
|
||||
|
||||
/// Generates methods for border styles.
|
||||
#[proc_macro]
|
||||
pub fn border_style_methods(input: TokenStream) -> TokenStream {
|
||||
styles::border_style_methods(input)
|
||||
}
|
||||
|
||||
/// Generates methods for box shadow styles.
|
||||
#[proc_macro]
|
||||
pub fn box_shadow_style_methods(input: TokenStream) -> TokenStream {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue