@fresh-editor/fresh-editor 0.2.20 → 0.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -1
- package/package.json +1 -1
- package/plugins/audit_mode.i18n.json +57 -15
- package/plugins/audit_mode.ts +907 -628
- package/plugins/config-schema.json +38 -53
- package/plugins/git_explorer.ts +6 -0
- package/plugins/lib/fresh.d.ts +42 -0
- package/plugins/lib/virtual-buffer-factory.ts +8 -0
- package/plugins/schemas/package.schema.json +8 -0
- package/plugins/theme_editor.i18n.json +98 -14
- package/plugins/theme_editor.ts +137 -122
- package/plugins/vi_mode.ts +189 -51
- package/themes/dark.json +5 -3
- package/themes/dracula.json +7 -2
- package/themes/high-contrast.json +68 -66
- package/themes/light.json +25 -20
- package/themes/nord.json +14 -9
- package/themes/nostalgia.json +1 -1
- package/themes/solarized-dark.json +16 -11
package/themes/light.json
CHANGED
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
"fg": [0, 0, 0],
|
|
6
6
|
"cursor": [0, 0, 0],
|
|
7
7
|
"inactive_cursor": [180, 180, 180],
|
|
8
|
-
"selection_bg": [
|
|
8
|
+
"selection_bg": [225, 232, 242],
|
|
9
9
|
"current_line_bg": [245, 245, 245],
|
|
10
|
-
"line_number_fg": [
|
|
10
|
+
"line_number_fg": [115, 115, 115],
|
|
11
11
|
"line_number_bg": [255, 255, 255],
|
|
12
12
|
"diff_add_bg": [200, 255, 200],
|
|
13
13
|
"diff_remove_bg": [255, 200, 200],
|
|
14
|
+
"diff_add_highlight_bg": [150, 235, 150],
|
|
15
|
+
"diff_remove_highlight_bg": [235, 150, 150],
|
|
14
16
|
"diff_modify_bg": [255, 252, 240],
|
|
15
17
|
"whitespace_indicator_fg": [200, 200, 200]
|
|
16
18
|
},
|
|
@@ -36,24 +38,25 @@
|
|
|
36
38
|
"menu_hover_fg": [0, 0, 0],
|
|
37
39
|
"menu_disabled_fg": [160, 160, 160],
|
|
38
40
|
"menu_disabled_bg": [248, 248, 248],
|
|
39
|
-
"status_bar_fg":
|
|
41
|
+
"status_bar_fg": [0, 0, 0],
|
|
40
42
|
"status_bar_bg": [220, 220, 220],
|
|
41
|
-
"prompt_fg":
|
|
43
|
+
"prompt_fg": [0, 0, 0],
|
|
42
44
|
"prompt_bg": [230, 240, 250],
|
|
43
|
-
"prompt_selection_fg":
|
|
45
|
+
"prompt_selection_fg": [0, 0, 0],
|
|
44
46
|
"prompt_selection_bg": [173, 214, 255],
|
|
45
47
|
"popup_border_fg": [140, 140, 140],
|
|
46
48
|
"popup_bg": [232, 238, 245],
|
|
47
49
|
"popup_selection_bg": [209, 226, 243],
|
|
48
50
|
"popup_text_fg": [30, 30, 30],
|
|
49
51
|
"suggestion_bg": [232, 238, 245],
|
|
52
|
+
"popup_selection_fg": [0, 0, 0],
|
|
50
53
|
"suggestion_selected_bg": [209, 226, 243],
|
|
51
|
-
"help_bg":
|
|
52
|
-
"help_fg":
|
|
53
|
-
"help_key_fg":
|
|
54
|
-
"help_separator_fg":
|
|
55
|
-
"help_indicator_fg":
|
|
56
|
-
"help_indicator_bg":
|
|
54
|
+
"help_bg": [255, 255, 255],
|
|
55
|
+
"help_fg": [0, 0, 0],
|
|
56
|
+
"help_key_fg": [0, 0, 180],
|
|
57
|
+
"help_separator_fg": [170, 170, 170],
|
|
58
|
+
"help_indicator_fg": [200, 30, 30],
|
|
59
|
+
"help_indicator_bg": [255, 255, 255],
|
|
57
60
|
"inline_code_bg": [230, 230, 235],
|
|
58
61
|
"split_separator_fg": [140, 140, 140],
|
|
59
62
|
"split_separator_hover_fg": [70, 130, 180],
|
|
@@ -81,14 +84,14 @@
|
|
|
81
84
|
"match_fg": [0, 0, 0]
|
|
82
85
|
},
|
|
83
86
|
"diagnostic": {
|
|
84
|
-
"error_fg":
|
|
85
|
-
"error_bg": [255,
|
|
86
|
-
"warning_fg": [
|
|
87
|
-
"warning_bg": [255,
|
|
88
|
-
"info_fg":
|
|
89
|
-
"info_bg": [
|
|
90
|
-
"hint_fg":
|
|
91
|
-
"hint_bg": [
|
|
87
|
+
"error_fg": [180, 0, 0],
|
|
88
|
+
"error_bg": [255, 210, 210],
|
|
89
|
+
"warning_fg": [150, 110, 0],
|
|
90
|
+
"warning_bg": [255, 248, 170],
|
|
91
|
+
"info_fg": [0, 0, 180],
|
|
92
|
+
"info_bg": [210, 230, 255],
|
|
93
|
+
"hint_fg": [100, 100, 100],
|
|
94
|
+
"hint_bg": [235, 235, 240]
|
|
92
95
|
},
|
|
93
96
|
"syntax": {
|
|
94
97
|
"keyword": [175, 0, 219],
|
|
@@ -98,6 +101,8 @@
|
|
|
98
101
|
"type": [0, 128, 128],
|
|
99
102
|
"variable": [0, 16, 128],
|
|
100
103
|
"constant": [0, 112, 193],
|
|
101
|
-
"operator": [0, 0, 0]
|
|
104
|
+
"operator": [0, 0, 0],
|
|
105
|
+
"punctuation_bracket": [50, 50, 50],
|
|
106
|
+
"punctuation_delimiter": [50, 50, 50]
|
|
102
107
|
}
|
|
103
108
|
}
|
package/themes/nord.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"bg": [46, 52, 64],
|
|
5
5
|
"fg": [216, 222, 233],
|
|
6
6
|
"cursor": [136, 192, 208],
|
|
7
|
-
"selection_bg": [
|
|
7
|
+
"selection_bg": [80, 92, 116],
|
|
8
8
|
"current_line_bg": [59, 66, 82],
|
|
9
|
-
"line_number_fg": [
|
|
9
|
+
"line_number_fg": [107, 118, 140],
|
|
10
10
|
"line_number_bg": [46, 52, 64],
|
|
11
|
-
"whitespace_indicator_fg": [
|
|
11
|
+
"whitespace_indicator_fg": [90, 100, 120]
|
|
12
12
|
},
|
|
13
13
|
"ui": {
|
|
14
14
|
"tab_active_fg": [236, 239, 244],
|
|
@@ -22,19 +22,22 @@
|
|
|
22
22
|
"prompt_bg": [163, 190, 140],
|
|
23
23
|
"prompt_selection_fg": [236, 239, 244],
|
|
24
24
|
"prompt_selection_bg": [94, 129, 172],
|
|
25
|
-
"popup_border_fg": [
|
|
25
|
+
"popup_border_fg": [107, 118, 140],
|
|
26
26
|
"popup_bg": [59, 66, 82],
|
|
27
27
|
"popup_selection_bg": [94, 129, 172],
|
|
28
|
+
"popup_selection_fg": [236, 239, 244],
|
|
28
29
|
"popup_text_fg": [216, 222, 233],
|
|
29
30
|
"suggestion_bg": [59, 66, 82],
|
|
30
31
|
"suggestion_selected_bg": [94, 129, 172],
|
|
31
32
|
"help_bg": [46, 52, 64],
|
|
32
33
|
"help_fg": [216, 222, 233],
|
|
33
34
|
"help_key_fg": [136, 192, 208],
|
|
34
|
-
"help_separator_fg": [
|
|
35
|
+
"help_separator_fg": [107, 118, 140],
|
|
35
36
|
"help_indicator_fg": [191, 97, 106],
|
|
36
37
|
"help_indicator_bg": [46, 52, 64],
|
|
37
|
-
"split_separator_fg": [
|
|
38
|
+
"split_separator_fg": [107, 118, 140],
|
|
39
|
+
"settings_selected_bg": [94, 129, 172],
|
|
40
|
+
"settings_selected_fg": [236, 239, 244]
|
|
38
41
|
},
|
|
39
42
|
"search": {
|
|
40
43
|
"match_bg": [235, 203, 139],
|
|
@@ -47,17 +50,19 @@
|
|
|
47
50
|
"warning_bg": [59, 56, 46],
|
|
48
51
|
"info_fg": [129, 161, 193],
|
|
49
52
|
"info_bg": [46, 52, 64],
|
|
50
|
-
"hint_fg": [
|
|
53
|
+
"hint_fg": [107, 118, 140],
|
|
51
54
|
"hint_bg": [46, 52, 64]
|
|
52
55
|
},
|
|
53
56
|
"syntax": {
|
|
54
57
|
"keyword": [129, 161, 193],
|
|
55
58
|
"string": [163, 190, 140],
|
|
56
|
-
"comment": [
|
|
59
|
+
"comment": [107, 118, 140],
|
|
57
60
|
"function": [136, 192, 208],
|
|
58
61
|
"type": [143, 188, 187],
|
|
59
62
|
"variable": [216, 222, 233],
|
|
60
63
|
"constant": [180, 142, 173],
|
|
61
|
-
"operator": [129, 161, 193]
|
|
64
|
+
"operator": [129, 161, 193],
|
|
65
|
+
"punctuation_bracket": [180, 188, 200],
|
|
66
|
+
"punctuation_delimiter": [180, 188, 200]
|
|
62
67
|
}
|
|
63
68
|
}
|
package/themes/nostalgia.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"bg": [0, 43, 54],
|
|
5
5
|
"fg": [131, 148, 150],
|
|
6
6
|
"cursor": [38, 139, 210],
|
|
7
|
-
"selection_bg": [
|
|
7
|
+
"selection_bg": [22, 72, 86],
|
|
8
8
|
"current_line_bg": [7, 54, 66],
|
|
9
|
-
"line_number_fg": [
|
|
9
|
+
"line_number_fg": [101, 123, 131],
|
|
10
10
|
"line_number_bg": [0, 43, 54],
|
|
11
|
-
"whitespace_indicator_fg": [
|
|
11
|
+
"whitespace_indicator_fg": [40, 80, 95]
|
|
12
12
|
},
|
|
13
13
|
"ui": {
|
|
14
14
|
"tab_active_fg": [253, 246, 227],
|
|
@@ -22,19 +22,22 @@
|
|
|
22
22
|
"prompt_bg": [181, 137, 0],
|
|
23
23
|
"prompt_selection_fg": [253, 246, 227],
|
|
24
24
|
"prompt_selection_bg": [38, 139, 210],
|
|
25
|
-
"popup_border_fg": [
|
|
25
|
+
"popup_border_fg": [101, 123, 131],
|
|
26
26
|
"popup_bg": [7, 54, 66],
|
|
27
27
|
"popup_selection_bg": [38, 139, 210],
|
|
28
|
-
"
|
|
28
|
+
"popup_selection_fg": [253, 246, 227],
|
|
29
|
+
"popup_text_fg": [147, 161, 161],
|
|
29
30
|
"suggestion_bg": [7, 54, 66],
|
|
30
31
|
"suggestion_selected_bg": [38, 139, 210],
|
|
31
32
|
"help_bg": [0, 43, 54],
|
|
32
|
-
"help_fg": [
|
|
33
|
+
"help_fg": [147, 161, 161],
|
|
33
34
|
"help_key_fg": [42, 161, 152],
|
|
34
|
-
"help_separator_fg": [
|
|
35
|
+
"help_separator_fg": [101, 123, 131],
|
|
35
36
|
"help_indicator_fg": [220, 50, 47],
|
|
36
37
|
"help_indicator_bg": [0, 43, 54],
|
|
37
|
-
"split_separator_fg": [
|
|
38
|
+
"split_separator_fg": [101, 123, 131],
|
|
39
|
+
"settings_selected_bg": [38, 139, 210],
|
|
40
|
+
"settings_selected_fg": [253, 246, 227]
|
|
38
41
|
},
|
|
39
42
|
"search": {
|
|
40
43
|
"match_bg": [181, 137, 0],
|
|
@@ -47,17 +50,19 @@
|
|
|
47
50
|
"warning_bg": [30, 54, 54],
|
|
48
51
|
"info_fg": [38, 139, 210],
|
|
49
52
|
"info_bg": [0, 50, 66],
|
|
50
|
-
"hint_fg": [
|
|
53
|
+
"hint_fg": [101, 123, 131],
|
|
51
54
|
"hint_bg": [0, 43, 54]
|
|
52
55
|
},
|
|
53
56
|
"syntax": {
|
|
54
57
|
"keyword": [133, 153, 0],
|
|
55
58
|
"string": [42, 161, 152],
|
|
56
|
-
"comment": [
|
|
59
|
+
"comment": [101, 123, 131],
|
|
57
60
|
"function": [38, 139, 210],
|
|
58
61
|
"type": [181, 137, 0],
|
|
59
62
|
"variable": [131, 148, 150],
|
|
60
63
|
"constant": [203, 75, 22],
|
|
61
|
-
"operator": [131, 148, 150]
|
|
64
|
+
"operator": [131, 148, 150],
|
|
65
|
+
"punctuation_bracket": [147, 161, 161],
|
|
66
|
+
"punctuation_delimiter": [147, 161, 161]
|
|
62
67
|
}
|
|
63
68
|
}
|