Commit Graph
69 Commits
Author SHA1 Message Date
Nathan Sobo 928779154e Tweak spacing so tab close buttons feel more balanced 2021-09-17 16:59:46 -07:00
Nathan Sobo a1f0693599 Specify full TextStyles in EditorStyle 2021-09-16 14:12:38 -06:00
Antonio ScandurraandNathan Sobo 260114af6c Update Inconsolata to not include ligatures
Fixes #146

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-16 17:47:17 +02:00
Antonio Scandurra 02768b7f7b Remove duplicated text base definition 2021-09-16 17:39:12 +02:00
Nathan SoboandMax Brunsfeld 95ef70e4f4 Switch to new resolution system in ThemeRegistry
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-15 12:56:20 -06:00
Nathan SoboandMax Brunsfeld 99a2dc4880 Render an offline icon in titlebar when connection is lost
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-14 17:47:43 -06:00
Nathan SoboandMax Brunsfeld 0f415a594f Style avatar image with border and rounded corners
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-14 16:59:38 -06:00
2cf1c697c2 Render a signed out icon in titlebar
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-09-14 18:53:41 +02:00
Nate 6afd477569 Add initial collaborator colors
* Define host selection color
* Add 7 unique guest colors, optimizing for contrast between selectors the fewer collaborators you have
* Selections use transparent versions of the cursor color
2021-09-10 15:56:39 -04:00
Nate 21c74ca78d Add "zed" label to the title bar 2021-09-10 13:42:38 -04:00
Nate 64c26a73be Seperate selector.input_editor and chat_panel.input_editor
* create [selector.input_editor] and style
* Update selector style to match figma now that inputs are individually stylable
2021-09-10 11:23:38 -04:00
Nate 160c4beb06 Add shadow to channel select menu 2021-09-10 10:18:14 -04:00
Nate fac42fd3c2 Fix border on channel select menu 2021-09-10 10:14:21 -04:00
Nate Butler 75bd1bdda7 Tab refinements
* Update close icon to remove whitespace
* Update tab spacing
* DOESN'T update active_tab to add right border when it is last tab
2021-09-08 01:07:09 -04:00
Nate Butler 0ef409d48f Change the active_line style to a transparent black 2021-09-08 00:10:55 -04:00
Max BrunsfeldandNathan Sobo d5f07ea890 Remove underline from function syntax highlighting
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-07 17:50:24 -07:00
Nate 31d8c02061 Update pane_divider width 2021-09-07 20:06:15 -04:00
Nate 4cdca65fc0 Update Zed UI for 0.2 release
* changes to padding, spacings and borders
* Fix incorrect borders on titlebar and sidebars
* QA pass on all themes, base font size -> 15
* Changed the max size of the file_finder
* Hid file_finder icons
* Modified the size of tab status indicators
* Made the default sidebar size bigger
2021-09-07 20:02:27 -04:00
Max BrunsfeldandNate Butler 64cdf7cdd1 Make pane divider stylable in theme
Co-Authored-By: Nate Butler <nate@zed.dev>
2021-09-07 15:04:29 -07:00
Max BrunsfeldandNate Butler d2bfae5fe1 Make selectors stylable via theme
* input editor container style
* "no matches" message style

Co-Authored-By: Nate Butler <nate@zed.dev>
2021-09-07 14:42:19 -07:00
Max BrunsfeldandNate Butler 36fb559c03 Rework tabs
* Tabs are no longer flexible in width
* Move status icons to the left side of the tab
* The close button is always visbile for the active tab

Co-Authored-By: Nate Butler <nate@zed.dev>
2021-09-07 14:28:14 -07:00
Max Brunsfeld 0def328f14 Merge branch 'main' into styling 2021-09-07 13:22:37 -07:00
Nate 23b66d9bed Add black theme 2021-09-07 16:10:32 -04:00
Nate 246a911c03 Update colors, style panels and selector 2021-09-07 16:10:29 -04:00
Nathan SoboandMax Brunsfeld 13143e64a2 Style resize handles
We want the draggable area to be larger than the visual appearance, so we added a padding facility to MouseEventHandler that enlarges the "hit area" by the specified padding.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-07 13:22:21 -06:00
Nathan SoboandMax Brunsfeld 8085e74b98 Style the left and right sidebars independently in the theme
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-07 13:02:43 -06:00
Nathan SoboandMax Brunsfeld 59931a472b Style titlebar via theme and give it a bottom border
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-07 12:52:10 -06:00
Nathan SoboandMax Brunsfeld b29e673c43 Set sidebar icon heights via theme
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-07 12:45:48 -06:00
e2b30ad031 Remove underline from functions in dark theme
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-07 19:47:02 +02:00
1f0bda71f6 Remove underlines from tab titles
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-09-07 18:40:42 +02:00
Antonio Scandurra 09bb42c168 Show "sign in" prompt when opening the chat panel while signed out 2021-09-07 12:27:43 +02:00
Max BrunsfeldandNathan Sobo 9346aa300d Start work on underlined text
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-06 15:36:09 -07:00
Antonio Scandurra 00f6bdcb24 Bundle and use Inconsolata v2.012
There's a newer version of the font available but ligatures seem
broken googlefonts/Inconsolata#58 and googlefonts/Inconsolata#52.

As part of this commit I also upgraded rust-embed to use the new
exclusion feature, which allows us to skip embedding OS files like
`.DS_Store`.
2021-09-04 17:02:20 +02:00
Antonio Scandurra ec36d818c0 Round corners in the chat panel's input editor 2021-09-03 09:49:47 +02:00
Max Brunsfeld 522bef2e3a Add placeholder text as a feature of Editor, use it in chat panel 2021-09-02 17:36:56 -07:00
Max BrunsfeldandAntonio Scandurra 1c43121ae0 In theme, add an InputEditorSyle for styling small editors
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2021-09-02 11:20:30 -07:00
Max BrunsfeldandNathan Sobo 6821c47e3d Improve styling of chat messages and channel select
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-01 16:14:51 -07:00
Max BrunsfeldandNathan Sobo 73a8fda9c7 Get the channel select looking good
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-30 17:59:13 -07:00
Max Brunsfeld fbc88d5f88 Get the light theme loading again 2021-08-27 15:11:39 -07:00
Antonio Scandurra 30ce7f6122 Allow styling sidebar's resize handle 2021-08-27 14:57:47 +02:00
Max Brunsfeld 38d0258049 Add channel name header to chat panel 2021-08-26 17:12:56 -07:00
3bb5610ad1 Overhaul handling of font families
* Specify font families in the theme.
* Load fonts eagerly when loading themes, instead of loading
  them lazily when rendering.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-26 15:06:00 -07:00
Nathan SoboandAntonio Scandurra ee9ee294ad Improve sender styling
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2021-08-26 09:17:43 -06:00
Max Brunsfeld b923f65a63 WIP 2021-08-25 15:22:14 -07:00
Antonio ScandurraandNathan Sobo 3d5cfb78ea Use Text in chat panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-25 16:42:35 +02:00
Nathan SoboandMax Brunsfeld a79b32cfc2 Apply theme to chat messages
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-08-24 17:46:41 -06:00
Nathan SoboandMax Brunsfeld 87a103bc52 💄
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-08-24 17:46:41 -06:00
Nathan SoboandMax Brunsfeld 621203eb60 Group more elements under workspace theme struct
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-08-24 17:38:26 -06:00
Max Brunsfeld f4847bd38f Get light theme loading successfully 2021-08-23 15:09:18 -07:00
Max BrunsfeldandNathan Sobo b88b3e7657 Add sidebars
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-08-20 13:51:52 -07:00