Nathan Sobo
adc355a1e6
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Conrad Irwin
37d0b8424c
Merge branch 'main' into element-types
2023-11-14 12:10:26 -07:00
Marshall Bowers
76c15229c1
Combine LabelColor
and IconColor
into TextColor
2023-11-14 13:48:01 -05:00
Nathan Sobo
6abaacc457
Fix formatting
2023-11-14 01:58:10 -07:00
Nathan Sobo
27fb381cca
Checkpoint
2023-11-14 01:15:48 -07:00
Nate Butler
9cc3ee9674
Update usages of text_size_*
to text_ui
in ui components
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-08 15:28:38 -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
Nate Butler
6e11044e9e
add ui_text_size
functions
2023-11-08 12:57:24 -05:00
Marshall Bowers
b6766ba39a
Replace GitStatusColors
with StatusColors
( #3268 )
...
This PR removes `GitStatusColors` in favor of just using `StatusColors`
instead.
Release Notes:
- N/A
2023-11-08 11:32:32 -05:00
Conrad Irwin
496518f3e8
Use gpui instead of gpui2 consistenytly
2023-11-06 11:50:33 -07:00
Marshall Bowers
d224f511fa
Add interactivity to Checkbox
component ( #3240 )
...
This PR adds interactivity to the `Checkbox` component.
They can now be checked and unchecked by clicking them.
Release Notes:
- N/A
2023-11-06 13:22:25 -05:00
Nate Butler
1bce5dcc69
Add checkboxes and their stories
2023-11-05 01:06:41 -05:00
Nate Butler
b125cc279f
Simplify toggle, do some reorganization
2023-11-04 11:24:31 -04:00
Nate Butler
d0975aacac
Merge branch 'main' into n/t2
2023-11-01 16:52:43 -04:00
Nate Butler
be3cc6458c
Implement Notifications
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-01 16:34:42 -04:00
Marshall Bowers
b910bbf002
Add ui_font_size
setting ( #3199 )
...
This PR adds a new `ui_font_size` setting that can be used to control
the scale of the entire UI.
We use the value in this setting to set the base rem size of the window.
Release Notes:
- N/A
2023-11-01 13:11:12 -04:00
Marshall Bowers
18431051d9
Rework theme2
with new theme structure ( #3194 )
...
This PR reworks the theme definition in the `theme2` crate to be based
off of the new theme work that @iamnbutler has been working on.
We're still developing the new theme system, but it is complete enough
that we can now load the default theme and use it to theme the storybook
(albeit with some further refining of the color palette required).
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com>
Co-authored-by: Marshall Bowers <marshall@zed.dev>
2023-10-31 22:23:00 -04:00
Marshall Bowers
ba789fc0c4
Remove old theme constructs
2023-10-30 14:47:44 -04:00
Marshall Bowers
14d24a9ac6
Remove references to old_theme
2023-10-30 14:36:49 -04:00
Marshall Bowers
7b4e699d0e
Remove themed
wrapper
2023-10-30 14:28:25 -04:00
Marshall Bowers
ed233d583f
ui2: Remove ElementExt
trait
2023-10-26 15:59:18 +02:00
Nathan Sobo
0285284ae1
Rename IntoAnyElement trait to Component
2023-10-26 12:46:52 +02:00
Marshall Bowers
9c10152c89
Use Display
instead of custom to_string
2023-10-26 09:30:21 +02:00
Marshall Bowers
28ef30f7a2
Removed unused ui2::color
module
2023-10-26 09:26:22 +02:00
Marshall Bowers
e1032c5341
Remove ThemeColor
in favor of theme2::Theme
2023-10-25 16:32:44 +02:00
Marshall Bowers
258496700f
Rename theme
getter to old_theme
2023-10-25 16:02:47 +02:00
Nate Butler
c1c9db2ae2
Add elevation enums + docs
2023-10-23 13:50:39 -04:00
Nate Butler
3a326bfa7e
🤦 Remove references to system_color
2023-10-23 11:05:17 -04:00
Nate Butler
1e13e273d2
Add ThemeColor interface for UI coloring and remove redundancy
2023-10-23 11:01:04 -04:00
Nate Butler
cc445f7cef
Start scaffolding out the Copilot Modal UI
...
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-10-23 10:00:02 -04:00
Antonio Scandurra
e4fe9538d7
Checkpoint
2023-10-21 16:01:47 +02:00
Antonio Scandurra
a3dcaf21cb
Checkpoint
2023-10-20 16:31:03 +02:00
Antonio Scandurra
68bc22f9cd
Checkpoint
2023-10-20 10:55:06 +02:00
Nate Butler
32028fbbb1
Checkpoint – Notifications Panel
2023-10-19 20:04:21 -04:00
Antonio Scandurra
296fc92721
Checkpoint
2023-10-19 23:47:32 +02:00
Antonio Scandurra
21b4ae3fdc
Merge
2023-10-19 23:40:38 +02:00
Antonio Scandurra
3a70f02cbf
Checkpoint
2023-10-19 23:21:26 +02:00
Antonio Scandurra
dd7e1c505c
Checkpoint
2023-10-19 23:00:19 +02:00
Marshall Bowers
3932c1064e
Merge branch 'gpui2' into gpui2-theme-to-color
2023-10-19 16:10:44 -04:00
Nate Butler
58650b7d2d
Checkpoint - Still Broken
2023-10-19 14:38:01 -04:00
Marshall Bowers
184f5f2397
Restore active styles for Input
s
2023-10-19 14:17:35 -04:00
Nate Butler
bca97f7186
Checkpoint – Broken
2023-10-19 12:58:17 -04:00
Marshall Bowers
61e09ff532
Checkpoint: Thread WindowContext
through to user_settings
2023-10-19 12:58:17 -04:00
Nate Butler
c22778bd92
Remove debugs
2023-10-18 19:15:17 -04:00
Nate Butler
65828c14fc
Use ui_size to build icon button
2023-10-18 19:12:02 -04:00
Nate Butler
7b2782c0f6
Use ui_size
to set relative font sizes
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 17:02:57 -04:00
Nate Butler
8b637e194e
Update approach to settings
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 16:16:58 -04:00
Nate Butler
289255d67a
Update UI elements and implement user settings for customization
2023-10-18 15:42:10 -04:00
Marshall Bowers
2b53c67789
Use SharedString
for Label
s
2023-10-18 10:58:50 -04:00