@lvce-editor/renderer-process 30.18.0 → 30.19.0

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.
@@ -0,0 +1,191 @@
1
+ :root {
2
+ --EditorCursorBackground: #aeafad;
3
+ --EditorFontFamily: monospace;
4
+ --EditorFontFeatureSettings: normal;
5
+ --EditorFontSize: 15px;
6
+ --EditorFontWeight: 400;
7
+ --EditorLetterSpacing: 0;
8
+ --EditorLineHeight: 20px;
9
+ --EditorSelectionBackground: #264f78;
10
+ --EditorTabSize: 2;
11
+ --MainBackground: #1e1e1e;
12
+ }
13
+
14
+ html,
15
+ body {
16
+ width: 100%;
17
+ height: 100%;
18
+ margin: 0;
19
+ overflow: hidden;
20
+ background: var(--MainBackground);
21
+ }
22
+
23
+ .Viewlet {
24
+ contain: strict;
25
+ }
26
+
27
+ .Editor {
28
+ width: 100%;
29
+ height: 100%;
30
+ background: var(--MainBackground);
31
+ color: #d4d4d4;
32
+ outline: none;
33
+ border: none;
34
+ font-family: var(--EditorFontFamily);
35
+ white-space: pre;
36
+ font-size: var(--EditorFontSize);
37
+ letter-spacing: var(--EditorLetterSpacing);
38
+ font-feature-settings: var(--EditorFontFeatureSettings);
39
+ tab-size: var(--EditorTabSize);
40
+ cursor: text;
41
+ font-weight: var(--EditorFontWeight);
42
+ display: flex;
43
+ }
44
+
45
+ .EditorContent,
46
+ .EditorLayers,
47
+ .EditorRows {
48
+ contain: strict;
49
+ width: 100%;
50
+ height: 100%;
51
+ }
52
+
53
+ .EditorRows {
54
+ white-space: pre;
55
+ }
56
+
57
+ .EditorRow {
58
+ display: block;
59
+ height: var(--EditorLineHeight);
60
+ line-height: var(--EditorLineHeight);
61
+ contain: strict;
62
+ }
63
+
64
+ .Editors {
65
+ flex: 1;
66
+ }
67
+
68
+ .EditorCursor {
69
+ width: 2px;
70
+ height: var(--EditorLineHeight);
71
+ position: absolute;
72
+ top: 0;
73
+ left: 0;
74
+ background: var(--EditorCursorBackground);
75
+ pointer-events: none;
76
+ contain: strict;
77
+ }
78
+
79
+ .EditorInput {
80
+ position: absolute;
81
+ width: 0;
82
+ height: 0;
83
+ opacity: 0;
84
+ padding: 0;
85
+ border: 0;
86
+ font-size: 1px;
87
+ top: -9999px;
88
+ left: -9999px;
89
+ }
90
+
91
+ .EditorSelection {
92
+ position: absolute;
93
+ top: 0;
94
+ left: 0;
95
+ pointer-events: none;
96
+ background: var(--EditorSelectionBackground);
97
+ }
98
+
99
+ .Token {
100
+ contain: content;
101
+ }
102
+
103
+ .TokenComment {
104
+ color: #6a9955;
105
+ }
106
+
107
+ .TokenString,
108
+ .TokenStringValue {
109
+ color: #ce9178;
110
+ }
111
+
112
+ .TokenNumeric,
113
+ .TokenNumber {
114
+ color: #b5cea8;
115
+ }
116
+
117
+ .TokenKeyword,
118
+ .TokenTag,
119
+ .TokenTagName {
120
+ color: #569cd6;
121
+ }
122
+
123
+ .TokenAttribute,
124
+ .TokenAttributeName,
125
+ .TokenProperty,
126
+ .TokenPropertyName {
127
+ color: #9cdcfe;
128
+ }
129
+
130
+ .TokenPunctuation,
131
+ .TokenPunctuationTag {
132
+ color: #808080;
133
+ }
134
+
135
+ .LayerCursor,
136
+ .LayerDiagnostics {
137
+ position: absolute;
138
+ inset: 0;
139
+ pointer-events: none;
140
+ }
141
+
142
+ .Gutter {
143
+ contain: strict;
144
+ width: 30px;
145
+ height: 100%;
146
+ display: flex;
147
+ flex-direction: column;
148
+ }
149
+
150
+ .Gutter:empty {
151
+ display: none;
152
+ }
153
+
154
+ .LineNumber {
155
+ color: rgba(155, 162, 160, 0.6);
156
+ contain: strict;
157
+ margin-right: 1px;
158
+ height: var(--EditorLineHeight);
159
+ text-align: right;
160
+ }
161
+
162
+ .ScrollBar {
163
+ position: absolute;
164
+ right: 0;
165
+ top: 0;
166
+ width: 14px;
167
+ bottom: 0;
168
+ contain: strict;
169
+ cursor: default;
170
+ }
171
+
172
+ .ScrollBarHorizontal {
173
+ left: 0;
174
+ top: auto;
175
+ height: 14px;
176
+ width: auto;
177
+ }
178
+
179
+ .ScrollBarThumb {
180
+ width: 100%;
181
+ position: absolute;
182
+ contain: strict;
183
+ background: rgba(57, 71, 71, 0.6);
184
+ height: var(--ScrollBarThumbHeight);
185
+ top: var(--ScrollBarThumbTop);
186
+ }
187
+
188
+ .ScrollBarThumbHorizontal {
189
+ height: 100%;
190
+ width: auto;
191
+ }