Commit Graph
52 Commits
Author SHA1 Message Date
Nathan SoboandAntonio Scandurra 92f040df00 Apply cursor styles during paint
This makes the editor's cursor an IBeam and properly deals with nested cursor styles.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-04-22 10:54:18 -06:00
Antonio Scandurra fb87bacc7e Merge branch 'main' into auto-update 2022-04-21 09:53:06 +02:00
Nate Butler 7bc6f8b5ee Build tokens for Figma 2022-04-20 15:30:33 -04:00
Nate Butler ea11f2e183 Increase min-width for all Pickers, minor style changes
- Increases the Picker min-width from 500 to 540
- Makes some changes to the styling of keyboard shortcuts in the command palette
2022-04-20 11:54:57 -04:00
Nate Butler 484204c2a0 Reduce key icon size to avoid extra padding on command palette item
- Also remove unneeded imports
2022-04-19 02:48:35 -04:00
Nate Butler 408f8d4297 Update inputs, tabs, pickers, autocomplete 2022-04-19 02:34:45 -04:00
Max Brunsfeld 0af129d50a Use primary text color for keystrokes in command palette 2022-04-18 18:14:45 -07:00
Max Brunsfeld bde52d5c93 Add basic styling to keystrokes in command palette 2022-04-18 17:11:37 -07:00
Nate Butler ec704cae25 update feature color in dark theme 2022-04-17 22:37:08 -04:00
Nate Butlerandgibusu 726045e78e Update theme feature colors
- border focus color
- Text feature color
- Match & active match highlight color

Matches should be more legible now in both themes. `activeMatch` is still not hooked up on the rust side, so it won't take any effect yet.

Co-Authored-By: gibusu <95764254+gibusu@users.noreply.github.com>
2022-04-12 12:44:38 -04:00
Nate Butlerandgibusu 409b818717 Fix incorrect path in theme build script
`buildThemes.ts` had an incorrect path for generating the theme json files.

It probably happened when we did some reorganization of the styles directory.

Co-Authored-By: gibusu <95764254+gibusu@users.noreply.github.com>
2022-04-12 12:37:38 -04:00
Max BrunsfeldandKeith Simmons c065f283aa Move assets to their own crate, load keymaps in vim tests
Also, move assets folder to the top-level.

Co-authored-by: Keith Simmons <keith@zed.dev>
2022-04-11 15:54:52 -07:00
Keith Simmons 36f4d8f9e4 Fix typescript indent size 2022-04-06 10:35:29 -07:00
Nate Butler b1eda1ac39 Add border to top of status bar 2022-04-06 12:25:15 -04:00
Nate Butler e584e892f4 Update light theme 2022-04-06 12:25:02 -04:00
Nate Butler d3cfd1c974 Use standard text sizes for signInPrompt 2022-04-06 12:14:05 -04:00
Nathan Sobo c289cdcac8 💄 2022-04-06 09:28:56 -06:00
Nathan Sobo 36fede7522 💄 token-building script and output destinations
Just some organization here.
2022-04-06 09:26:51 -06:00
Nate Butler e201826d00 Update Light & Dark themes 2022-04-06 01:46:10 -04:00
Nate Butler 2a2c4071f4 Update light syntax theme and highlights, player selections 2022-04-05 18:49:17 -04:00
Nate Butler 35f56708f5 Update light theme, change player 3 color
- Changed player 3 color to be less similar to player 1
2022-04-05 18:23:01 -04:00
Nate Butler d21dea6112 Squashed commit of the following:
commit 66d4cbae2ca6d7dd660688d7eb702ae55bf3e0ca
Author: Nate Butler <iamnbutler@gmail.com>
Date:   Tue Apr 5 13:33:33 2022 -0400

    WIP: Improve legibility of contactsPanel and fix errors

    Co-Authored-By: Keith Simmons <keith@the-simmons.net>

commit 000319c583801c5ba4ed7884bbf3da2a591e3f26
Author: Nate Butler <iamnbutler@gmail.com>
Date:   Tue Apr 5 13:13:32 2022 -0400

    WIP
2022-04-05 13:34:06 -04:00
Keith SimmonsandNate Butler 05a05157fa Move style source files to src and build to dist
Co-authored-by: Nate Butler <nate@zed.dev>
2022-04-04 14:43:13 -07:00
Nate Butler b6f85e4895 Update dark, light themes. 2022-04-03 21:15:14 -04:00
Nate Butler 2d51b103d2 Add a combined tokens.json for Figma Tokens
- Having individual json files for themes and core is useful for copy+pasting while exploring changes
- Figma github sync requires a single json file to pull down
2022-04-03 15:03:38 -04:00
Nate Butler d029a5c376 Fix incorrect ramp preset values in color.ts
- Regenerate themes and tokens as well
2022-04-03 13:37:47 -04:00
Nate Butler 60295af00a Add basic support for exporting tokens to Figma Tokens. (#724)
* WIP on figma token export

* WIP Working export

* Tidy up the figma tokens script

* Correctly format theme json structure for Figma Tokens

* Finish up themeTokens imports
2022-04-03 13:30:59 -04:00
Nate Butler 433c095f51 Remove leftover console.log 2022-04-03 10:50:41 -04:00
Nate Butler 6a7c8a6995 Refined dark theme styles 2022-04-03 01:04:34 -04:00
Nate Butler 2af313c8e2 WIP 2022-04-02 01:05:28 -04:00
Nate Butler ffc271e100 WIP 2022-04-01 23:58:04 -04:00
Nate Butler f633e98081 Add "npm run watch" command to live reload changes 2022-04-01 22:39:18 -04:00
Nathan Sobo 93c0c2af0a Start loading new theme JSON format instead of TOML
Replaced remaining extends with javascript object extension.
Moved tokens/core.ts to tokens.ts and massaged the types to make it more
obvious when types don't match up.

Co-authored-by: Nathan Sobo <nathan@zed.dev>
2022-04-01 13:34:39 -07:00
Nathan SoboandNate Butler 9147a19522 Update style tree based on changes to _base.toml from main
Co-Authored-By: Nate Butler <1714999+iamnbutler@users.noreply.github.com>
2022-04-01 09:56:50 -06:00
Nathan SoboandNate Butler 6734a0e69d Write theme JSON files from buildThemes script
Co-Authored-By: Nate Butler <1714999+iamnbutler@users.noreply.github.com>
2022-04-01 09:45:11 -06:00
Nathan Sobo 99738db8a5 Fix TS compile error 2022-04-01 08:25:58 -06:00
Nate Butler cea3ac6217 Update renamed/moved imports 2022-03-31 23:43:01 -04:00
Nate Butler 1d42cbcf42 Type name 2022-03-31 23:42:45 -04:00
Keith SimmonsandNate Butler e990b46b9d Finish dark.ts initial port and restructure files to get ready for build script
Build script currently fails to type check. Not sure whats going on. Will fix in the morning.

Co-authored-by: Nate Butler <nate@zed.dev>
2022-03-31 20:31:18 -07:00
Keith Simmons ce8d5bc0db wip 2022-03-31 19:05:21 -07:00
Keith Simmons e3366c490e wip 2022-03-31 17:51:25 -07:00
Nate Butler b4087b115b WIP for keith 2022-03-31 20:32:47 -04:00
Nate Butler 0b690ac0b4 WIP: Scaffold tokens in dark.ts, no real values yet. 2022-03-31 19:10:44 -04:00
Nate Butler fb41ad325c Extract search from app
- Also update border to use borderColor( )
2022-03-31 11:27:02 -04:00
Nate Butler c6c6cc591a Update app.ts, editor.ts 2022-03-31 01:38:18 -04:00
Nathan Sobo b8118ee50e Convert chat panel 2022-03-30 18:45:34 -06:00
Nathan Sobo 4a728bb3d3 Convert project panel styles 2022-03-30 18:26:47 -06:00
Nathan Sobo 89eb34209f Convert editor styles to TypeScript 2022-03-30 17:59:35 -06:00
Nathan SoboandNate Butler 32b6c3d3d4 Express workspace in terms of new components
Co-Authored-By: Nate Butler <1714999+iamnbutler@users.noreply.github.com>
2022-03-29 16:28:19 -06:00
Nate Butler 39f46f64a6 WIP: Color WIP 2022-03-29 17:10:46 -04:00