Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Document more styles
Marshall Bowersa6d8915b6cb5
diff --git a/crates/gpui3/src/styled.rs b/crates/gpui3/src/styled.rsindex 00a68753b67..a23106cfa68 100644--- a/crates/gpui3/src/styled.rs+++ b/crates/gpui3/src/styled.rs@@ -137,6 +137,8 @@ pub trait Styled {self}+ /// Sets the element to align flex items to the start of the container's cross axis.+ /// [Docs](https://tailwindcss.com/docs/align-items#start)fn items_start(mut self) -> SelfwhereSelf: Sized,@@ -145,6 +147,8 @@ pub trait Styled {self}+ /// Sets the element to align flex items to the end of the container's cross axis.+ /// [Docs](https://tailwindcss.com/docs/align-items#end)fn items_end(mut self) -> SelfwhereSelf: Sized,@@ -153,6 +157,8 @@ pub trait Styled {self}+ /// Sets the element to align flex items along the center of the container's cross axis.+ /// [Docs](https://tailwindcss.com/docs/align-items#center)fn items_center(mut self) -> SelfwhereSelf: Sized,@@ -161,6 +167,9 @@ pub trait Styled {self}+ /// Sets the element to justify flex items along the container's main axis+ /// such that there is an equal amount of space between each item.+ /// [Docs](https://tailwindcss.com/docs/justify-content#space-between)fn justify_between(mut self) -> SelfwhereSelf: Sized,@@ -169,6 +178,8 @@ pub trait Styled {self}+ /// Sets the element to justify flex items along the center of the container's main axis.+ /// [Docs](https://tailwindcss.com/docs/justify-content#center)fn justify_center(mut self) -> SelfwhereSelf: Sized,@@ -177,6 +188,8 @@ pub trait Styled {self}+ /// Sets the element to justify flex items against the start of the container's main axis.+ /// [Docs](https://tailwindcss.com/docs/justify-content#start)fn justify_start(mut self) -> SelfwhereSelf: Sized,@@ -185,6 +198,8 @@ pub trait Styled {self}+ /// Sets the element to justify flex items against the end of the container's main axis.+ /// [Docs](https://tailwindcss.com/docs/justify-content#end)fn justify_end(mut self) -> SelfwhereSelf: Sized,@@ -193,6 +208,9 @@ pub trait Styled {self}+ /// Sets the element to justify items along the container's main axis such+ /// that there is an equal amount of space on each side of each item.+ /// [Docs](https://tailwindcss.com/docs/justify-content#space-around)fn justify_around(mut self) -> SelfwhereSelf: Sized,@@ -201,6 +219,7 @@ pub trait Styled {self}+ /// Sets the background color of the element.fn bg<F>(mut self, fill: F) -> SelfwhereF: Into<Fill>,@@ -210,6 +229,7 @@ pub trait Styled {self}+ /// Sets the border color of the element.fn border_color<C>(mut self, border_color: C) -> SelfwhereC: Into<Hsla>,@@ -219,6 +239,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow(mut self) -> SelfwhereSelf: Sized,@@ -240,6 +262,8 @@ pub trait Styled {self}+ /// Clears the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_none(mut self) -> SelfwhereSelf: Sized,@@ -248,6 +272,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_sm(mut self) -> SelfwhereSelf: Sized,@@ -261,6 +287,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_md(mut self) -> SelfwhereSelf: Sized,@@ -282,6 +310,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_lg(mut self) -> SelfwhereSelf: Sized,@@ -303,6 +333,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_xl(mut self) -> SelfwhereSelf: Sized,@@ -324,6 +356,8 @@ pub trait Styled {self}+ /// Sets the box shadow of the element.+ /// [Docs](https://tailwindcss.com/docs/box-shadow)fn shadow_2xl(mut self) -> SelfwhereSelf: Sized,