@@ -7,114 +7,50 @@ import { localize } from 'vs/nls';
7
7
import { registerColor } from 'vs/platform/theme/common/colorRegistry' ;
8
8
9
9
export const diff = registerColor (
10
- 'mergeEditor.diff' ,
11
- {
12
- dark : '#9bb95533' ,
13
- light : '#9bb95533' ,
14
- hcDark : '#9bb95533' ,
15
- hcLight : '#9bb95533' ,
16
- } ,
17
- localize (
18
- 'mergeEditor.diff' ,
19
- 'The foreground color for changes.'
20
- )
10
+ 'mergeEditor.change.background' ,
11
+ { dark : '#9bb95533' , light : '#9bb95533' , hcDark : '#9bb95533' , hcLight : '#9bb95533' , } ,
12
+ localize ( 'mergeEditor.change.background' , 'The background color for changes.' )
21
13
) ;
22
14
23
15
export const diffWord = registerColor (
24
- 'mergeEditor.diff.word' ,
25
- {
26
- dark : '#9bb9551e' ,
27
- light : '#9bb9551e' ,
28
- hcDark : '#9bb9551e' ,
29
- hcLight : '#9bb9551e' ,
30
- } ,
31
- localize (
32
- 'mergeEditor.diff.word' ,
33
- 'The foreground color for word changes.'
34
- )
16
+ 'mergeEditor.change.word.background' ,
17
+ { dark : '#9bb9551e' , light : '#9bb9551e' , hcDark : '#9bb9551e' , hcLight : '#9bb9551e' , } ,
18
+ localize ( 'mergeEditor.change.word.background' , 'The background color for word changes.' )
35
19
) ;
36
20
37
21
export const conflictBorderUnhandledUnfocused = registerColor (
38
- 'mergeEditor.conflictBorder.unhandledUnfocused' ,
39
- {
40
- dark : '#ffa6007a' ,
41
- light : '#ffa6007a' ,
42
- hcDark : '#ffa6007a' ,
43
- hcLight : '#ffa6007a' ,
44
- } ,
45
- localize (
46
- 'mergeEditor.conflictBorder.unhandledUnfocused' ,
47
- 'The border color of unhandled unfocused conflicts.'
48
- )
22
+ 'mergeEditor.conflict.unhandledUnfocused.border' ,
23
+ { dark : '#ffa6007a' , light : '#ffa6007a' , hcDark : '#ffa6007a' , hcLight : '#ffa6007a' , } ,
24
+ localize ( 'mergeEditor.conflict.unhandledUnfocused.border' , 'The border color of unhandled unfocused conflicts.' )
49
25
) ;
50
26
51
27
export const conflictBorderUnhandledFocused = registerColor (
52
- 'mergeEditor.conflictBorder.unhandledFocused' ,
53
- {
54
- dark : '#ffa600' ,
55
- light : '#ffa600' ,
56
- hcDark : '#ffa600' ,
57
- hcLight : '#ffa600' ,
58
- } ,
59
- localize (
60
- 'mergeEditor.conflictBorder.unhandledFocused' ,
61
- 'The border color of unhandled focused conflicts.'
62
- )
28
+ 'mergeEditor.conflict.unhandledFocused.border' ,
29
+ { dark : '#ffa600' , light : '#ffa600' , hcDark : '#ffa600' , hcLight : '#ffa600' , } ,
30
+ localize ( 'mergeEditor.conflict.unhandledFocused.border' , 'The border color of unhandled focused conflicts.' )
63
31
) ;
64
32
65
33
export const conflictBorderHandledUnfocused = registerColor (
66
- 'mergeEditor.conflictBorder.handledUnfocused' ,
67
- {
68
- dark : '#86868649' ,
69
- light : '#86868649' ,
70
- hcDark : '#86868649' ,
71
- hcLight : '#86868649' ,
72
- } ,
73
- localize (
74
- 'mergeEditor.conflictBorder.handledUnfocused' ,
75
- 'The border color of handled unfocused conflicts.'
76
- )
34
+ 'mergeEditor.conflict.handledUnfocused.border' ,
35
+ { dark : '#86868649' , light : '#86868649' , hcDark : '#86868649' , hcLight : '#86868649' , } ,
36
+ localize ( 'mergeEditor.conflict.handledUnfocused.border' , 'The border color of handled unfocused conflicts.' )
77
37
) ;
78
38
79
39
export const conflictBorderHandledFocused = registerColor (
80
- 'mergeEditor.conflictBorder.handledFocused' ,
81
- {
82
- dark : '#c1c1c1cc' ,
83
- light : '#c1c1c1cc' ,
84
- hcDark : '#c1c1c1cc' ,
85
- hcLight : '#c1c1c1cc' ,
86
- } ,
87
- localize (
88
- 'mergeEditor.conflictBorder.handledFocused' ,
89
- 'The border color of handled focused conflicts.'
90
- )
40
+ 'mergeEditor.conflict.handledFocused.border' ,
41
+ { dark : '#c1c1c1cc' , light : '#c1c1c1cc' , hcDark : '#c1c1c1cc' , hcLight : '#c1c1c1cc' , } ,
42
+ localize ( 'mergeEditor.conflict.handledFocused.border' , 'The border color of handled focused conflicts.' )
91
43
) ;
92
44
93
45
94
46
export const handledConflictMinimapOverViewRulerColor = registerColor (
95
- 'mergeEditor.conflict-handled.minimapOverViewRuler' ,
96
- {
97
- dark : '#adaca8ee' ,
98
- light : '#adaca8ee' ,
99
- hcDark : '#adaca8ee' ,
100
- hcLight : '#adaca8ee' ,
101
- } ,
102
- localize (
103
- 'mergeEditor.conflict-unhandled.minimapOverViewRuler' ,
104
- 'The foreground color for changes in input 1.'
105
- )
47
+ 'mergeEditor.conflict.handled.minimapOverViewRuler' ,
48
+ { dark : '#adaca8ee' , light : '#adaca8ee' , hcDark : '#adaca8ee' , hcLight : '#adaca8ee' , } ,
49
+ localize ( 'mergeEditor.conflict.handled.minimapOverViewRuler' , 'The foreground color for changes in input 1.' )
106
50
) ;
107
51
108
52
export const unhandledConflictMinimapOverViewRulerColor = registerColor (
109
- 'mergeEditor.conflict-unhandled.minimapOverViewRuler' ,
110
- {
111
- dark : '#fcba03FF' ,
112
- light : '#fcba03FF' ,
113
- hcDark : '#fcba03FF' ,
114
- hcLight : '#fcba03FF' ,
115
- } ,
116
- localize (
117
- 'mergeEditor.conflict-unhandled.minimapOverViewRuler' ,
118
- 'The foreground color for changes in input 1.'
119
- )
53
+ 'mergeEditor.conflict.unhandled.minimapOverViewRuler' ,
54
+ { dark : '#fcba03FF' , light : '#fcba03FF' , hcDark : '#fcba03FF' , hcLight : '#fcba03FF' , } ,
55
+ localize ( 'mergeEditor.conflict.unhandled.minimapOverViewRuler' , 'The foreground color for changes in input 1.' )
120
56
) ;
0 commit comments