zed/crates/theme
Marshall Bowers 9e36a66fec
ui: Add NumericStepper component (#13954)
This PR adds a `NumericStepper` component that can be used to display a
numeric value along with controls to increment, decrement, and reset the
value.

The `ApplicationMenu` has been updated to use the `NumericStepper` for
adjusting the buffer and UI font size.

Here it is in action:


https://github.com/zed-industries/zed/assets/1486634/03cffe67-1256-4283-aa3d-560fffa06dad

Note: Due to the way we do font adjustments, once modified the reset
button will be displayed until it is clicked (or the font size
adjustment is otherwise reset). Simply returning to the original value
will currently not hide the reset button.

Release Notes:

- N/A
2024-07-08 18:45:49 -04:00
..
src ui: Add NumericStepper component (#13954) 2024-07-08 18:45:49 -04:00
util Remove 2 suffix for theme 2024-01-03 12:41:01 -08:00
Cargo.toml theme: Warn when deprecated scrollbar_thumb.background style is used (#13081) 2024-06-15 22:14:39 -04:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
theme.md remoting (#9680) 2024-03-22 08:44:56 -06:00