Commit Graph
443 Commits
Author SHA1 Message Date
Nate Butler d910eed1f1 Format 2023-02-26 10:31:19 -05:00
Nate Butler 64b07dbfeb Add syntax overrides for One Light 2023-02-26 10:09:16 -05:00
Nate Butler 4f307c7601 Use syntax as merged name instead of mergedSyntax
This lets us retain the existing uses of syntax, and fixes colors that were being assigned incorrectly.
2023-02-26 01:20:44 -05:00
Nate Butler 23c967418a Add a syntax override style for One Dark 2023-02-26 01:07:45 -05:00
Nate Butler 77ed437cda Add the ability to override the system syntax config 2023-02-26 01:07:21 -05:00
Nate Butler 68af726ee4 Update packages
Tested post update.
2023-02-25 11:53:01 -05:00
Nate Butler 0ea7959ba4 Remove unused/old base16 theme code
Neither of these files have anything in them that is used anywhere else in the styles app.

Tested both `build` and `build-licenses` after removing these.
2023-02-25 11:50:22 -05:00
Nate Butler bcb7b80517 Don't format package or package-lock 2023-02-25 11:47:27 -05:00
Nate Butler 10a30cf330 Format styles with updated prettier config
In the system color PR I updated the prettier config to match what we use on zed.dev. I didn't want to format all of styles as it would add a lot of unrelated line changes to that PR.

Doing that format now.
2023-02-25 11:46:33 -05:00
Nate Butler 06a86162bb Merge pull request #2150 from zed-industries/nate/system-colors
Add system color palette
2023-02-25 11:43:02 -05:00
Nate Butler b986c38a31 Format using new prettier config 2023-02-25 11:33:57 -05:00
Nate Butler 69fd273367 Add the same prettier config as zed.dev 2023-02-25 11:33:16 -05:00
Nate Butler 8e828947fb Add missing dep 2023-02-25 11:32:04 -05:00
Nate Butler 2d8adf4c56 Remove theme tool for now
This is likely the biggest thing I'm unsure about for this PR, so I'm going to pull it into a seperate branch so I can merge the system color library in.

I think a better approach for this will be one of two things:
- Have a single next app that covers everything to do with themes (previewing ramps, generated themes, components etc.)
- Create a mono or turborepo that splits things up into packages (system, theme, themes, theme-tool, etc)
2023-02-25 11:27:18 -05:00
Julia e1df85e86d Add same grayscale logic to followers which leaders have 2023-02-23 15:59:37 -05:00
Antonio Scandurra 832549f1a3 Merge branch 'main' into call-ui-follow-up 2023-02-23 15:15:46 +01:00
Petros Amoiridis 9a729a2e64 Merge pull request #2202 from zed-industries/petros/z-86-replace-terminal-tab-title-with-an-icon
Replace terminal tab title with an icon
2023-02-23 11:04:43 +02:00
Max Brunsfeld bf5c3d963a Rearrange collab titlebar items to avoid movement of the toggle contacts button
* Replace username in titelbar with a `...` user menu that shows
  the current user name and contains a sign-in/sign-out button.
* Move the '+' (toggle contacts) button back to the right side.
* Move the collaborators back to the right side.
* Move the share/unshare button to the left side, beside the project title
* Only show the share/unshare button when in a call.
2023-02-22 22:56:11 -08:00
JuliaandMax Brunsfeld a07867d628 Fiddle with titlebar item spacing
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-22 14:13:29 -05:00
JuliaandMax Brunsfeld dbe5b0205c Add style leader selection container
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-22 13:36:06 -05:00
Petros AmoiridisandJulia 81ece4fd44 Deduplicate tab theme related code
We've noticed that the search theme struct had two fields for a tab icon width and spacing. But we already have those in the tab theme struct. We decided to remove the duplicate and reuse the tab fields.

We also wanted to move where the spacing is being used. Instead of doing it at the left of the label, we do it at the right of the icon to match how it is done in other areas of the UI.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-02-22 20:28:57 +02:00
Petros AmoiridisandJulia 2ec5c88f98 Make icon width match other areas
This was 8 but we've seen areas where this was 14, like the project search tab icon. We want to match this.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-02-22 20:25:39 +02:00
JuliaandMax Brunsfeld 9b92a8e3fe Add mockup accurate avatar background
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-22 11:34:55 -05:00
JuliaandMax Brunsfeld 7f4da80386 Initial dedicated face pile element
Rather than overload Flex with yet another special case, add a dedicated
element to handle this overlap instead

Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-22 11:34:55 -05:00
Max Brunsfeld b7cf426908 Start work on styling of follower avatars in facepiles
* Make follower avatars smaller than top-level avatars
* Make avatars in facepiles overlap
* Render an opaque background behind avatars in facepiles.
2023-02-22 11:34:55 -05:00
JuliaandMax Brunsfeld c75aca25b6 Remove left side collaborator list
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-22 11:34:55 -05:00
JuliaandNathan Sobo 1ed47663ef Avoid moving contacts popover during call start & add button style state
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-02-22 11:34:55 -05:00
Julia bf8658067f Add collaborator count to collaborator list button 2023-02-22 11:21:23 -05:00
Julia c697c1a96a Switch collaborator list to using own style 2023-02-22 11:21:23 -05:00
Nate Butler 5ce147a2ad Remove unneeded API from theme-tool 2023-02-12 21:04:54 -05:00
Nate Butler a32c0d1c9b Update colors. 2023-02-12 21:04:31 -05:00
Nate Butler e65c0810ba Add gray color families 2023-02-12 20:02:51 -05:00
Nate Butler 1fcfa5d272 Generate color meta, document functions and tidy. 2023-02-12 19:45:16 -05:00
Nate Butler addfcdc1f4 Remove bezier-easing from styles
This was installed in the wrong app
2023-02-12 11:59:36 -05:00
Nate Butler 4501a5a7ee Add initial system palette reference colors 2023-02-12 00:15:41 -05:00
Nate Butler a120996f0d Test using HSL + curves to build a scale 2023-02-11 23:34:46 -05:00
Nate Butler 187fac1579 Allow passing a chroma color as a start/mid/end color 2023-02-11 21:10:47 -05:00
Nate Butler 0acb820f04 Document ref/color further 2023-02-11 08:14:13 -05:00
Nate Butler dda0febf39 Organize 2023-02-11 07:56:41 -05:00
Nate Butler 0e238210bb Update chip style 2023-02-10 22:06:03 -05:00
Mikayla Maki 436ab6e454 Fix other atelier license 2023-02-10 11:58:25 -08:00
Mikayla Maki 889b15683d Update the atelier cave license file 2023-02-10 11:52:31 -08:00
Nate Butler 76685406ed Add remaining colors 2023-02-09 23:26:44 -05:00
Nate Butler 70eedbb48e Group light and dark scales 2023-02-09 13:41:37 -05:00
Nate Butler 42b5fa1fa3 WIP: Use algorithm to generate reference color palette
Adapted from @k-vyn/coloralgorithm
Generate colors for our reference palette.
2023-02-09 12:37:05 -05:00
Nate Butler f787f6054b List colors for reference palette in theme tool 2023-02-09 00:39:57 -05:00
Nate Butler 6f342bb2c6 Remove leftovers from create-next-app 2023-02-09 00:10:32 -05:00
Nate Butler 0ba44c6dc4 Start on system colors 2023-02-09 00:09:52 -05:00
Nate Butler 2ff82732b9 Init theme tool 2023-02-09 00:09:44 -05:00
Nate Butler cbfdfa8124 Remove comment 2023-02-08 22:52:27 -05:00