Commit Graph
607 Commits
Author SHA1 Message Date
Antonio ScandurraandNathan Sobo edc7f30660 Add assistant icons to the toolbar
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-06-26 16:49:33 +02:00
Antonio Scandurra c38bf2de33 Sort conversations in descending chronological order 2023-06-23 10:05:21 +02:00
Antonio Scandurra 6f0efec146 Merge remote-tracking branch 'origin/main' into save-conversations 2023-06-23 09:09:42 +02:00
Piotr Osiewicz af252888c4 Merge branch 'main' into sergey/z-2308-create-a-proof-of-concept-of-exporting-a-type-from-rust-and 2023-06-22 17:58:56 +02:00
Nathan Sobo a49189a704 Add Zoom button to assistant panel 2023-06-21 19:50:22 -06:00
Nathan Sobo a75341db97 Move model and remaining tokens to assistant toolbar 2023-06-21 19:01:30 -06:00
Nate Butler 6ab0143469 Split Interactive into Interactive and Toggleable (#2628)
This is a part of the intensity driven theme rewrite. 

It introduces the `toggle` and `interactive` helper functions to build
Toggle<T> and Interactive<T> styles for interactive elements in the
theme.

This PR also removes the `theme_testbench` crate and related actions.

Huge thanks to @osiewicz and @mikayla-maki for pushing this forward 🙏🏽

Release Notes:

- Updated the style of many interactive elements.
2023-06-21 15:03:08 -04:00
Nate Butler 9d9bbfdabf Format 2023-06-21 13:58:54 -04:00
Nate Butler ed8bdd186e Update toggle active styles 2023-06-21 13:56:27 -04:00
Nate Butler 127f4aa506 Fix status bar buttons 2023-06-21 13:14:39 -04:00
Nate Butler a3e65528ba Update syntax colors 2023-06-21 12:21:01 -04:00
Nate Butler eeb155a951 Remove unused light variable 2023-06-21 12:20:47 -04:00
Nathan Sobo d78fbbc63e Add title to assistant panel and move + to right 2023-06-21 09:54:49 -06:00
Sergey Onufrienko 6e4439b4ca feat: move gen to styles and add scripts 2023-06-21 16:13:41 +02:00
Antonio Scandurra a011ced698 Allow loading a previously-saved conversation 2023-06-21 16:06:09 +02:00
Nathan Sobo 0932149c48 Fix filename 2023-06-20 20:21:43 -06:00
Nathan Sobo 3a61fd503f WIP: Trying to display the toolbar but tired. May be worth discarding this. 2023-06-20 20:11:37 -06:00
Mikayla Maki b1b4b563c2 Add zed typescript settings
Remove 2 space indent
2023-06-20 16:05:23 -07:00
Piotr Osiewicz 60b4054b0a Fix up toggles 2023-06-20 16:05:23 -07:00
Nate Butler ae53c3e623 WIP: Start updating style trees to new toggle() format. 2023-06-20 16:05:23 -07:00
Nate Butler 61535ed41f Update toggle, add tests 2023-06-20 16:05:23 -07:00
Nate Butler 040881df3f Update toggle 2023-06-20 16:05:23 -07:00
Nate Butler 5c034ab63c Format 2023-06-20 16:05:23 -07:00
Nate Butler 1f3feacb21 Add path aliases 2023-06-20 16:05:23 -07:00
Nate Butler 5369f2c25a Set up vitest and add tests for interactive 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 4bd89c4c8c further style adjustments; cargo-run works 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 63630949ba Fix up uses of interactive 2023-06-20 16:05:23 -07:00
Nate Butler 247f618d4f Update the interactive function 2023-06-20 16:05:23 -07:00
Nate Butler 16564707df Use TS-flavored doc comments 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 31c1177737 Adjust some of the styles to the new Toggleable format 2023-06-20 16:05:23 -07:00
Piotr Osiewicz 198a446b03 Implement Toggleable<T> and Interactive<T> properly 2023-06-20 16:05:23 -07:00
Piotr Osiewicz c47d1e9f51 Add toggle.ts and interactive.ts 2023-06-20 16:05:23 -07:00
Nate Butler ffd1190cca Update rose pine theme family 2023-06-16 23:02:32 -04:00
Max Brunsfeld 56b749788f Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
Nate Butler 85b049f250 Build tokens for each theme (#2590)
This PR adds the ability to export tokens for each theme. 

You can export tokens by:

1. `cd styles`
2. `npm run build-tokens`
3. Tokens will be output in the target folder (`styles/target`)

The tokens match the ColorScheme object. In the future we may also
export tokens for our styleTrees.

Release Notes:

- N/A (No public facing changes)

---
TODO:

- [x] Generate Token Studio theme index file
- [x] ColorScheme
    - [x] name:
    - [x] isLight
    - [x] lowest
    - [x] middle
    - [x] highest
    - [x] popoverShadow
    - [x] modalShadow
    - [x] players
    - [x] syntax
2023-06-08 16:40:46 -04:00
Nate Butler ddcbc774ab $tokens.json => $themes.json 2023-06-08 16:36:15 -04:00
Nate Butler e4cbc29f98 Update buildTokens to export $metadata.json and $themes.json 2023-06-08 16:19:28 -04:00
Nate Butler 3719c206c9 Only export color tokens for syntax 2023-06-08 15:14:59 -04:00
Nate Butler 91e1bb8fd4 WIP syntax tokens 2023-06-08 15:12:11 -04:00
Nate Butler 999b2365a8 Export additional tokens, standardize naming convention 2023-06-08 12:21:51 -04:00
Max Brunsfeld 908de23b72 Tweak LSP log menu styling 2023-06-08 08:58:57 -07:00
Max Brunsfeld afaff7f9a9 Merge branch 'main' into lsp-log-messages 2023-06-08 08:49:08 -07:00
Max Brunsfeld 817644eb20 Style new lsp log menu, add a test for it 2023-06-08 08:43:25 -07:00
Nate Butler e2f46d5448 Build layer tokens for each theme 2023-06-08 11:15:59 -04:00
Nate Butler 1e43fec1c5 Update buildLicenses to only include the theme url if there is one 2023-06-08 01:23:19 -04:00
Nate Butler e996a66596 Update TSCondif
Based on #2558. Also fixes errors resulting from the stricter options.
2023-06-08 01:15:57 -04:00
Nate Butler c8a9d73ea6 Add foundation for exporting tokens 2023-06-08 00:37:00 -04:00
Nate Butler 29de420b59 Organize misc files into theme, themes and styleTrees 2023-06-07 12:50:37 -04:00
Nate Butler 6269cec4f1 Minor updates 2023-06-07 12:40:49 -04:00
Sergii Onufriienko b1f009cdce Merge branch 'main' into sergey/z-1768-update-createcolorscheme-to-accept-a-theme-in-the 2023-06-07 16:12:13 +01:00