/
ThemableDecorationRenderOptions.hx
132 lines (109 loc) · 4.01 KB
/
ThemableDecorationRenderOptions.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package vscode;
/**
* Represents theme specific rendering styles for a {@link TextEditorDecorationType text editor decoration}.
*/
typedef ThemableDecorationRenderOptions = {
/**
* Background color of the decoration. Use rgba() and define transparent background colors to play well with other decorations.
* Alternatively a color from the color registry can be {@link ThemeColor referenced}.
*/
var ?backgroundColor:EitherType<String, ThemeColor>;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?outline:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'outline' for setting one or more of the individual outline properties.
*/
var ?outlineColor:EitherType<String, ThemeColor>;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'outline' for setting one or more of the individual outline properties.
*/
var ?outlineStyle:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'outline' for setting one or more of the individual outline properties.
*/
var ?outlineWidth:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?border:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'border' for setting one or more of the individual border properties.
*/
var ?borderColor:EitherType<String, ThemeColor>;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'border' for setting one or more of the individual border properties.
*/
var ?borderRadius:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'border' for setting one or more of the individual border properties.
*/
var ?borderSpacing:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'border' for setting one or more of the individual border properties.
*/
var ?borderStyle:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
* Better use 'border' for setting one or more of the individual border properties.
*/
var ?borderWidth:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?fontStyle:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?fontWeight:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?textDecoration:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?cursor:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?color:EitherType<String, ThemeColor>;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?opacity:String;
/**
* CSS styling property that will be applied to text enclosed by a decoration.
*/
var ?letterSpacing:String;
/**
* An **absolute path** or an URI to an image to be rendered in the gutter.
*/
var ?gutterIconPath:EitherType<String, Uri>;
/**
* Specifies the size of the gutter icon.
* Available values are 'auto', 'contain', 'cover' and any percentage value.
* For further information: https://msdn.microsoft.com/en-us/library/jj127316(v=vs.85).aspx
*/
var ?gutterIconSize:String;
/**
* The color of the decoration in the overview ruler. Use rgba() and define transparent colors to play well with other decorations.
*/
var ?overviewRulerColor:EitherType<String, ThemeColor>;
/**
* Defines the rendering options of the attachment that is inserted before the decorated text.
*/
var ?before:ThemableDecorationAttachmentRenderOptions;
/**
* Defines the rendering options of the attachment that is inserted after the decorated text.
*/
var ?after:ThemableDecorationAttachmentRenderOptions;
}