Commit Graph
58 Commits
Author SHA1 Message Date
Keith Simmons c33e32bb32 Update solarized theme to match main 2022-04-22 15:04:45 -07:00
Keith Simmons dd54a5b076 fix solarized element backgrounds 2022-04-22 14:58:45 -07:00
Keith Simmons 3fd5282f5e Add some comments to the theme.ts explaining the logic behind them 2022-04-22 14:58:45 -07:00
Keith Simmons f0fd62ac36 add solarized dark and light syntax themes 2022-04-22 14:58:45 -07:00
Max Brunsfeld f9689d1708 Merge pull request #892 from zed-industries/syntax-theme-fixes
Syntax theme fixes
2022-04-22 13:24:31 -07:00
Max BrunsfeldandKeith Simmons 085ebeb1b7 Allow each theme to style all aspects of syntax highlighting
Previously, some syntax highlights were controlled in editor.ts,
and shared across all themes.

Co-authored-by: Keith Simmons <keith@zed.dev>
2022-04-22 12:43:01 -07:00
Nathan SoboandAntonio Scandurra 73c0d58830 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 372f2fc6a6 Merge branch 'main' into auto-update 2022-04-21 09:53:06 +02:00
Nate Butler e27bca9561 Build tokens for Figma 2022-04-20 15:30:33 -04:00
Nate Butler 83a45e5dd0 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 d1c14168fa 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 2898aa9d57 Update inputs, tabs, pickers, autocomplete 2022-04-19 02:34:45 -04:00
Max Brunsfeld c4b0b655e7 Use primary text color for keystrokes in command palette 2022-04-18 18:14:45 -07:00
Max Brunsfeld 44a0e8a019 Add basic styling to keystrokes in command palette 2022-04-18 17:11:37 -07:00
Nate Butler 2103d1bbf2 update feature color in dark theme 2022-04-17 22:37:08 -04:00
Nate Butlerandgibusu b93e8f3bfc 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 0515ec3e59 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 f75211df7d 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 1b9b38296a Fix typescript indent size 2022-04-06 10:35:29 -07:00
Nate Butler 458d827b54 Add border to top of status bar 2022-04-06 12:25:15 -04:00
Nate Butler a0c73d8df6 Update light theme 2022-04-06 12:25:02 -04:00
Nate Butler 0a0c4c3dee Use standard text sizes for signInPrompt 2022-04-06 12:14:05 -04:00
Nathan Sobo 0117144bbb 💄 2022-04-06 09:28:56 -06:00
Nathan Sobo 254a5cf815 💄 token-building script and output destinations
Just some organization here.
2022-04-06 09:26:51 -06:00
Nate Butler c8f93ccc77 Update Light & Dark themes 2022-04-06 01:46:10 -04:00
Nate Butler f6fc817847 Update light syntax theme and highlights, player selections 2022-04-05 18:49:17 -04:00
Nate Butler e2d032cefb 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 fdfa9c663c 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 ea707eac18 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 7ef7087fc9 Update dark, light themes. 2022-04-03 21:15:14 -04:00
Nate Butler 0c49d1f709 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 22551936f0 Fix incorrect ramp preset values in color.ts
- Regenerate themes and tokens as well
2022-04-03 13:37:47 -04:00
Nate Butler 07e6de6edd 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 884da402ef Remove leftover console.log 2022-04-03 10:50:41 -04:00
Nate Butler a1c4ed083f Refined dark theme styles 2022-04-03 01:04:34 -04:00
Nate Butler 0945aec77e WIP 2022-04-02 01:05:28 -04:00
Nate Butler 84ce2e49a4 WIP 2022-04-01 23:58:04 -04:00
Nate Butler eb0e82ff15 Add "npm run watch" command to live reload changes 2022-04-01 22:39:18 -04:00
Nathan Sobo 82fa87233d 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 1737d5f515 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 9f53f298aa 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 8d2b54d79b Fix TS compile error 2022-04-01 08:25:58 -06:00
Nate Butler cbd1e27e12 Update renamed/moved imports 2022-03-31 23:43:01 -04:00
Nate Butler 97917b8473 Type name 2022-03-31 23:42:45 -04:00
Keith SimmonsandNate Butler 6ebfdd8aa6 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 6ebeacc0c6 wip 2022-03-31 19:05:21 -07:00
Keith Simmons aa98902621 wip 2022-03-31 17:51:25 -07:00
Nate Butler a815864c8e WIP for keith 2022-03-31 20:32:47 -04:00
Nate Butler 9836d4d323 WIP: Scaffold tokens in dark.ts, no real values yet. 2022-03-31 19:10:44 -04:00
Nate Butler fa36e66a4c Extract search from app
- Also update border to use borderColor( )
2022-03-31 11:27:02 -04:00