Antonio Scandurra
c4aef05877
Add colors for document highlights
2023-11-07 13:15:08 +01:00
Antonio Scandurra
ccdb5b2857
Merge remote-tracking branch 'origin/main' into editor2-paint
2023-11-07 13:09:48 +01:00
Antonio Scandurra
103ec87630
Remove focused field and use FocusHandle instead in Editor
2023-11-07 12:46:31 +01:00
Antonio Scandurra
0dbb8f8b4d
Paint lines
2023-11-07 12:25:33 +01:00
Nate Butler
4e52e68a43
Finish up initial themes
2023-11-06 15:24:36 -05:00
Nate Butler
d4745027be
Format themes
2023-11-06 14:58:34 -05:00
Nate Butler
6c0f5f9965
Add additional themes, update theme importer
2023-11-06 14:54:21 -05:00
Nate Butler
9427239b0d
Add Noctis Theme
2023-11-06 12:43:10 -05:00
Marshall Bowers
31cfb83723
Merge branch 'main' into import-theme
2023-11-06 12:08:46 -05:00
c905d4f66d
Rename fields in ThemeColors ( #3242 )
...
This PR applies a number of field renames in the `ThemeColors` struct
from the `import-theme` branch.
This will help prevent this branch from diverging too far from `main`.
Release Notes:
- N/A
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com >
Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-06 11:53:27 -05:00
Antonio Scandurra
53e7fcfd1f
Paint editor background
2023-11-06 15:54:09 +01:00
Nate Butler
09fd938c2c
Add checkboxes and their stories
2023-11-05 01:06:41 -05:00
Max Brunsfeld
7b7ba5236d
WIP2000
2023-11-03 16:40:37 -07:00
Marshall Bowers
f81e3f4dab
Allow deriving Serialize and Deserialize on generated refinement ( #3227 )
...
This PR adds support for deriving `Serialize` and `Deserialize` on the
refinement type generated by `#[derive(Refineable)]`.
Release Notes:
- N/A
2023-11-03 17:21:00 -04:00
Marshall Bowers
f9701564ce
Merge branch 'main' into import-theme
2023-11-03 15:41:12 -04:00
Marshall Bowers
9e7f83068a
Remove Default impl for ThemeColors` ( #3226 )
...
This PR removes the `Default` impl for `ThemeColors`.
Since we need default light and dark variants for `ThemeColors`, we
can't use a single `Default` impl.
Release Notes:
- N/A
2023-11-03 15:40:50 -04:00
Antonio Scandurra
18f34e4eed
WIP
2023-11-03 18:55:20 +01:00
Marshall Bowers
ca64641b26
Merge branch 'main' into import-theme
2023-11-03 10:11:35 -04:00
Conrad Irwin
f9cee6b4cf
Convert rich_text2
2023-11-02 19:30:33 -06:00
Nate Butler
7d5e80d90a
Merge branch 'main' into import-theme
2023-11-02 20:16:09 -04:00
Nate Butler
0685483f99
Add terminal colors to ThemeColors, add _background to some color names.
2023-11-02 19:53:52 -04:00
Marshall Bowers
270c15ae97
Add themes2/src/themes directory
2023-11-02 19:17:39 -04:00
Marshall Bowers
ce9a070d73
Finish up theme printer
2023-11-02 19:14:51 -04:00
Marshall Bowers
5d2e8aa6fb
Parse VSCode theme files
2023-11-02 18:00:55 -04:00
Nate Butler and Marshall Bowers
538664e784
Scaffold out new theme-importer crate
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-02 17:21:11 -04:00
Nate Butler
c9c18d1f29
Deserialize theme metadata
2023-11-02 16:31:22 -04:00
Nate Butler
3ecb46ad01
[Broken] Load a src theme in test
2023-11-02 16:26:27 -04:00
Nate Butler
24fb5d36ac
WIP
2023-11-02 14:54:53 -04:00
Nate Butler
dd57f15f4c
WIP
2023-11-02 14:23:43 -04:00
Mikayla
d8b8390702
Remove the 2s from source code
2023-11-02 10:55:02 -07:00
Marshall Bowers
06597e894d
Remove unneeded .intos
2023-11-01 22:01:59 -04:00
Marshall Bowers
f8bea1d0dc
Update scale accessors
2023-11-01 22:00:16 -04:00
Marshall Bowers
a1a7797439
Merge branch 'main' into n/t2
2023-11-01 21:54:10 -04:00
Marshall Bowers
88ab95a68a
Make indexing into ColorScales safe ( #3205 )
...
This PR makes indexing into `ColorScale`s safe by constraining the
`ColorScaleStep`s to a set of known values.
Release Notes:
- N/A
2023-11-01 21:52:42 -04:00
Marshall Bowers
af09948a2c
Fix underflow when indexing into ColorScales
2023-11-01 21:15:06 -04:00
Marshall Bowers
c9b94196cd
Merge branch 'main' into n/t2
2023-11-01 21:11:26 -04:00
Marshall Bowers
faecc27eb5
Adjust ColorScale representation ( #3204 )
...
This PR adjusts the representations of `ColorScale`s to allow us to
remove an unsafe `From` impl when converting from the statically-defined
representation of the scale.
Release Notes:
- N/A
2023-11-01 21:10:50 -04:00
Nate Butler
76e0bdc7f0
Merge branch 'main' into n/t2
2023-11-01 16:52:43 -04:00
Nate Butler
b52624eb51
WIP
2023-11-01 16:19:49 -04:00
Marshall Bowers
3a6d95b185
Add ui_font_size setting ( #3199 )
...
This PR adds a new `ui_font_size` setting that can be used to control
the scale of the entire UI.
We use the value in this setting to set the base rem size of the window.
Release Notes:
- N/A
2023-11-01 13:11:12 -04:00
Marshall Bowers
304a0278b9
Merge branch 'n/t2' of github.com:zed-industries/zed into n/t2
2023-11-01 10:52:29 -04:00
Marshall Bowers
ecd3d7d02d
Remove unused impl
2023-11-01 10:52:25 -04:00
Nate Butler
a54450cd69
Continue refining default syntax theme
2023-11-01 10:50:00 -04:00
Marshall Bowers
1c407cf235
Fix return type
2023-11-01 10:48:23 -04:00
Marshall Bowers
55f084975e
Merge branch 'main' into n/t2
2023-11-01 10:46:27 -04:00
Marshall Bowers
a015c469bb
Return ColorScaleSets from individual color scale functions ( #3197 )
...
This PR adjusts the individual color scale functions to return
`ColorScaleSet`s instead of `DefaultColorScaleSet`s.
We only use the `DefaultColorScaleSet`s to simplify the construction of
the scales, so it isn't necessary to surface them outside of the
function.
Release Notes:
- N/A
2023-11-01 10:45:42 -04:00
Marshall Bowers
62c634f646
Remove blanket From<&str> impl for Hsla
...
Since this is a fallible operation we don't want to have a blanket
infallible conversion from any arbitrary `&str` to an `Hsla`.
2023-11-01 10:31:03 -04:00
Nate Butler
048f0bc2b4
Continue refining theme, update tabs & tab bar
2023-11-01 01:41:33 -04:00
Nate Butler
a8519a8cc4
Refine default colors
2023-11-01 00:51:57 -04:00
Marshall Bowers
c1fd535c70
Use Refineable for ThemeStyles ( #3196 )
...
This PR updates the `ThemeStyles` struct to use the `Refineable` trait
instead of a custom declarative macro for generating refinements.
Release Notes:
- N/A
2023-10-31 23:33:51 -04:00