Commit Graph
100 Commits
Author SHA1 Message Date
Marshall Bowers cee8175c19 theme2: Add Sandcastle theme 2023-10-25 17:27:25 +02:00
Marshall Bowers 751df45263 Print out Theme structs in theme_converter 2023-10-25 17:24:34 +02:00
Marshall Bowers 6b5947a1fa Start work on theme converter 2023-10-25 16:54:26 +02:00
Marshall Bowers 437d147935 Rename player to players 2023-10-25 16:39:06 +02:00
Marshall Bowers 0867175a4e Remove reference to removed ThemeColor 2023-10-25 16:34:03 +02:00
Marshall Bowers 4fcbc91aca Add note about fixing dead_code and unused_variables warnings in ui2 2023-10-25 16:33:33 +02:00
Marshall Bowers e1032c5341 Remove ThemeColor in favor of theme2::Theme 2023-10-25 16:32:44 +02:00
Marshall Bowers bb3f59252e Rename theme2 getter to theme 2023-10-25 16:04:49 +02:00
Marshall Bowers 258496700f Rename theme getter to old_theme 2023-10-25 16:02:47 +02:00
Marshall Bowers 8043d0d8a9 Reference theme2 colors in ThemeColor 2023-10-25 15:58:56 +02:00
Marshall Bowers dd34bb273e Load Theme from theme2 into the storybook 2023-10-25 15:50:50 +02:00
Marshall Bowers 5b04f965fa Update Cargo.lock 2023-10-24 18:25:48 +02:00
Marshall Bowers afad2fbfa2 Merge branch 'zed2' of github.com:zed-industries/zed into zed2 2023-10-24 17:58:42 +02:00
Marshall Bowers d6bd000aa8 Rename cx.global_default_mut to cx.global_default 2023-10-24 17:58:14 +02:00
Marshall Bowers 4ca7ddfc42 Finish up ThemeRegistry and remove AnyAssetSource 2023-10-24 17:47:41 +02:00
Marshall Bowers 51c66f508b Merge branch 'zed2' into theme2 2023-10-24 17:29:25 +02:00
Marshall Bowers 4740d6ed61 Checkpoint 2023-10-24 17:29:03 +02:00
Marshall Bowers 5fb8321ee0 Merge branch 'zed2' of github.com:zed-industries/zed into zed2 2023-10-24 17:00:11 +02:00
Marshall Bowers 09866ec3e9 WIP 2023-10-24 16:59:24 +02:00
Marshall Bowers 9f8aaa4cdb Add AnyAssetSource 2023-10-24 16:59:01 +02:00
Marshall Bowers 8117e7933c Add missing bounds to Themed 2023-10-24 14:30:26 +02:00
Marshall Bowers cf380a9f62 Remove set_ prefix for List setters 2023-10-24 14:18:51 +02:00
Marshall Bowers 24e21a4c29 Merge branch 'zed2' of github.com:zed-industries/zed into zed2 2023-10-24 14:11:22 +02:00
Marshall Bowers bb35583998 Merge branch 'gpui2' into zed2 2023-10-24 14:11:13 +02:00
Marshall Bowers 23ad0a2c58 Return a Result from load_embedded_fonts 2023-10-24 13:31:01 +02:00
Marshall Bowers f2710f37c5 Fix default font family 2023-10-24 12:49:18 +02:00
Marshall Bowers 785901c75e Load embedded fonts 2023-10-24 12:32:30 +02:00
Marshall Bowers 171db00f6e Fix stack overflow 2023-10-24 11:39:15 +02:00
Marshall Bowers 6f5cf10acb Comment out .state setting 2023-10-24 11:39:10 +02:00
Marshall Bowers 6a532af1fd Swap the parameters to IconButton 2023-10-24 11:26:19 +02:00
Marshall Bowers 47f979d457 Pass IDs to IconButtons instead of generating them 2023-10-24 11:20:31 +02:00
Marshall Bowers 7719ed0d6c Remove unnecessary iterator 2023-10-20 16:34:33 -04:00
Marshall Bowers cbdd1d6d6c Use children instead of when 2023-10-20 16:30:52 -04:00
Marshall Bowers 080638216a Wire up NotificationsPanel story 2023-10-20 16:30:45 -04:00
Marshall Bowers 4dc2440024 Enable text wrapping for Details 2023-10-20 16:13:54 -04:00
Marshall Bowers a6d8915b6c Document more styles 2023-10-20 15:59:47 -04:00
Marshall Bowers b0b7f27f3a Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-20 11:32:11 -04:00
Marshall Bowers c831c5749a Remove more unneeded Clone bounds 2023-10-20 11:32:10 -04:00
Marshall Bowers 901af8de3f Remove Clone bound from Avatar 2023-10-20 11:13:13 -04:00
Marshall Bowers d9a030157e Remove Clone bound from Keybinding 2023-10-20 11:12:37 -04:00
Marshall Bowers a0996c1807 Remove Clone bound from ChatMessage 2023-10-20 11:10:13 -04:00
Marshall Bowers 94f0140f62 Assign each IconButton an ID based on the icon 2023-10-19 16:50:33 -04:00
Marshall Bowers 28b29d0985 Give each Tab its own ID 2023-10-19 16:42:21 -04:00
Marshall Bowers 52f2521f6a Wire up active style for Tab 2023-10-19 16:37:54 -04:00
Marshall Bowers e1e8b63eb5 Remove Clone bound from IconElement 2023-10-19 16:37:15 -04:00
Marshall Bowers a1aba32209 Remove Clone bound from Button and Details 2023-10-19 16:35:44 -04:00
Marshall Bowers fa3916d1bf Remove Clone bound for HighlightedLabel 2023-10-19 16:34:08 -04:00
Marshall Bowers 3ac7ef90ef Remove Clone bound for Input 2023-10-19 16:32:48 -04:00
Marshall Bowers 4050bf43c4 Remove Clone bound for Label 2023-10-19 16:31:24 -04:00
Marshall Bowers d91b423a45 Remove unused Interactive impl for FakeSettings 2023-10-19 16:16:09 -04:00
Marshall Bowers 2bbce2f0fd Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-19 16:14:39 -04:00
Marshall Bowers 1be1bffb29 Wire up active style for Breadcrumb 2023-10-19 16:13:25 -04:00
Marshall Bowers 92542e6b94 Identify IconButton 2023-10-19 16:12:21 -04:00
Marshall Bowers 3932c1064e Merge branch 'gpui2' into gpui2-theme-to-color 2023-10-19 16:10:44 -04:00
Marshall Bowers 2189983323 Add missing Clone bounds 2023-10-19 15:02:00 -04:00
Marshall Bowers d5fc831321 Restore more active styles 2023-10-19 14:23:45 -04:00
Marshall Bowers 743949753a Fix mutual-exclusivity of right panels 2023-10-19 14:19:10 -04:00
Marshall Bowers 184f5f2397 Restore active styles for Inputs 2023-10-19 14:17:35 -04:00
Marshall Bowers 597aa0475e Remove unused import 2023-10-19 14:10:13 -04:00
Marshall Bowers 70984faee2 Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-19 14:06:35 -04:00
Marshall Bowers e657e4d1d1 Wire up livestream debug toggle 2023-10-19 14:06:31 -04:00
Marshall Bowers a869de3b1f Add ability to toggle user settings 2023-10-19 13:38:19 -04:00
Marshall Bowers 4aac733238 Pass the settings to build_child 2023-10-19 13:23:08 -04:00
Marshall Bowers 7ed891e0c6 Merge branch 'gpui2' into gpui2ui-debug-panel 2023-10-19 13:04:37 -04:00
Marshall Bowers a1f7a97ff5 Pull the settings from the global state 2023-10-19 13:02:32 -04:00
Marshall Bowers 61e09ff532 Checkpoint: Thread WindowContext through to user_settings 2023-10-19 12:58:17 -04:00
Marshall Bowers b16d37953d Use line_height in z_index stories 2023-10-19 12:06:05 -04:00
Marshall Bowers f5c76d93bc Add missing Arc for on_click handler 2023-10-19 10:25:54 -04:00
Marshall Bowers 549e78d7b3 Use SharedString for Inputs 2023-10-18 14:28:28 -04:00
Marshall Bowers 5a42ca6772 Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-18 14:19:29 -04:00
Marshall Bowers 8dad3ad8ea Use SharedString for Lists 2023-10-18 14:19:26 -04:00
Marshall Bowers 856d23626f Use SharedString for Palette and PaletteItems 2023-10-18 14:03:13 -04:00
Marshall Bowers 24086191af Split Label and HighlightedLabel 2023-10-18 12:37:47 -04:00
Marshall Bowers f0b9e9a89d Use SharedString for Keybindings 2023-10-18 12:26:51 -04:00
Marshall Bowers 6e3393c93f Use SharedString for Buttons 2023-10-18 10:59:42 -04:00
Marshall Bowers aa41f97e38 Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-18 10:58:54 -04:00
Marshall Bowers 2b53c67789 Use SharedString for Labels 2023-10-18 10:58:50 -04:00
Marshall Bowers 8321b9430e Wire up hover styles on Buttons 2023-10-18 10:53:42 -04:00
Marshall Bowers 7f69350e4d Fix typo in doc comment 2023-10-18 10:45:20 -04:00
Marshall Bowers 1a156c1060 Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-18 10:44:43 -04:00
Marshall Bowers 5491398a64 Merge branch 'gpui2' into gpui2-ui 2023-10-18 10:43:15 -04:00
Marshall Bowers 79e0509bf9 Begin documenting flex styles 2023-10-17 17:32:30 -04:00
Marshall Bowers 218922d9f8 Document gap styles 2023-10-17 17:21:52 -04:00
Marshall Bowers 7a2b04a5d1 Document border width styles 2023-10-17 16:47:37 -04:00
Marshall Bowers dc32e56a9c Document rounded styles 2023-10-17 16:35:21 -04:00
Marshall Bowers 490cc7ded6 Add more placeholder doc strings 2023-10-17 16:24:36 -04:00
Marshall Bowers edc52e5b28 Tweak grammar 2023-10-17 16:16:38 -04:00
Marshall Bowers a1a1284696 Document top/right/bottom/left styles 2023-10-17 16:13:55 -04:00
Marshall Bowers 6f849e8f64 Document padding styles 2023-10-17 16:10:30 -04:00
Marshall Bowers 3e32504526 Document .size() 2023-10-17 16:07:52 -04:00
Marshall Bowers 6e84d3cce0 Document margin styles 2023-10-17 16:06:11 -04:00
Marshall Bowers 8c02de6c61 Document width and height styles 2023-10-17 16:06:07 -04:00
Marshall Bowers f09df31480 Emit doc strings for custom value setters 2023-10-17 16:01:36 -04:00
Marshall Bowers 6f30d6b4d0 Add placeholder doc strings for style prefixes 2023-10-17 15:53:54 -04:00
Marshall Bowers c8b452d411 Merge branch 'gpui2-ui' into gpui2 2023-10-16 16:54:40 -04:00
Marshall Bowers 708034d1d3 Call is_toggled as a method 2023-10-16 15:55:43 -04:00
Marshall Bowers 5e43c332f1 Merge branch 'gpui2-ui' into gpui2 2023-10-13 17:44:28 -04:00
Marshall Bowers 6891e86621 Add state to BufferSearch 2023-10-13 17:44:21 -04:00
Marshall Bowers 3c1ec2e9ca Add rudimentary UI for BufferSearch 2023-10-13 17:36:27 -04:00
Marshall Bowers 49caeeafce Merge branch 'gpui2-ui' into gpui2 2023-10-13 17:20:54 -04:00