@theia/preview 1.45.0 → 1.46.0-next.72
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/README.md +45 -45
- package/lib/browser/index.d.ts +3 -3
- package/lib/browser/index.js +29 -29
- package/lib/browser/markdown/index.d.ts +1 -1
- package/lib/browser/markdown/index.js +28 -28
- package/lib/browser/markdown/markdown-preview-handler.d.ts +28 -28
- package/lib/browser/markdown/markdown-preview-handler.js +301 -301
- package/lib/browser/markdown/markdown-preview-handler.spec.d.ts +1 -1
- package/lib/browser/markdown/markdown-preview-handler.spec.js +193 -193
- package/lib/browser/preview-contribution.d.ts +50 -50
- package/lib/browser/preview-contribution.js +262 -262
- package/lib/browser/preview-frontend-module.d.ts +5 -5
- package/lib/browser/preview-frontend-module.js +52 -52
- package/lib/browser/preview-handler.d.ts +104 -104
- package/lib/browser/preview-handler.js +76 -76
- package/lib/browser/preview-link-normalizer.d.ts +7 -7
- package/lib/browser/preview-link-normalizer.js +54 -54
- package/lib/browser/preview-preferences.d.ts +11 -11
- package/lib/browser/preview-preferences.js +46 -46
- package/lib/browser/preview-uri.d.ts +8 -8
- package/lib/browser/preview-uri.js +47 -47
- package/lib/browser/preview-widget.d.ts +54 -54
- package/lib/browser/preview-widget.js +261 -261
- package/lib/package.spec.js +25 -25
- package/package.json +7 -7
- package/src/browser/index.ts +19 -19
- package/src/browser/markdown/index.ts +17 -17
- package/src/browser/markdown/markdown-preview-handler.spec.ts +228 -228
- package/src/browser/markdown/markdown-preview-handler.ts +309 -309
- package/src/browser/markdown/style/index.css +18 -18
- package/src/browser/markdown/style/markdown.css +203 -203
- package/src/browser/markdown/style/tomorrow.css +105 -105
- package/src/browser/preview-contribution.ts +276 -276
- package/src/browser/preview-frontend-module.ts +57 -57
- package/src/browser/preview-handler.ts +141 -141
- package/src/browser/preview-link-normalizer.ts +40 -40
- package/src/browser/preview-preferences.ts +58 -58
- package/src/browser/preview-uri.ts +43 -43
- package/src/browser/preview-widget.ts +277 -277
- package/src/browser/style/index.css +17 -17
- package/src/browser/style/preview-widget.css +29 -29
- package/src/package.spec.ts +29 -29
|
@@ -1,203 +1,203 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2018 TypeFox and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
|
|
17
|
-
/*---------------------------------------------------------------------------------------------
|
|
18
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
20
|
-
*--------------------------------------------------------------------------------------------*/
|
|
21
|
-
|
|
22
|
-
.markdown-preview {
|
|
23
|
-
font-family: var(--theia-ui-font-family);
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
padding: 0 26px;
|
|
26
|
-
line-height: var(--theia-content-line-height);
|
|
27
|
-
word-wrap: break-word;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.markdown-preview:focus {
|
|
31
|
-
outline: 0;
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.markdown-preview .line {
|
|
36
|
-
position: relative;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.markdown-preview .line:hover:before {
|
|
40
|
-
content: "";
|
|
41
|
-
display: block;
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 0;
|
|
44
|
-
left: -12px;
|
|
45
|
-
height: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.markdown-preview li.line:hover:before {
|
|
49
|
-
left: -30px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.markdown-preview .line:hover:before {
|
|
53
|
-
border-left: 3px solid var(--theia-editor-foreground);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.markdown-preview .line .line:hover:before {
|
|
57
|
-
border-left: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.markdown-preview img {
|
|
61
|
-
max-width: 100%;
|
|
62
|
-
max-height: 100%;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.markdown-preview a {
|
|
66
|
-
text-decoration: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.markdown-preview a:hover {
|
|
70
|
-
text-decoration: underline;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.markdown-preview a:focus,
|
|
74
|
-
.markdown-preview input:focus,
|
|
75
|
-
.markdown-preview select:focus,
|
|
76
|
-
.markdown-preview textarea:focus {
|
|
77
|
-
outline: 1px solid -webkit-focus-ring-color;
|
|
78
|
-
outline-offset: -1px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.markdown-preview hr {
|
|
82
|
-
border: 0;
|
|
83
|
-
height: 2px;
|
|
84
|
-
border-bottom: 2px solid;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.markdown-preview h1 {
|
|
88
|
-
padding-bottom: 0.3em;
|
|
89
|
-
line-height: 1.2;
|
|
90
|
-
border-bottom-width: 1px;
|
|
91
|
-
border-bottom-style: solid;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.markdown-preview h1,
|
|
95
|
-
h2,
|
|
96
|
-
h3 {
|
|
97
|
-
font-weight: normal;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.markdown-preview h1 code,
|
|
101
|
-
.markdown-preview h2 code,
|
|
102
|
-
.markdown-preview h3 code,
|
|
103
|
-
.markdown-preview h4 code,
|
|
104
|
-
.markdown-preview h5 code,
|
|
105
|
-
.markdown-preview h6 code {
|
|
106
|
-
font-size: inherit;
|
|
107
|
-
line-height: auto;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.markdown-preview table {
|
|
111
|
-
border-collapse: collapse;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.markdown-preview table > thead > tr > th {
|
|
115
|
-
text-align: left;
|
|
116
|
-
border-bottom: 1px solid;
|
|
117
|
-
border-color: rgba(255, 255, 255, 0.69);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.theia-light .markdown-preview table > thead > tr > th {
|
|
121
|
-
border-color: rgba(0, 0, 0, 0.69);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.markdown-preview table > thead > tr > th,
|
|
125
|
-
.markdown-preview table > thead > tr > td,
|
|
126
|
-
.markdown-preview table > tbody > tr > th,
|
|
127
|
-
.markdown-preview table > tbody > tr > td {
|
|
128
|
-
padding: 5px 10px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.markdown-preview table > tbody > tr + tr > td {
|
|
132
|
-
border-top: 1px solid;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.markdown-preview blockquote {
|
|
136
|
-
margin: 0 7px 0 5px;
|
|
137
|
-
padding: 0 16px 0 10px;
|
|
138
|
-
border-left: 5px solid;
|
|
139
|
-
background: var(--theia-textBlockQuote-background);
|
|
140
|
-
border-color: var(--theia-textBlockQuote-border);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.markdown-preview code {
|
|
144
|
-
font-family: var(--theia-code-font-family);
|
|
145
|
-
font-size: var(--theia-code-font-size);
|
|
146
|
-
line-height: var(--theia-code-line-height);
|
|
147
|
-
color: var(--md-orange-800);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.markdown-preview.wordWrap pre {
|
|
151
|
-
white-space: pre-wrap;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.markdown-preview pre:not(.hljs),
|
|
155
|
-
.markdown-preview pre.hljs code > div {
|
|
156
|
-
padding: 16px;
|
|
157
|
-
border-radius: 3px;
|
|
158
|
-
overflow: auto;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.markdown-preview,
|
|
162
|
-
.markdown-preview pre code {
|
|
163
|
-
color: var(--theia-editor-foreground);
|
|
164
|
-
tab-size: 4;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/** Theming */
|
|
168
|
-
|
|
169
|
-
.theia-light .markdown-preview pre {
|
|
170
|
-
background-color: rgba(220, 220, 220, 0.4);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.theia-dark .markdown-preview pre {
|
|
174
|
-
background-color: rgba(10, 10, 10, 0.4);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.theia-high-contrast .markdown-preview pre {
|
|
178
|
-
background-color: rgb(0, 0, 0);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.vscode-high-contrast .markdown-preview h1 {
|
|
182
|
-
border-color: rgb(0, 0, 0);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.theia-light .markdown-preview table > thead > tr > th {
|
|
186
|
-
border-color: rgba(0, 0, 0, 0.69);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.theia-dark .markdown-preview table > thead > tr > th {
|
|
190
|
-
border-color: rgba(255, 255, 255, 0.69);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.theia-light .markdown-preview h1,
|
|
194
|
-
.theia-light .markdown-preview hr,
|
|
195
|
-
.theia-light .markdown-preview table > tbody > tr + tr > td {
|
|
196
|
-
border-color: rgba(0, 0, 0, 0.18);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.theia-dark .markdown-preview h1,
|
|
200
|
-
.theia-dark .markdown-preview hr,
|
|
201
|
-
.theia-dark .markdown-preview table > tbody > tr + tr > td {
|
|
202
|
-
border-color: rgba(255, 255, 255, 0.18);
|
|
203
|
-
}
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
|
|
17
|
+
/*---------------------------------------------------------------------------------------------
|
|
18
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
20
|
+
*--------------------------------------------------------------------------------------------*/
|
|
21
|
+
|
|
22
|
+
.markdown-preview {
|
|
23
|
+
font-family: var(--theia-ui-font-family);
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
padding: 0 26px;
|
|
26
|
+
line-height: var(--theia-content-line-height);
|
|
27
|
+
word-wrap: break-word;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.markdown-preview:focus {
|
|
31
|
+
outline: 0;
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.markdown-preview .line {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.markdown-preview .line:hover:before {
|
|
40
|
+
content: "";
|
|
41
|
+
display: block;
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 0;
|
|
44
|
+
left: -12px;
|
|
45
|
+
height: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.markdown-preview li.line:hover:before {
|
|
49
|
+
left: -30px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.markdown-preview .line:hover:before {
|
|
53
|
+
border-left: 3px solid var(--theia-editor-foreground);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.markdown-preview .line .line:hover:before {
|
|
57
|
+
border-left: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.markdown-preview img {
|
|
61
|
+
max-width: 100%;
|
|
62
|
+
max-height: 100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.markdown-preview a {
|
|
66
|
+
text-decoration: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.markdown-preview a:hover {
|
|
70
|
+
text-decoration: underline;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.markdown-preview a:focus,
|
|
74
|
+
.markdown-preview input:focus,
|
|
75
|
+
.markdown-preview select:focus,
|
|
76
|
+
.markdown-preview textarea:focus {
|
|
77
|
+
outline: 1px solid -webkit-focus-ring-color;
|
|
78
|
+
outline-offset: -1px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.markdown-preview hr {
|
|
82
|
+
border: 0;
|
|
83
|
+
height: 2px;
|
|
84
|
+
border-bottom: 2px solid;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.markdown-preview h1 {
|
|
88
|
+
padding-bottom: 0.3em;
|
|
89
|
+
line-height: 1.2;
|
|
90
|
+
border-bottom-width: 1px;
|
|
91
|
+
border-bottom-style: solid;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.markdown-preview h1,
|
|
95
|
+
h2,
|
|
96
|
+
h3 {
|
|
97
|
+
font-weight: normal;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.markdown-preview h1 code,
|
|
101
|
+
.markdown-preview h2 code,
|
|
102
|
+
.markdown-preview h3 code,
|
|
103
|
+
.markdown-preview h4 code,
|
|
104
|
+
.markdown-preview h5 code,
|
|
105
|
+
.markdown-preview h6 code {
|
|
106
|
+
font-size: inherit;
|
|
107
|
+
line-height: auto;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.markdown-preview table {
|
|
111
|
+
border-collapse: collapse;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.markdown-preview table > thead > tr > th {
|
|
115
|
+
text-align: left;
|
|
116
|
+
border-bottom: 1px solid;
|
|
117
|
+
border-color: rgba(255, 255, 255, 0.69);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.theia-light .markdown-preview table > thead > tr > th {
|
|
121
|
+
border-color: rgba(0, 0, 0, 0.69);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.markdown-preview table > thead > tr > th,
|
|
125
|
+
.markdown-preview table > thead > tr > td,
|
|
126
|
+
.markdown-preview table > tbody > tr > th,
|
|
127
|
+
.markdown-preview table > tbody > tr > td {
|
|
128
|
+
padding: 5px 10px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.markdown-preview table > tbody > tr + tr > td {
|
|
132
|
+
border-top: 1px solid;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.markdown-preview blockquote {
|
|
136
|
+
margin: 0 7px 0 5px;
|
|
137
|
+
padding: 0 16px 0 10px;
|
|
138
|
+
border-left: 5px solid;
|
|
139
|
+
background: var(--theia-textBlockQuote-background);
|
|
140
|
+
border-color: var(--theia-textBlockQuote-border);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.markdown-preview code {
|
|
144
|
+
font-family: var(--theia-code-font-family);
|
|
145
|
+
font-size: var(--theia-code-font-size);
|
|
146
|
+
line-height: var(--theia-code-line-height);
|
|
147
|
+
color: var(--md-orange-800);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.markdown-preview.wordWrap pre {
|
|
151
|
+
white-space: pre-wrap;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.markdown-preview pre:not(.hljs),
|
|
155
|
+
.markdown-preview pre.hljs code > div {
|
|
156
|
+
padding: 16px;
|
|
157
|
+
border-radius: 3px;
|
|
158
|
+
overflow: auto;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.markdown-preview,
|
|
162
|
+
.markdown-preview pre code {
|
|
163
|
+
color: var(--theia-editor-foreground);
|
|
164
|
+
tab-size: 4;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** Theming */
|
|
168
|
+
|
|
169
|
+
.theia-light .markdown-preview pre {
|
|
170
|
+
background-color: rgba(220, 220, 220, 0.4);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.theia-dark .markdown-preview pre {
|
|
174
|
+
background-color: rgba(10, 10, 10, 0.4);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.theia-high-contrast .markdown-preview pre {
|
|
178
|
+
background-color: rgb(0, 0, 0);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.vscode-high-contrast .markdown-preview h1 {
|
|
182
|
+
border-color: rgb(0, 0, 0);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.theia-light .markdown-preview table > thead > tr > th {
|
|
186
|
+
border-color: rgba(0, 0, 0, 0.69);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.theia-dark .markdown-preview table > thead > tr > th {
|
|
190
|
+
border-color: rgba(255, 255, 255, 0.69);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.theia-light .markdown-preview h1,
|
|
194
|
+
.theia-light .markdown-preview hr,
|
|
195
|
+
.theia-light .markdown-preview table > tbody > tr + tr > td {
|
|
196
|
+
border-color: rgba(0, 0, 0, 0.18);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.theia-dark .markdown-preview h1,
|
|
200
|
+
.theia-dark .markdown-preview hr,
|
|
201
|
+
.theia-dark .markdown-preview table > tbody > tr + tr > td {
|
|
202
|
+
border-color: rgba(255, 255, 255, 0.18);
|
|
203
|
+
}
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2018 TypeFox and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
|
|
17
|
-
/* Tomorrow Theme */
|
|
18
|
-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
19
|
-
|
|
20
|
-
/* Original theme - Copyright (C) 2013 Chris Kempson http://chriskempson.com
|
|
21
|
-
/* released under the MIT License */
|
|
22
|
-
/* https://github.com/chriskempson/tomorrow-theme */
|
|
23
|
-
|
|
24
|
-
/*---------------------------------------------------------------------------------------------
|
|
25
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
26
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
27
|
-
*--------------------------------------------------------------------------------------------*/
|
|
28
|
-
|
|
29
|
-
/* Copied from https://github.com/microsoft/vscode/blob/08537497eecd3172390194693d3d7c0ec8f52b70/extensions/markdown-language-features/media/tomorrow.css
|
|
30
|
-
* with modifications.
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
/* This theme is used to style the output of the highlight.js library which is
|
|
34
|
-
* licensed under the BSD-3-Clause. See https://github.com/highlightjs/highlight.js/blob/master/LICENSE
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
/* Tomorrow Comment */
|
|
38
|
-
.theia-preview-widget .hljs-comment,
|
|
39
|
-
.theia-preview-widget .hljs-quote {
|
|
40
|
-
color: #8e908c;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Tomorrow Red */
|
|
44
|
-
.theia-preview-widget .hljs-variable,
|
|
45
|
-
.theia-preview-widget .hljs-template-variable,
|
|
46
|
-
.theia-preview-widget .hljs-tag,
|
|
47
|
-
.theia-preview-widget .hljs-name,
|
|
48
|
-
.theia-preview-widget .hljs-selector-id,
|
|
49
|
-
.theia-preview-widget .hljs-selector-class,
|
|
50
|
-
.theia-preview-widget .hljs-regexp,
|
|
51
|
-
.theia-preview-widget .hljs-deletion {
|
|
52
|
-
color: #c82829;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* Tomorrow Orange */
|
|
56
|
-
.theia-preview-widget .hljs-number,
|
|
57
|
-
.theia-preview-widget .hljs-built_in,
|
|
58
|
-
.theia-preview-widget .hljs-builtin-name,
|
|
59
|
-
.theia-preview-widget .hljs-literal,
|
|
60
|
-
.theia-preview-widget .hljs-type,
|
|
61
|
-
.theia-preview-widget .hljs-params,
|
|
62
|
-
.theia-preview-widget .hljs-meta,
|
|
63
|
-
.theia-preview-widget .hljs-link {
|
|
64
|
-
color: #f5871f;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Tomorrow Yellow */
|
|
68
|
-
.theia-preview-widget .hljs-attribute {
|
|
69
|
-
color: #eab700;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* Tomorrow Green */
|
|
73
|
-
.theia-preview-widget .hljs-string,
|
|
74
|
-
.theia-preview-widget .hljs-symbol,
|
|
75
|
-
.theia-preview-widget .hljs-bullet,
|
|
76
|
-
.theia-preview-widget .hljs-addition {
|
|
77
|
-
color: #718c00;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Tomorrow Blue */
|
|
81
|
-
.theia-preview-widget .hljs-title,
|
|
82
|
-
.theia-preview-widget .hljs-section {
|
|
83
|
-
color: #4271ae;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Tomorrow Purple */
|
|
87
|
-
.theia-preview-widget .hljs-keyword,
|
|
88
|
-
.theia-preview-widget .hljs-selector-tag {
|
|
89
|
-
color: #8959a8;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.theia-preview-widget .hljs {
|
|
93
|
-
display: block;
|
|
94
|
-
overflow-x: auto;
|
|
95
|
-
color: #4d4d4c;
|
|
96
|
-
padding: 0.5em;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.theia-preview-widget .hljs-emphasis {
|
|
100
|
-
font-style: italic;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.theia-preview-widget .hljs-strong {
|
|
104
|
-
font-weight: bold;
|
|
105
|
-
}
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
|
|
17
|
+
/* Tomorrow Theme */
|
|
18
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
19
|
+
|
|
20
|
+
/* Original theme - Copyright (C) 2013 Chris Kempson http://chriskempson.com
|
|
21
|
+
/* released under the MIT License */
|
|
22
|
+
/* https://github.com/chriskempson/tomorrow-theme */
|
|
23
|
+
|
|
24
|
+
/*---------------------------------------------------------------------------------------------
|
|
25
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
26
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
27
|
+
*--------------------------------------------------------------------------------------------*/
|
|
28
|
+
|
|
29
|
+
/* Copied from https://github.com/microsoft/vscode/blob/08537497eecd3172390194693d3d7c0ec8f52b70/extensions/markdown-language-features/media/tomorrow.css
|
|
30
|
+
* with modifications.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/* This theme is used to style the output of the highlight.js library which is
|
|
34
|
+
* licensed under the BSD-3-Clause. See https://github.com/highlightjs/highlight.js/blob/master/LICENSE
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/* Tomorrow Comment */
|
|
38
|
+
.theia-preview-widget .hljs-comment,
|
|
39
|
+
.theia-preview-widget .hljs-quote {
|
|
40
|
+
color: #8e908c;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Tomorrow Red */
|
|
44
|
+
.theia-preview-widget .hljs-variable,
|
|
45
|
+
.theia-preview-widget .hljs-template-variable,
|
|
46
|
+
.theia-preview-widget .hljs-tag,
|
|
47
|
+
.theia-preview-widget .hljs-name,
|
|
48
|
+
.theia-preview-widget .hljs-selector-id,
|
|
49
|
+
.theia-preview-widget .hljs-selector-class,
|
|
50
|
+
.theia-preview-widget .hljs-regexp,
|
|
51
|
+
.theia-preview-widget .hljs-deletion {
|
|
52
|
+
color: #c82829;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Tomorrow Orange */
|
|
56
|
+
.theia-preview-widget .hljs-number,
|
|
57
|
+
.theia-preview-widget .hljs-built_in,
|
|
58
|
+
.theia-preview-widget .hljs-builtin-name,
|
|
59
|
+
.theia-preview-widget .hljs-literal,
|
|
60
|
+
.theia-preview-widget .hljs-type,
|
|
61
|
+
.theia-preview-widget .hljs-params,
|
|
62
|
+
.theia-preview-widget .hljs-meta,
|
|
63
|
+
.theia-preview-widget .hljs-link {
|
|
64
|
+
color: #f5871f;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Tomorrow Yellow */
|
|
68
|
+
.theia-preview-widget .hljs-attribute {
|
|
69
|
+
color: #eab700;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Tomorrow Green */
|
|
73
|
+
.theia-preview-widget .hljs-string,
|
|
74
|
+
.theia-preview-widget .hljs-symbol,
|
|
75
|
+
.theia-preview-widget .hljs-bullet,
|
|
76
|
+
.theia-preview-widget .hljs-addition {
|
|
77
|
+
color: #718c00;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Tomorrow Blue */
|
|
81
|
+
.theia-preview-widget .hljs-title,
|
|
82
|
+
.theia-preview-widget .hljs-section {
|
|
83
|
+
color: #4271ae;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Tomorrow Purple */
|
|
87
|
+
.theia-preview-widget .hljs-keyword,
|
|
88
|
+
.theia-preview-widget .hljs-selector-tag {
|
|
89
|
+
color: #8959a8;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.theia-preview-widget .hljs {
|
|
93
|
+
display: block;
|
|
94
|
+
overflow-x: auto;
|
|
95
|
+
color: #4d4d4c;
|
|
96
|
+
padding: 0.5em;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.theia-preview-widget .hljs-emphasis {
|
|
100
|
+
font-style: italic;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.theia-preview-widget .hljs-strong {
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
}
|