vscode-colaview 0.3.0 → 0.3.3
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/.vscode/settings.json +1 -4
- package/CHANGELOG.md +43 -0
- package/README.md +31 -9
- package/README_CN.md +31 -9
- package/RELEASE_NOTES.md +115 -0
- package/esbuild.js +6 -0
- package/package.json +164 -186
- package/src/export/docx-exporter.ts +43 -4
- package/src/export/render-export-images.ts +186 -5
- package/src/export/theme-style.ts +77 -16
- package/src/extension.ts +0 -11
- package/src/preview/preview-manager.ts +64 -21
- package/src/preview/webview/app.ts +11 -12
- package/src/preview/webview/index.html +19 -0
- package/src/themes/built-in/bear.css +1 -1
- package/src/themes/built-in/dark.css +9 -1
- package/src/themes/built-in/dracula.css +1 -5
- package/src/themes/built-in/elegant.css +5 -12
- package/src/themes/built-in/gruvbox.css +1 -5
- package/src/themes/built-in/light.css +1 -1
- package/src/themes/built-in/midnight.css +7 -3
- package/src/themes/built-in/nord.css +1 -5
- package/src/themes/built-in/notion.css +9 -11
- package/src/themes/built-in/sepia.css +3 -6
- package/src/themes/built-in/solarized-dark.css +1 -1
- package/src/themes/built-in/writer.css +9 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #2c2c2c;
|
|
10
10
|
--text-secondary: #6c6c6c;
|
|
11
11
|
--text-muted: #777;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #dedad5;
|
|
13
13
|
--link-color: #bc4424;
|
|
14
14
|
--code-bg: #e8e4df;
|
|
15
15
|
--code-block-bg: #2c2c2c;
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
--blockquote-border: #c44b2b;
|
|
18
18
|
--blockquote-bg: #eae6e1;
|
|
19
19
|
--table-header-bg: #eae6e1;
|
|
20
|
-
--table-border: #d8d3ce;
|
|
21
20
|
--selection-bg: rgba(196, 75, 43, 0.2);
|
|
22
21
|
--highlight-bg: #f0d9a8;
|
|
23
22
|
}
|
|
@@ -35,18 +34,12 @@
|
|
|
35
34
|
color: #c44b2b;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
|
-
#editor .cm-content .cm-md-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
padding-right: 20px;
|
|
37
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
38
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
39
|
+
border-left: none;
|
|
40
|
+
border-right: none;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
#editor .cm-content .cm-md-table-widget th {
|
|
46
44
|
border-bottom: 2px solid #c44b2b;
|
|
47
45
|
}
|
|
48
|
-
|
|
49
|
-
#editor .cm-content .cm-md-table-widget td {
|
|
50
|
-
border-left: none;
|
|
51
|
-
border-right: none;
|
|
52
|
-
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #ebdbb2;
|
|
10
10
|
--text-secondary: #c5b5a5;
|
|
11
11
|
--text-muted: #928374;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #373432;
|
|
13
13
|
--link-color: #83a598;
|
|
14
14
|
--code-bg: rgba(235, 219, 178, 0.1);
|
|
15
15
|
--code-block-bg: #1d2021;
|
|
@@ -33,10 +33,6 @@
|
|
|
33
33
|
color: #b8bb26;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
#editor .cm-content .cm-md-blockquote {
|
|
37
|
-
color: #bdae93;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
36
|
#editor .cm-content .cm-md-hr {
|
|
41
37
|
border-top-color: #504945;
|
|
42
38
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #d6d6d6;
|
|
10
10
|
--text-secondary: #b1b1b1;
|
|
11
11
|
--text-muted: #7a7a7a;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #1c1c1c;
|
|
13
13
|
--link-color: #0a84ff;
|
|
14
14
|
--code-bg: rgba(255, 255, 255, 0.08);
|
|
15
15
|
--code-block-bg: #111111;
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
color: #f5f5f5;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
#editor .cm-content .cm-md-
|
|
29
|
-
color: #
|
|
28
|
+
#editor .cm-content .cm-md-strong {
|
|
29
|
+
color: #e8e8e8;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
33
|
+
color: #e5786d;
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #d8dee9;
|
|
10
10
|
--text-secondary: #aebdd4;
|
|
11
11
|
--text-muted: #7d8ba1;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #383e4e;
|
|
13
13
|
--link-color: #88c0d0;
|
|
14
14
|
--code-bg: rgba(136, 192, 208, 0.12);
|
|
15
15
|
--code-block-bg: #262c37;
|
|
@@ -32,7 +32,3 @@
|
|
|
32
32
|
#editor .cm-content .cm-md-inlinecode {
|
|
33
33
|
color: #88c0d0;
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
#editor .cm-content .cm-md-blockquote {
|
|
37
|
-
color: #aeb9c9;
|
|
38
|
-
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #37352f;
|
|
10
10
|
--text-secondary: #777674;
|
|
11
11
|
--text-muted: #9b9a97;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #eeeeed;
|
|
13
13
|
--link-color: #37352f;
|
|
14
14
|
--code-bg: #f7f6f3;
|
|
15
15
|
--code-block-bg: #f7f6f3;
|
|
@@ -19,16 +19,6 @@
|
|
|
19
19
|
--highlight-bg: #fdecc8;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
#editor .cm-content .cm-md-link {
|
|
23
|
-
text-decoration: underline;
|
|
24
|
-
text-decoration-color: #9b9a97;
|
|
25
|
-
text-underline-offset: 2px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
#editor .cm-content .cm-md-link:hover {
|
|
29
|
-
text-decoration-color: #37352f;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
22
|
#editor .cm-content .cm-md-atxheading1,
|
|
33
23
|
#editor .cm-content .cm-md-atxheading2 {
|
|
34
24
|
border-bottom: none;
|
|
@@ -36,6 +26,10 @@
|
|
|
36
26
|
font-weight: 700;
|
|
37
27
|
}
|
|
38
28
|
|
|
29
|
+
#editor .cm-content .cm-md-strong {
|
|
30
|
+
color: #37352f;
|
|
31
|
+
}
|
|
32
|
+
|
|
39
33
|
#editor .cm-content .cm-md-inlinecode {
|
|
40
34
|
color: #eb5757;
|
|
41
35
|
background: #f7f6f3;
|
|
@@ -46,3 +40,7 @@
|
|
|
46
40
|
border-left: none;
|
|
47
41
|
border-right: none;
|
|
48
42
|
}
|
|
43
|
+
|
|
44
|
+
#editor .cm-content .cm-md-url {
|
|
45
|
+
color: #9b9a97;
|
|
46
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #4f4032;
|
|
10
10
|
--text-secondary: #7b6b54;
|
|
11
11
|
--text-muted: #9a8a72;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #e7ddc7;
|
|
13
13
|
--link-color: #9c5e29;
|
|
14
14
|
--code-bg: rgba(122, 90, 51, 0.1);
|
|
15
15
|
--code-block-bg: #ece2cb;
|
|
@@ -35,11 +35,8 @@
|
|
|
35
35
|
border-bottom-style: dashed;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
#editor .cm-content .cm-md-
|
|
39
|
-
|
|
40
|
-
padding would be added once for every line of the quote. */
|
|
41
|
-
padding-left: 24px;
|
|
42
|
-
padding-right: 20px;
|
|
38
|
+
#editor .cm-content .cm-md-strong {
|
|
39
|
+
color: #7a5a33;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
#editor .cm-content .cm-md-inlinecode {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--text-color: #1a1a1a;
|
|
10
10
|
--text-secondary: #757571;
|
|
11
11
|
--text-muted: #8e8e8a;
|
|
12
|
-
--border-color: #
|
|
12
|
+
--border-color: #e9e9e5;
|
|
13
13
|
--link-color: #3b6ec4;
|
|
14
14
|
--code-bg: rgba(0, 0, 0, 0.05);
|
|
15
15
|
--code-block-bg: #f2f2ee;
|
|
@@ -42,3 +42,11 @@
|
|
|
42
42
|
#editor .cm-content .cm-md-table-widget td {
|
|
43
43
|
font-size: 0.9em;
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
#editor .cm-content .cm-md-strong {
|
|
47
|
+
color: #2f2f2c;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
51
|
+
color: #3b6ec4;
|
|
52
|
+
}
|