Marshall Bowers and Nate
ee509e043d
Rework ListItem and ListHeader to use slot-based APIs ( #3635 )
...
This PR reworks the `ListItem` and `ListHeader` components to use
slot-based APIs, making them less opinionated about their contents.
Splitting this out of the collab UI styling PR so we can land it to
avoid conflicts.
Co-authored-by: Nate <nate@zed.dev >
Release Notes:
- N/A
2023-12-13 16:08:31 -05:00
Marshall Bowers
75c1f0e997
Add w_vw and h_vh to StyledExt for setting sizes in viewport units ( #3600 )
...
This PR adds `w_vw` and `h_vh` methods to `StyledExt`.
These methods are the same as their `w` and `h` counterparts, but
operate in viewport units, giving us the equivalent of `vw` and `vh` in
CSS.
You can see them in action in this story:
```
cargo run -p storybook2 -- components/viewport_units
```
Release Notes:
- N/A
2023-12-11 18:19:11 -05:00
Nate Butler
9e6103f863
Merge branch 'main' into update-pickers
2023-12-06 23:21:42 -05:00
Max Brunsfeld and Nathan
89c8a7c242
Enable buffer font size adjustment in zed2
...
Co-authored-by: Nathan <nathan@zed.dev >
2023-12-06 13:52:33 -08:00
Nate Butler
cb0880cf3c
Add debugging colors to styled_ext
2023-12-06 10:08:26 -05:00
Nate Butler and Marshall Bowers
2bf48872b6
Progress on diagnostic multibuffer
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-12-01 16:53:09 -05:00
Marshall Bowers
64376ad37a
ui2: Reference theme2 and settings2 crates without the 2 ( #3424 )
...
This PR updates the `ui2` crate to reference the `theme2` and
`settings2` crates without the `2` the way we do in our other crates.
Release Notes:
- N/A
2023-11-28 15:30:29 -05:00
Nate Butler
1acc6b462f
Start on completions styles
2023-11-27 10:29:29 -05:00
Nate Butler
8947438510
Update elevation
2023-11-21 01:23:47 -05:00
2c4d83c9af
WIP
...
co-authored-by: conrad <conrad@zed.dev >
co-authored-by: Nathan <nathan@zed.dev >
2023-11-20 14:46:01 -08:00
Conrad Irwin
9547e88d88
TEMP
2023-11-16 19:50:31 -07:00
Nathan Sobo
27fb381cca
Checkpoint
2023-11-14 01:15:48 -07:00
Conrad Irwin
f464d69ff8
Merge branch 'main' into dispatch-tree
2023-11-13 13:21:57 -07:00
Marshall Bowers
5b254b03df
Move Sized bound to StyledExt trait
2023-11-13 11:10:00 -05:00
Nathan Sobo
7eaba8fabc
WIP
2023-11-10 14:47:45 -07:00
Nate Butler and Marshall Bowers
5dca5caf9f
Add elevation to StyledExt
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-10 16:12:14 -05:00
Nate Butler and Marshall Bowers
9bdfc7a2e5
Update StyledExt to impl over I & F as well as V for Div
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-08 15:25:44 -05:00
Nate Butler and Marshall Bowers
f4abd95866
Remove the Stack trait, update StyledExt to include stacks
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-08 15:00:47 -05:00
Nate Butler
4ef2f0b2b9
Update StyledExt to use more idiomatic method naming
2023-11-08 14:42:56 -05:00
Nate Butler
6ecf629c63
BROKEN: Checkpoint
2023-11-08 14:29:38 -05:00