Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Document border width styles

Marshall Bowers7a2b04a5d122
diff --git a/crates/gpui3_macros/src/style_helpers.rs b/crates/gpui3_macros/src/style_helpers.rs
index d3567e2916d..7210867c807 100644
--- a/crates/gpui3_macros/src/style_helpers.rs
+++ b/crates/gpui3_macros/src/style_helpers.rs
@@ -475,27 +475,27 @@ fn border_prefixes() -> Vec<(&'static str, Vec<TokenStream2>, &'static str)> {
quote! { border_widths.bottom },
quote! { border_widths.left },
],
- "todo!(docstring)",
+ "Sets the border width of the element. [Docs](https://tailwindcss.com/docs/border-width)"
),
(
"border_t",
vec![quote! { border_widths.top }],
- "todo!(docstring)",
+ "Sets the border width of the top side of the element. [Docs](https://tailwindcss.com/docs/border-width#individual-sides)"
),
(
"border_b",
vec![quote! { border_widths.bottom }],
- "todo!(docstring)",
+ "Sets the border width of the bottom side of the element. [Docs](https://tailwindcss.com/docs/border-width#individual-sides)"
),
(
"border_r",
vec![quote! { border_widths.right }],
- "todo!(docstring)",
+ "Sets the border width of the right side of the element. [Docs](https://tailwindcss.com/docs/border-width#individual-sides)"
),
(
"border_l",
vec![quote! { border_widths.left }],
- "todo!(docstring)",
+ "Sets the border width of the left side of the element. [Docs](https://tailwindcss.com/docs/border-width#individual-sides)"
),
(
"border_x",
@@ -503,7 +503,7 @@ fn border_prefixes() -> Vec<(&'static str, Vec<TokenStream2>, &'static str)> {
quote! { border_widths.left },
quote! { border_widths.right },
],
- "todo!(docstring)",
+ "Sets the border width of the vertical sides of the element. [Docs](https://tailwindcss.com/docs/border-width#horizontal-and-vertical-sides)"
),
(
"border_y",
@@ -511,7 +511,7 @@ fn border_prefixes() -> Vec<(&'static str, Vec<TokenStream2>, &'static str)> {
quote! { border_widths.top },
quote! { border_widths.bottom },
],
- "todo!(docstring)",
+ "Sets the border width of the horizontal sides of the element. [Docs](https://tailwindcss.com/docs/border-width#horizontal-and-vertical-sides)"
),
]
}