instaui 0.1.4__py3-none-any.whl → 0.1.5__py3-none-any.whl
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.
- instaui/components/echarts/echarts.js +128 -0
- instaui/components/echarts/echarts.py +194 -0
- instaui/components/echarts/static/echarts.esm.min.js +45 -0
- instaui/components/element.py +50 -4
- instaui/components/html/__init__.py +30 -19
- instaui/components/html/_preset.py +4 -0
- instaui/components/html/heading.py +51 -0
- instaui/components/html/range.py +3 -0
- instaui/components/html/select.py +13 -31
- instaui/components/html/table.py +36 -0
- instaui/components/markdown/static/marked.esm.js +0 -1
- instaui/components/shiki_code/shiki_code.js +126 -0
- instaui/components/shiki_code/shiki_code.py +99 -0
- instaui/components/shiki_code/static/langs/css.mjs +5 -0
- instaui/components/shiki_code/static/langs/markdown.mjs +5 -0
- instaui/components/shiki_code/static/langs/python.mjs +5 -0
- instaui/components/shiki_code/static/langs/shell.mjs +2 -0
- instaui/components/shiki_code/static/langs/shellscript.mjs +5 -0
- instaui/components/shiki_code/static/shiki-core.js +5784 -0
- instaui/components/shiki_code/static/shiki-style.css +175 -0
- instaui/components/shiki_code/static/shiki-transformers.js +461 -0
- instaui/components/shiki_code/static/themes/vitesse-dark.mjs +2 -0
- instaui/components/shiki_code/static/themes/vitesse-light.mjs +2 -0
- instaui/components/value_element.py +7 -3
- instaui/consts.py +2 -1
- instaui/daisyui/__init__.py +8 -2
- instaui/daisyui/_index.py +5 -0
- instaui/daisyui/table.py +35 -0
- instaui/event/js_event.py +1 -0
- instaui/event/web_event.py +6 -7
- instaui/fastapi_server/server.py +4 -12
- instaui/handlers/event_handler.py +3 -1
- instaui/handlers/watch_handler.py +4 -0
- instaui/html_tools.py +40 -2
- instaui/runtime/_app.py +37 -3
- instaui/runtime/_link_manager.py +89 -0
- instaui/runtime/resource.py +19 -9
- instaui/shadcn_classless/_index.py +42 -0
- instaui/shadcn_classless/static/shadcn-classless.css +403 -0
- instaui/static/insta-ui.css +1 -1
- instaui/static/insta-ui.esm-browser.prod.js +1314 -1253
- instaui/static/insta-ui.js.map +1 -1
- instaui/static/instaui-tools-browser.js +511 -0
- instaui/static/templates/webview.html +78 -0
- instaui/tailwind/__init__.py +6 -0
- instaui/tailwind/_index.py +24 -0
- instaui/{static/tailwindcss.min.js → tailwind/static/tailwindcss-v3.min.js} +62 -62
- instaui/tailwind/static/tailwindcss-v4.min.js +8 -0
- instaui/template/_utils.py +23 -0
- instaui/template/webview_template.py +50 -0
- instaui/ui/__init__.py +8 -2
- instaui/ui/__init__.pyi +7 -1
- instaui/vars/event_context.py +4 -0
- instaui/vars/web_computed.py +30 -30
- instaui/watch/web_watch.py +5 -6
- instaui/webview/__init__.py +1 -0
- instaui/webview/_utils.py +8 -0
- instaui/webview/api.py +72 -0
- instaui/webview/func.py +114 -0
- instaui/webview/index.py +162 -0
- instaui/webview/resource.py +172 -0
- instaui/zero/func.py +19 -12
- instaui/zero/scope.py +46 -28
- {instaui-0.1.4.dist-info → instaui-0.1.5.dist-info}/METADATA +4 -1
- {instaui-0.1.4.dist-info → instaui-0.1.5.dist-info}/RECORD +67 -47
- instaui/components/highlight_code/code.js +0 -63
- instaui/components/highlight_code/code.py +0 -117
- instaui/components/highlight_code/static/core.min.js +0 -307
- instaui/components/highlight_code/static/languages/css.min.js +0 -31
- instaui/components/highlight_code/static/languages/javascript.min.js +0 -81
- instaui/components/highlight_code/static/languages/json.min.js +0 -8
- instaui/components/highlight_code/static/languages/python-repl.min.js +0 -5
- instaui/components/highlight_code/static/languages/python.min.js +0 -42
- instaui/components/highlight_code/static/languages/shell.min.js +0 -5
- instaui/components/highlight_code/static/styles/default.min.css +0 -9
- instaui/components/highlight_code/static/styles/github-dark-dimmed.min.css +0 -9
- instaui/components/highlight_code/static/styles/github-dark.min.css +0 -10
- instaui/components/highlight_code/static/styles/github.min.css +0 -10
- instaui/handlers/computed_handler.py +0 -42
- instaui/handlers/config_handler.py +0 -13
- {instaui-0.1.4.dist-info → instaui-0.1.5.dist-info}/LICENSE +0 -0
- {instaui-0.1.4.dist-info → instaui-0.1.5.dist-info}/WHEEL +0 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
:root {
|
2
|
+
--shiki-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
|
3
|
+
--shiki-code-line-height: 1.5;
|
4
|
+
--shiki-code-font-size: 0.875em;
|
5
|
+
--shiki-code-block-color: #67676c;
|
6
|
+
--shiki-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");
|
7
|
+
--shiki-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E");
|
8
|
+
--shiki-code-copy-code-border-color: #e2e2e3;
|
9
|
+
--shiki-code-copy-code-bg: #f6f6f7;
|
10
|
+
--shiki-code-copy-code-hover-border-color: #e2e2e3;
|
11
|
+
--shiki-code-copy-code-hover-bg: #ffffff;
|
12
|
+
--shiki-code-copy-code-active-text: #67676c;
|
13
|
+
--shiki-code-copy-copied-text-content: "Copied";
|
14
|
+
--shiki-code-lang-color: #929295;
|
15
|
+
}
|
16
|
+
@media (min-width: 640px) {
|
17
|
+
.shiki-code[class*=language-] {
|
18
|
+
border-radius: 8px;
|
19
|
+
margin: 15px 0;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.shiki-code[class*=language-] {
|
23
|
+
position: relative;
|
24
|
+
margin: 16px 0;
|
25
|
+
background-color: #f9f9f9;
|
26
|
+
overflow-x: auto;
|
27
|
+
transition: background-color 0.5s;
|
28
|
+
/* line numbers */
|
29
|
+
}
|
30
|
+
.shiki-code[class*=language-] pre,
|
31
|
+
.shiki-code[class*=language-] code {
|
32
|
+
font-family: var(--shiki-font-family-mono);
|
33
|
+
}
|
34
|
+
.shiki-code[class*=language-] pre {
|
35
|
+
position: relative;
|
36
|
+
z-index: 1;
|
37
|
+
margin: 0;
|
38
|
+
padding: 20px 0;
|
39
|
+
background: transparent;
|
40
|
+
overflow-x: auto;
|
41
|
+
}
|
42
|
+
.shiki-code[class*=language-] code {
|
43
|
+
display: block;
|
44
|
+
padding: 0 24px 0 0;
|
45
|
+
width: fit-content;
|
46
|
+
min-width: 100%;
|
47
|
+
line-height: var(--shiki-code-line-height);
|
48
|
+
font-size: var(--shiki-code-font-size);
|
49
|
+
color: var(--shiki-code-block-color);
|
50
|
+
transition: color 0.5s;
|
51
|
+
}
|
52
|
+
.shiki-code[class*=language-] code > .line:before {
|
53
|
+
content: ' ';
|
54
|
+
padding: 0 5px;
|
55
|
+
}
|
56
|
+
.shiki-code[class*=language-] > button.copy {
|
57
|
+
direction: ltr;
|
58
|
+
position: absolute;
|
59
|
+
top: 12px;
|
60
|
+
right: 12px;
|
61
|
+
z-index: 3;
|
62
|
+
border: 1px solid var(--shiki-code-copy-code-border-color);
|
63
|
+
border-radius: 4px;
|
64
|
+
width: 40px;
|
65
|
+
height: 40px;
|
66
|
+
background-color: var(--shiki-code-copy-code-bg);
|
67
|
+
opacity: 0;
|
68
|
+
cursor: pointer;
|
69
|
+
background-image: var(--shiki-icon-copy);
|
70
|
+
background-position: 50%;
|
71
|
+
background-size: 20px;
|
72
|
+
background-repeat: no-repeat;
|
73
|
+
transition: border-color 0.25s, background-color 0.25s, opacity 0.25s;
|
74
|
+
}
|
75
|
+
.shiki-code[class*=language-]:hover > button.copy,
|
76
|
+
.shiki-code[class*=language-] > button.copy:focus {
|
77
|
+
opacity: 1;
|
78
|
+
}
|
79
|
+
.shiki-code[class*=language-] > button.copy:hover,
|
80
|
+
.shiki-code[class*=language-] > button.copy.copied {
|
81
|
+
border-color: var(--shiki-code-copy-code-hover-border-color);
|
82
|
+
background-color: var(--shiki-code-copy-code-hover-bg);
|
83
|
+
}
|
84
|
+
.shiki-code[class*=language-] > button.copy.copied,
|
85
|
+
.shiki-code[class*=language-] > button.copy:hover.copied {
|
86
|
+
border-radius: 0 4px 4px 0;
|
87
|
+
background-color: var(--shiki-code-copy-code-hover-bg);
|
88
|
+
background-image: var(--shiki-icon-copied);
|
89
|
+
}
|
90
|
+
.shiki-code[class*=language-] > button.copy.copied:before,
|
91
|
+
.shiki-code[class*=language-] > button.copy:hover.copied:before {
|
92
|
+
position: relative;
|
93
|
+
top: -1px;
|
94
|
+
display: flex;
|
95
|
+
justify-content: center;
|
96
|
+
align-items: center;
|
97
|
+
border: 1px solid var(--shiki-code-copy-code-hover-border-color);
|
98
|
+
border-right: 0;
|
99
|
+
border-radius: 4px 0 0 4px;
|
100
|
+
padding: 0 10px;
|
101
|
+
width: fit-content;
|
102
|
+
height: 40px;
|
103
|
+
text-align: center;
|
104
|
+
font-size: 12px;
|
105
|
+
font-weight: 500;
|
106
|
+
color: var(--shiki-code-copy-code-active-text);
|
107
|
+
background-color: var(--shiki-code-copy-code-hover-bg);
|
108
|
+
white-space: nowrap;
|
109
|
+
content: var(--shiki-code-copy-copied-text-content);
|
110
|
+
transform: translate(calc(-100% - 1px));
|
111
|
+
}
|
112
|
+
.shiki-code[class*=language-] > span.lang {
|
113
|
+
position: absolute;
|
114
|
+
top: 2px;
|
115
|
+
right: 8px;
|
116
|
+
z-index: 2;
|
117
|
+
font-size: 12px;
|
118
|
+
font-weight: 500;
|
119
|
+
-webkit-user-select: none;
|
120
|
+
user-select: none;
|
121
|
+
color: var(--shiki-code-lang-color);
|
122
|
+
transition: color 0.4s, opacity 0.4s;
|
123
|
+
}
|
124
|
+
.shiki-code[class*=language-]:hover > button.copy + span.lang,
|
125
|
+
.shiki-code[class*=language-] > button.copy:focus + span.lang {
|
126
|
+
opacity: 0;
|
127
|
+
}
|
128
|
+
.shiki-code[class*=language-].theme-dark {
|
129
|
+
--shiki-code-line-diff-add-color: #3dd68c;
|
130
|
+
--shiki-code-line-diff-add-symbol-color: #3dd68c;
|
131
|
+
--shiki-code-line-diff-remove-color: hsla(349.72, 89.16%, 60.2%, 0.16);
|
132
|
+
--shiki-code-line-diff-remove-symbol-color: hsl(357.62, 39.92%, 50.39%);
|
133
|
+
--shiki-code-line-line-number-color: hsla(198.18, 13.36%, 80%, 0.7);
|
134
|
+
}
|
135
|
+
.shiki-code[class*=language-] pre.shiki .diff {
|
136
|
+
all: unset;
|
137
|
+
}
|
138
|
+
.shiki-code[class*=language-] pre.shiki code .diff.remove {
|
139
|
+
background-color: var(--shiki-code-line-diff-remove-color, rgba(244, 63, 94, 0.14));
|
140
|
+
opacity: 0.7;
|
141
|
+
}
|
142
|
+
.shiki-code[class*=language-] pre.shiki code .diff.add {
|
143
|
+
background-color: rgba(16, 185, 129, 0.14);
|
144
|
+
}
|
145
|
+
.shiki-code[class*=language-] pre.shiki code .diff.add:before {
|
146
|
+
content: "+";
|
147
|
+
color: var(--shiki-code-line-diff-add-symbol-color, #18794e);
|
148
|
+
}
|
149
|
+
.shiki-code[class*=language-] pre.shiki code .diff.remove:before {
|
150
|
+
content: "-";
|
151
|
+
color: var(--shiki-code-line-diff-remove-symbol-color, hsl(357.62, 39.92%, 50.39%));
|
152
|
+
}
|
153
|
+
.shiki-code[class*=language-] pre.shiki code .diff:before {
|
154
|
+
padding: 0 10px;
|
155
|
+
}
|
156
|
+
.shiki-code[class*=language-] pre.shiki code .diff {
|
157
|
+
box-sizing: border-box;
|
158
|
+
transition: background-color 0.5s;
|
159
|
+
margin: 0 -24px;
|
160
|
+
padding: 0 24px;
|
161
|
+
width: calc(100% + 48px);
|
162
|
+
display: inline-block;
|
163
|
+
}
|
164
|
+
.shiki-code[class*=language-].line-numbers code {
|
165
|
+
counter-reset: step;
|
166
|
+
counter-increment: step 0;
|
167
|
+
}
|
168
|
+
.shiki-code[class*=language-].line-numbers code .line::before {
|
169
|
+
padding: 0 10px;
|
170
|
+
content: counter(step);
|
171
|
+
counter-increment: step;
|
172
|
+
display: inline-block;
|
173
|
+
text-align: right;
|
174
|
+
color: var(--shiki-code-line-line-number-color, hsla(198.18, 13.36%, 51.57%, 0.7));
|
175
|
+
}
|
@@ -0,0 +1,461 @@
|
|
1
|
+
const M = [
|
2
|
+
[/^(<!--)(.+)(-->)$/, !1],
|
3
|
+
[/^(\/\*)(.+)(\*\/)$/, !1],
|
4
|
+
[/^(\/\/|["'#]|;{1,2}|%{1,2}|--)(.*)$/, !0],
|
5
|
+
/**
|
6
|
+
* for multi-line comments like this
|
7
|
+
*/
|
8
|
+
[/^(\*)(.+)$/, !0]
|
9
|
+
];
|
10
|
+
function b(t, i, e) {
|
11
|
+
const r = [];
|
12
|
+
for (const n of t) {
|
13
|
+
if (e === "v3") {
|
14
|
+
const o = n.children.flatMap((a, l) => {
|
15
|
+
if (a.type !== "element")
|
16
|
+
return a;
|
17
|
+
const h = a.children[0];
|
18
|
+
if (h.type !== "text")
|
19
|
+
return a;
|
20
|
+
const f = l === n.children.length - 1;
|
21
|
+
if (!k(h.value, f))
|
22
|
+
return a;
|
23
|
+
const d = h.value.split(/(\s+\/\/)/);
|
24
|
+
if (d.length <= 1)
|
25
|
+
return a;
|
26
|
+
let m = [d[0]];
|
27
|
+
for (let g = 1; g < d.length; g += 2)
|
28
|
+
m.push(d[g] + (d[g + 1] || ""));
|
29
|
+
return m = m.filter(Boolean), m.length <= 1 ? a : m.map((g) => ({
|
30
|
+
...a,
|
31
|
+
children: [
|
32
|
+
{
|
33
|
+
type: "text",
|
34
|
+
value: g
|
35
|
+
}
|
36
|
+
]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
o.length !== n.children.length && (n.children = o);
|
40
|
+
}
|
41
|
+
const s = n.children;
|
42
|
+
let c = s.length - 1;
|
43
|
+
e === "v1" ? c = 0 : i && (c = s.length - 2);
|
44
|
+
for (let o = Math.max(c, 0); o < s.length; o++) {
|
45
|
+
const a = s[o];
|
46
|
+
if (a.type !== "element")
|
47
|
+
continue;
|
48
|
+
const l = a.children.at(0);
|
49
|
+
if ((l == null ? void 0 : l.type) !== "text")
|
50
|
+
continue;
|
51
|
+
const h = o === s.length - 1, f = k(l.value, h);
|
52
|
+
if (f)
|
53
|
+
if (i && !h && o !== 0) {
|
54
|
+
const u = x(s[o - 1], "{") && x(s[o + 1], "}");
|
55
|
+
r.push({
|
56
|
+
info: f,
|
57
|
+
line: n,
|
58
|
+
token: a,
|
59
|
+
isLineCommentOnly: s.length === 3 && a.children.length === 1,
|
60
|
+
isJsxStyle: u
|
61
|
+
});
|
62
|
+
} else
|
63
|
+
r.push({
|
64
|
+
info: f,
|
65
|
+
line: n,
|
66
|
+
token: a,
|
67
|
+
isLineCommentOnly: s.length === 1 && a.children.length === 1,
|
68
|
+
isJsxStyle: !1
|
69
|
+
});
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return r;
|
73
|
+
}
|
74
|
+
function x(t, i) {
|
75
|
+
if (t.type !== "element")
|
76
|
+
return !1;
|
77
|
+
const e = t.children[0];
|
78
|
+
return e.type !== "text" ? !1 : e.value.trim() === i;
|
79
|
+
}
|
80
|
+
function k(t, i) {
|
81
|
+
let e = t.trimStart();
|
82
|
+
const r = t.length - e.length;
|
83
|
+
e = e.trimEnd();
|
84
|
+
const n = t.length - e.length - r;
|
85
|
+
for (const [s, c] of M) {
|
86
|
+
if (c && !i)
|
87
|
+
continue;
|
88
|
+
const o = s.exec(e);
|
89
|
+
if (o)
|
90
|
+
return [
|
91
|
+
" ".repeat(r) + o[1],
|
92
|
+
o[2],
|
93
|
+
o[3] ? o[3] + " ".repeat(n) : void 0
|
94
|
+
];
|
95
|
+
}
|
96
|
+
}
|
97
|
+
function N(t) {
|
98
|
+
const i = t.match(/(?:\/\/|["'#]|;{1,2}|%{1,2}|--)(\s*)$/);
|
99
|
+
return i && i[1].trim().length === 0 ? t.slice(0, i.index) : t;
|
100
|
+
}
|
101
|
+
function C(t, i, e, r) {
|
102
|
+
return r == null && (r = "v3"), {
|
103
|
+
name: t,
|
104
|
+
code(n) {
|
105
|
+
const s = n.children.filter((l) => l.type === "element"), c = [];
|
106
|
+
n.data ?? (n.data = {});
|
107
|
+
const o = n.data;
|
108
|
+
o._shiki_notation ?? (o._shiki_notation = b(s, ["jsx", "tsx"].includes(this.options.lang), r));
|
109
|
+
const a = o._shiki_notation;
|
110
|
+
for (const l of a) {
|
111
|
+
if (l.info[1].length === 0)
|
112
|
+
continue;
|
113
|
+
let h = s.indexOf(l.line);
|
114
|
+
l.isLineCommentOnly && r !== "v1" && h++;
|
115
|
+
let f = !1;
|
116
|
+
if (l.info[1] = l.info[1].replace(i, (...d) => e.call(this, d, l.line, l.token, s, h) ? (f = !0, "") : d[0]), !f)
|
117
|
+
continue;
|
118
|
+
r === "v1" && (l.info[1] = N(l.info[1]));
|
119
|
+
const u = l.info[1].trim().length === 0;
|
120
|
+
if (u && (l.info[1] = ""), u && l.isLineCommentOnly)
|
121
|
+
c.push(l.line);
|
122
|
+
else if (u && l.isJsxStyle)
|
123
|
+
l.line.children.splice(l.line.children.indexOf(l.token) - 1, 3);
|
124
|
+
else if (u)
|
125
|
+
l.line.children.splice(l.line.children.indexOf(l.token), 1);
|
126
|
+
else {
|
127
|
+
const d = l.token.children[0];
|
128
|
+
d.type === "text" && (d.value = l.info.join(""));
|
129
|
+
}
|
130
|
+
}
|
131
|
+
for (const l of c) {
|
132
|
+
const h = n.children.indexOf(l), f = n.children[h + 1];
|
133
|
+
let u = 1;
|
134
|
+
(f == null ? void 0 : f.type) === "text" && (f == null ? void 0 : f.value) === `
|
135
|
+
` && (u = 2), n.children.splice(h, u);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
};
|
139
|
+
}
|
140
|
+
function _(t) {
|
141
|
+
if (!t)
|
142
|
+
return null;
|
143
|
+
const i = t.match(/\{([\d,-]+)\}/);
|
144
|
+
return i ? i[1].split(",").flatMap((r) => {
|
145
|
+
const n = r.split("-").map((s) => Number.parseInt(s, 10));
|
146
|
+
return n.length === 1 ? [n[0]] : Array.from({ length: n[1] - n[0] + 1 }, (s, c) => c + n[0]);
|
147
|
+
}) : null;
|
148
|
+
}
|
149
|
+
const v = Symbol("highlighted-lines");
|
150
|
+
function R(t = {}) {
|
151
|
+
const {
|
152
|
+
className: i = "highlighted"
|
153
|
+
} = t;
|
154
|
+
return {
|
155
|
+
name: "@shikijs/transformers:meta-highlight",
|
156
|
+
line(e, r) {
|
157
|
+
var c;
|
158
|
+
if (!((c = this.options.meta) != null && c.__raw))
|
159
|
+
return;
|
160
|
+
const n = this.meta;
|
161
|
+
return n[v] ?? (n[v] = _(this.options.meta.__raw)), (n[v] ?? []).includes(r) && this.addClassToHast(e, i), e;
|
162
|
+
}
|
163
|
+
};
|
164
|
+
}
|
165
|
+
function j(t) {
|
166
|
+
return t ? Array.from(t.matchAll(/\/((?:\\.|[^/])+)\//g)).map((e) => e[1].replace(/\\(.)/g, "$1")) : [];
|
167
|
+
}
|
168
|
+
function W(t = {}) {
|
169
|
+
const {
|
170
|
+
className: i = "highlighted-word"
|
171
|
+
} = t;
|
172
|
+
return {
|
173
|
+
name: "@shikijs/transformers:meta-word-highlight",
|
174
|
+
preprocess(e, r) {
|
175
|
+
var s;
|
176
|
+
if (!((s = this.options.meta) != null && s.__raw))
|
177
|
+
return;
|
178
|
+
const n = j(this.options.meta.__raw);
|
179
|
+
r.decorations || (r.decorations = []);
|
180
|
+
for (const c of n) {
|
181
|
+
const o = O(e, c);
|
182
|
+
for (const a of o)
|
183
|
+
r.decorations.push({
|
184
|
+
start: a,
|
185
|
+
end: a + c.length,
|
186
|
+
properties: {
|
187
|
+
class: i
|
188
|
+
}
|
189
|
+
});
|
190
|
+
}
|
191
|
+
}
|
192
|
+
};
|
193
|
+
}
|
194
|
+
function O(t, i) {
|
195
|
+
const e = [];
|
196
|
+
let r = 0;
|
197
|
+
for (; ; ) {
|
198
|
+
const n = t.indexOf(i, r);
|
199
|
+
if (n === -1 || n >= t.length || n < r)
|
200
|
+
break;
|
201
|
+
e.push(n), r = n + i.length;
|
202
|
+
}
|
203
|
+
return e;
|
204
|
+
}
|
205
|
+
function w(t) {
|
206
|
+
return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
207
|
+
}
|
208
|
+
function y(t = {}, i = "@shikijs/transformers:notation-map") {
|
209
|
+
const {
|
210
|
+
classMap: e = {},
|
211
|
+
classActivePre: r = void 0
|
212
|
+
} = t;
|
213
|
+
return C(
|
214
|
+
i,
|
215
|
+
new RegExp(`\\s*\\[!code (${Object.keys(e).map(w).join("|")})(:\\d+)?\\]`),
|
216
|
+
function([n, s, c = ":1"], o, a, l, h) {
|
217
|
+
const f = Number.parseInt(c.slice(1), 10);
|
218
|
+
for (let u = h; u < Math.min(h + f, l.length); u++)
|
219
|
+
this.addClassToHast(l[u], e[s]);
|
220
|
+
return r && this.addClassToHast(this.pre, r), !0;
|
221
|
+
},
|
222
|
+
t.matchAlgorithm
|
223
|
+
);
|
224
|
+
}
|
225
|
+
function B(t = {}) {
|
226
|
+
const {
|
227
|
+
classLineAdd: i = "diff add",
|
228
|
+
classLineRemove: e = "diff remove",
|
229
|
+
classActivePre: r = "has-diff"
|
230
|
+
} = t;
|
231
|
+
return y(
|
232
|
+
{
|
233
|
+
classMap: {
|
234
|
+
"++": i,
|
235
|
+
"--": e
|
236
|
+
},
|
237
|
+
classActivePre: r,
|
238
|
+
matchAlgorithm: t.matchAlgorithm
|
239
|
+
},
|
240
|
+
"@shikijs/transformers:notation-diff"
|
241
|
+
);
|
242
|
+
}
|
243
|
+
function J(t = {}) {
|
244
|
+
const {
|
245
|
+
classMap: i = {
|
246
|
+
error: ["highlighted", "error"],
|
247
|
+
warning: ["highlighted", "warning"]
|
248
|
+
},
|
249
|
+
classActivePre: e = "has-highlighted"
|
250
|
+
} = t;
|
251
|
+
return y(
|
252
|
+
{
|
253
|
+
classMap: i,
|
254
|
+
classActivePre: e,
|
255
|
+
matchAlgorithm: t.matchAlgorithm
|
256
|
+
},
|
257
|
+
"@shikijs/transformers:notation-error-level"
|
258
|
+
);
|
259
|
+
}
|
260
|
+
function F(t = {}) {
|
261
|
+
const {
|
262
|
+
classActiveLine: i = "focused",
|
263
|
+
classActivePre: e = "has-focused"
|
264
|
+
} = t;
|
265
|
+
return y(
|
266
|
+
{
|
267
|
+
classMap: {
|
268
|
+
focus: i
|
269
|
+
},
|
270
|
+
classActivePre: e,
|
271
|
+
matchAlgorithm: t.matchAlgorithm
|
272
|
+
},
|
273
|
+
"@shikijs/transformers:notation-focus"
|
274
|
+
);
|
275
|
+
}
|
276
|
+
function D(t = {}) {
|
277
|
+
const {
|
278
|
+
classActiveLine: i = "highlighted",
|
279
|
+
classActivePre: e = "has-highlighted"
|
280
|
+
} = t;
|
281
|
+
return y(
|
282
|
+
{
|
283
|
+
classMap: {
|
284
|
+
highlight: i,
|
285
|
+
hl: i
|
286
|
+
},
|
287
|
+
classActivePre: e,
|
288
|
+
matchAlgorithm: t.matchAlgorithm
|
289
|
+
},
|
290
|
+
"@shikijs/transformers:notation-highlight"
|
291
|
+
);
|
292
|
+
}
|
293
|
+
function T(t, i, e, r) {
|
294
|
+
const n = A(t);
|
295
|
+
let s = n.indexOf(e);
|
296
|
+
for (; s !== -1; )
|
297
|
+
H.call(this, t.children, i, s, e.length, r), s = n.indexOf(e, s + 1);
|
298
|
+
}
|
299
|
+
function A(t) {
|
300
|
+
return t.type === "text" ? t.value : t.type === "element" && t.tagName === "span" ? t.children.map(A).join("") : "";
|
301
|
+
}
|
302
|
+
function H(t, i, e, r, n) {
|
303
|
+
let s = 0;
|
304
|
+
for (let c = 0; c < t.length; c++) {
|
305
|
+
const o = t[c];
|
306
|
+
if (o.type !== "element" || o.tagName !== "span" || o === i)
|
307
|
+
continue;
|
308
|
+
const a = o.children[0];
|
309
|
+
if (a.type === "text") {
|
310
|
+
if (L([s, s + a.value.length - 1], [e, e + r])) {
|
311
|
+
const l = Math.max(0, e - s), h = r - Math.max(0, s - e);
|
312
|
+
if (h === 0)
|
313
|
+
continue;
|
314
|
+
const f = S(o, a, l, h);
|
315
|
+
this.addClassToHast(f[1], n);
|
316
|
+
const u = f.filter(Boolean);
|
317
|
+
t.splice(c, 1, ...u), c += u.length - 1;
|
318
|
+
}
|
319
|
+
s += a.value.length;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
}
|
323
|
+
function L(t, i) {
|
324
|
+
return t[0] <= i[1] && t[1] >= i[0];
|
325
|
+
}
|
326
|
+
function S(t, i, e, r) {
|
327
|
+
const n = i.value, s = (c) => E(t, {
|
328
|
+
children: [
|
329
|
+
{
|
330
|
+
type: "text",
|
331
|
+
value: c
|
332
|
+
}
|
333
|
+
]
|
334
|
+
});
|
335
|
+
return [
|
336
|
+
e > 0 ? s(n.slice(0, e)) : void 0,
|
337
|
+
s(n.slice(e, e + r)),
|
338
|
+
e + r < n.length ? s(n.slice(e + r)) : void 0
|
339
|
+
];
|
340
|
+
}
|
341
|
+
function E(t, i) {
|
342
|
+
return {
|
343
|
+
...t,
|
344
|
+
properties: {
|
345
|
+
...t.properties
|
346
|
+
},
|
347
|
+
...i
|
348
|
+
};
|
349
|
+
}
|
350
|
+
function V(t = {}) {
|
351
|
+
const {
|
352
|
+
classActiveWord: i = "highlighted-word",
|
353
|
+
classActivePre: e = void 0
|
354
|
+
} = t;
|
355
|
+
return C(
|
356
|
+
"@shikijs/transformers:notation-highlight-word",
|
357
|
+
/\s*\[!code word:((?:\\.|[^:\]])+)(:\d+)?\]/,
|
358
|
+
function([r, n, s], c, o, a, l) {
|
359
|
+
const h = s ? Number.parseInt(s.slice(1), 10) : a.length;
|
360
|
+
n = n.replace(/\\(.)/g, "$1");
|
361
|
+
for (let f = l; f < Math.min(l + h, a.length); f++)
|
362
|
+
T.call(this, a[f], o, n, i);
|
363
|
+
return e && this.addClassToHast(this.pre, e), !0;
|
364
|
+
},
|
365
|
+
t.matchAlgorithm
|
366
|
+
);
|
367
|
+
}
|
368
|
+
function q() {
|
369
|
+
return {
|
370
|
+
name: "@shikijs/transformers:remove-line-break",
|
371
|
+
code(t) {
|
372
|
+
t.children = t.children.filter((i) => !(i.type === "text" && i.value === `
|
373
|
+
`));
|
374
|
+
}
|
375
|
+
};
|
376
|
+
}
|
377
|
+
function $(t) {
|
378
|
+
return t === " ";
|
379
|
+
}
|
380
|
+
function p(t) {
|
381
|
+
return t === " " || t === " ";
|
382
|
+
}
|
383
|
+
function I(t) {
|
384
|
+
const i = [];
|
385
|
+
let e = "";
|
386
|
+
function r() {
|
387
|
+
e.length && i.push(e), e = "";
|
388
|
+
}
|
389
|
+
return t.forEach((n, s) => {
|
390
|
+
$(n) || p(n) && (p(t[s - 1]) || p(t[s + 1])) ? (r(), i.push(n)) : e += n;
|
391
|
+
}), r(), i;
|
392
|
+
}
|
393
|
+
function P(t, i, e = !0) {
|
394
|
+
if (i === "all")
|
395
|
+
return t;
|
396
|
+
let r = 0, n = 0;
|
397
|
+
if (i === "boundary")
|
398
|
+
for (let c = 0; c < t.length && p(t[c]); c++)
|
399
|
+
r++;
|
400
|
+
if (i === "boundary" || i === "trailing")
|
401
|
+
for (let c = t.length - 1; c >= 0 && p(t[c]); c--)
|
402
|
+
n++;
|
403
|
+
const s = t.slice(r, t.length - n);
|
404
|
+
return [
|
405
|
+
...t.slice(0, r),
|
406
|
+
...e ? I(s) : [s.join("")],
|
407
|
+
...t.slice(t.length - n)
|
408
|
+
];
|
409
|
+
}
|
410
|
+
function z(t = {}) {
|
411
|
+
const i = {
|
412
|
+
" ": t.classSpace ?? "space",
|
413
|
+
" ": t.classTab ?? "tab"
|
414
|
+
}, e = t.position ?? "all", r = Object.keys(i);
|
415
|
+
return {
|
416
|
+
name: "@shikijs/transformers:render-whitespace",
|
417
|
+
// We use `root` hook here to ensure it runs after all other transformers
|
418
|
+
root(n) {
|
419
|
+
n.children[0].children[0].children.forEach(
|
420
|
+
(o) => {
|
421
|
+
if (o.type !== "element")
|
422
|
+
return;
|
423
|
+
const a = o.children.filter((h) => h.type === "element"), l = a.length - 1;
|
424
|
+
o.children = o.children.flatMap((h) => {
|
425
|
+
if (h.type !== "element")
|
426
|
+
return h;
|
427
|
+
const f = a.indexOf(h);
|
428
|
+
if (e === "boundary" && f !== 0 && f !== l || e === "trailing" && f !== l)
|
429
|
+
return h;
|
430
|
+
const u = h.children[0];
|
431
|
+
if (u.type !== "text" || !u.value)
|
432
|
+
return h;
|
433
|
+
const d = P(
|
434
|
+
u.value.split(/([ \t])/).filter((m) => m.length),
|
435
|
+
e === "boundary" && f === l && l !== 0 ? "trailing" : e,
|
436
|
+
e !== "trailing"
|
437
|
+
);
|
438
|
+
return d.length <= 1 ? h : d.map((m) => {
|
439
|
+
const g = {
|
440
|
+
...h,
|
441
|
+
properties: { ...h.properties }
|
442
|
+
};
|
443
|
+
return g.children = [{ type: "text", value: m }], r.includes(m) && (this.addClassToHast(g, i[m]), delete g.properties.style), g;
|
444
|
+
});
|
445
|
+
});
|
446
|
+
}
|
447
|
+
);
|
448
|
+
}
|
449
|
+
};
|
450
|
+
}
|
451
|
+
export {
|
452
|
+
R as transformerMetaHighlight,
|
453
|
+
W as transformerMetaWordHighlight,
|
454
|
+
B as transformerNotationDiff,
|
455
|
+
J as transformerNotationErrorLevel,
|
456
|
+
F as transformerNotationFocus,
|
457
|
+
D as transformerNotationHighlight,
|
458
|
+
V as transformerNotationWordHighlight,
|
459
|
+
q as transformerRemoveLineBreak,
|
460
|
+
z as transformerRenderWhitespace
|
461
|
+
};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/* Theme: vitesse-dark */
|
2
|
+
export default Object.freeze(JSON.parse("{\"colors\":{\"activityBar.activeBorder\":\"#4d9375\",\"activityBar.background\":\"#121212\",\"activityBar.border\":\"#191919\",\"activityBar.foreground\":\"#dbd7caee\",\"activityBar.inactiveForeground\":\"#dedcd550\",\"activityBarBadge.background\":\"#bfbaaa\",\"activityBarBadge.foreground\":\"#121212\",\"badge.background\":\"#dedcd590\",\"badge.foreground\":\"#121212\",\"breadcrumb.activeSelectionForeground\":\"#eeeeee18\",\"breadcrumb.background\":\"#181818\",\"breadcrumb.focusForeground\":\"#dbd7caee\",\"breadcrumb.foreground\":\"#959da5\",\"breadcrumbPicker.background\":\"#121212\",\"button.background\":\"#4d9375\",\"button.foreground\":\"#121212\",\"button.hoverBackground\":\"#4d9375\",\"checkbox.background\":\"#181818\",\"checkbox.border\":\"#2f363d\",\"debugToolBar.background\":\"#121212\",\"descriptionForeground\":\"#dedcd590\",\"diffEditor.insertedTextBackground\":\"#4d937550\",\"diffEditor.removedTextBackground\":\"#ab595950\",\"dropdown.background\":\"#121212\",\"dropdown.border\":\"#191919\",\"dropdown.foreground\":\"#dbd7caee\",\"dropdown.listBackground\":\"#181818\",\"editor.background\":\"#121212\",\"editor.findMatchBackground\":\"#e6cc7722\",\"editor.findMatchHighlightBackground\":\"#e6cc7744\",\"editor.focusedStackFrameHighlightBackground\":\"#b808\",\"editor.foldBackground\":\"#eeeeee10\",\"editor.foreground\":\"#dbd7caee\",\"editor.inactiveSelectionBackground\":\"#eeeeee10\",\"editor.lineHighlightBackground\":\"#181818\",\"editor.selectionBackground\":\"#eeeeee18\",\"editor.selectionHighlightBackground\":\"#eeeeee10\",\"editor.stackFrameHighlightBackground\":\"#a707\",\"editor.wordHighlightBackground\":\"#1c6b4805\",\"editor.wordHighlightStrongBackground\":\"#1c6b4810\",\"editorBracketHighlight.foreground1\":\"#5eaab5\",\"editorBracketHighlight.foreground2\":\"#4d9375\",\"editorBracketHighlight.foreground3\":\"#d4976c\",\"editorBracketHighlight.foreground4\":\"#d9739f\",\"editorBracketHighlight.foreground5\":\"#e6cc77\",\"editorBracketHighlight.foreground6\":\"#6394bf\",\"editorBracketMatch.background\":\"#4d937520\",\"editorError.foreground\":\"#cb7676\",\"editorGroup.border\":\"#191919\",\"editorGroupHeader.tabsBackground\":\"#121212\",\"editorGroupHeader.tabsBorder\":\"#191919\",\"editorGutter.addedBackground\":\"#4d9375\",\"editorGutter.commentRangeForeground\":\"#dedcd550\",\"editorGutter.deletedBackground\":\"#cb7676\",\"editorGutter.foldingControlForeground\":\"#dedcd590\",\"editorGutter.modifiedBackground\":\"#6394bf\",\"editorHint.foreground\":\"#4d9375\",\"editorIndentGuide.activeBackground\":\"#ffffff30\",\"editorIndentGuide.background\":\"#ffffff15\",\"editorInfo.foreground\":\"#6394bf\",\"editorInlayHint.background\":\"#181818\",\"editorInlayHint.foreground\":\"#666666\",\"editorLineNumber.activeForeground\":\"#bfbaaa\",\"editorLineNumber.foreground\":\"#dedcd550\",\"editorOverviewRuler.border\":\"#111\",\"editorStickyScroll.background\":\"#181818\",\"editorStickyScrollHover.background\":\"#181818\",\"editorWarning.foreground\":\"#d4976c\",\"editorWhitespace.foreground\":\"#ffffff15\",\"editorWidget.background\":\"#121212\",\"errorForeground\":\"#cb7676\",\"focusBorder\":\"#00000000\",\"foreground\":\"#dbd7caee\",\"gitDecoration.addedResourceForeground\":\"#4d9375\",\"gitDecoration.conflictingResourceForeground\":\"#d4976c\",\"gitDecoration.deletedResourceForeground\":\"#cb7676\",\"gitDecoration.ignoredResourceForeground\":\"#dedcd550\",\"gitDecoration.modifiedResourceForeground\":\"#6394bf\",\"gitDecoration.submoduleResourceForeground\":\"#dedcd590\",\"gitDecoration.untrackedResourceForeground\":\"#5eaab5\",\"input.background\":\"#181818\",\"input.border\":\"#191919\",\"input.foreground\":\"#dbd7caee\",\"input.placeholderForeground\":\"#dedcd590\",\"inputOption.activeBackground\":\"#dedcd550\",\"list.activeSelectionBackground\":\"#181818\",\"list.activeSelectionForeground\":\"#dbd7caee\",\"list.focusBackground\":\"#181818\",\"list.highlightForeground\":\"#4d9375\",\"list.hoverBackground\":\"#181818\",\"list.hoverForeground\":\"#dbd7caee\",\"list.inactiveFocusBackground\":\"#121212\",\"list.inactiveSelectionBackground\":\"#181818\",\"list.inactiveSelectionForeground\":\"#dbd7caee\",\"menu.separatorBackground\":\"#191919\",\"notificationCenterHeader.background\":\"#121212\",\"notificationCenterHeader.foreground\":\"#959da5\",\"notifications.background\":\"#121212\",\"notifications.border\":\"#191919\",\"notifications.foreground\":\"#dbd7caee\",\"notificationsErrorIcon.foreground\":\"#cb7676\",\"notificationsInfoIcon.foreground\":\"#6394bf\",\"notificationsWarningIcon.foreground\":\"#d4976c\",\"panel.background\":\"#121212\",\"panel.border\":\"#191919\",\"panelInput.border\":\"#2f363d\",\"panelTitle.activeBorder\":\"#4d9375\",\"panelTitle.activeForeground\":\"#dbd7caee\",\"panelTitle.inactiveForeground\":\"#959da5\",\"peekViewEditor.background\":\"#121212\",\"peekViewEditor.matchHighlightBackground\":\"#ffd33d33\",\"peekViewResult.background\":\"#121212\",\"peekViewResult.matchHighlightBackground\":\"#ffd33d33\",\"pickerGroup.border\":\"#191919\",\"pickerGroup.foreground\":\"#dbd7caee\",\"problemsErrorIcon.foreground\":\"#cb7676\",\"problemsInfoIcon.foreground\":\"#6394bf\",\"problemsWarningIcon.foreground\":\"#d4976c\",\"progressBar.background\":\"#4d9375\",\"quickInput.background\":\"#121212\",\"quickInput.foreground\":\"#dbd7caee\",\"quickInputList.focusBackground\":\"#181818\",\"scrollbar.shadow\":\"#0000\",\"scrollbarSlider.activeBackground\":\"#dedcd550\",\"scrollbarSlider.background\":\"#dedcd510\",\"scrollbarSlider.hoverBackground\":\"#dedcd550\",\"settings.headerForeground\":\"#dbd7caee\",\"settings.modifiedItemIndicator\":\"#4d9375\",\"sideBar.background\":\"#121212\",\"sideBar.border\":\"#191919\",\"sideBar.foreground\":\"#bfbaaa\",\"sideBarSectionHeader.background\":\"#121212\",\"sideBarSectionHeader.border\":\"#191919\",\"sideBarSectionHeader.foreground\":\"#dbd7caee\",\"sideBarTitle.foreground\":\"#dbd7caee\",\"statusBar.background\":\"#121212\",\"statusBar.border\":\"#191919\",\"statusBar.debuggingBackground\":\"#181818\",\"statusBar.debuggingForeground\":\"#bfbaaa\",\"statusBar.foreground\":\"#bfbaaa\",\"statusBar.noFolderBackground\":\"#121212\",\"statusBarItem.prominentBackground\":\"#181818\",\"tab.activeBackground\":\"#121212\",\"tab.activeBorder\":\"#191919\",\"tab.activeBorderTop\":\"#dedcd590\",\"tab.activeForeground\":\"#dbd7caee\",\"tab.border\":\"#191919\",\"tab.hoverBackground\":\"#181818\",\"tab.inactiveBackground\":\"#121212\",\"tab.inactiveForeground\":\"#959da5\",\"tab.unfocusedActiveBorder\":\"#191919\",\"tab.unfocusedActiveBorderTop\":\"#191919\",\"tab.unfocusedHoverBackground\":\"#121212\",\"terminal.ansiBlack\":\"#393a34\",\"terminal.ansiBlue\":\"#6394bf\",\"terminal.ansiBrightBlack\":\"#777777\",\"terminal.ansiBrightBlue\":\"#6394bf\",\"terminal.ansiBrightCyan\":\"#5eaab5\",\"terminal.ansiBrightGreen\":\"#4d9375\",\"terminal.ansiBrightMagenta\":\"#d9739f\",\"terminal.ansiBrightRed\":\"#cb7676\",\"terminal.ansiBrightWhite\":\"#ffffff\",\"terminal.ansiBrightYellow\":\"#e6cc77\",\"terminal.ansiCyan\":\"#5eaab5\",\"terminal.ansiGreen\":\"#4d9375\",\"terminal.ansiMagenta\":\"#d9739f\",\"terminal.ansiRed\":\"#cb7676\",\"terminal.ansiWhite\":\"#dbd7ca\",\"terminal.ansiYellow\":\"#e6cc77\",\"terminal.foreground\":\"#dbd7caee\",\"terminal.selectionBackground\":\"#eeeeee18\",\"textBlockQuote.background\":\"#121212\",\"textBlockQuote.border\":\"#191919\",\"textCodeBlock.background\":\"#121212\",\"textLink.activeForeground\":\"#4d9375\",\"textLink.foreground\":\"#4d9375\",\"textPreformat.foreground\":\"#d1d5da\",\"textSeparator.foreground\":\"#586069\",\"titleBar.activeBackground\":\"#121212\",\"titleBar.activeForeground\":\"#bfbaaa\",\"titleBar.border\":\"#181818\",\"titleBar.inactiveBackground\":\"#121212\",\"titleBar.inactiveForeground\":\"#959da5\",\"tree.indentGuidesStroke\":\"#2f363d\",\"welcomePage.buttonBackground\":\"#2f363d\",\"welcomePage.buttonHoverBackground\":\"#444d56\"},\"displayName\":\"Vitesse Dark\",\"name\":\"vitesse-dark\",\"semanticHighlighting\":true,\"semanticTokenColors\":{\"class\":\"#6872ab\",\"interface\":\"#5d99a9\",\"namespace\":\"#db889a\",\"property\":\"#b8a965\",\"type\":\"#5d99a9\"},\"tokenColors\":[{\"scope\":[\"comment\",\"punctuation.definition.comment\",\"string.comment\"],\"settings\":{\"foreground\":\"#758575dd\"}},{\"scope\":[\"delimiter.bracket\",\"delimiter\",\"invalid.illegal.character-not-allowed-here.html\",\"keyword.operator.rest\",\"keyword.operator.spread\",\"keyword.operator.type.annotation\",\"keyword.operator.relational\",\"keyword.operator.assignment\",\"keyword.operator.type\",\"meta.brace\",\"meta.tag.block.any.html\",\"meta.tag.inline.any.html\",\"meta.tag.structure.input.void.html\",\"meta.type.annotation\",\"meta.embedded.block.github-actions-expression\",\"storage.type.function.arrow\",\"meta.objectliteral.ts\",\"punctuation\",\"punctuation.definition.string.begin.html.vue\",\"punctuation.definition.string.end.html.vue\"],\"settings\":{\"foreground\":\"#666666\"}},{\"scope\":[\"constant\",\"entity.name.constant\",\"variable.language\",\"meta.definition.variable\"],\"settings\":{\"foreground\":\"#c99076\"}},{\"scope\":[\"entity\",\"entity.name\"],\"settings\":{\"foreground\":\"#80a665\"}},{\"scope\":\"variable.parameter.function\",\"settings\":{\"foreground\":\"#dbd7caee\"}},{\"scope\":[\"entity.name.tag\",\"tag.html\"],\"settings\":{\"foreground\":\"#4d9375\"}},{\"scope\":\"entity.name.function\",\"settings\":{\"foreground\":\"#80a665\"}},{\"scope\":[\"keyword\",\"storage.type.class.jsdoc\",\"punctuation.definition.template-expression\"],\"settings\":{\"foreground\":\"#4d9375\"}},{\"scope\":[\"storage\",\"storage.type\",\"support.type.builtin\",\"constant.language.undefined\",\"constant.language.null\",\"constant.language.import-export-all.ts\"],\"settings\":{\"foreground\":\"#cb7676\"}},{\"scope\":[\"text.html.derivative\",\"storage.modifier.package\",\"storage.modifier.import\",\"storage.type.java\"],\"settings\":{\"foreground\":\"#dbd7caee\"}},{\"scope\":[\"string\",\"string punctuation.section.embedded source\",\"attribute.value\"],\"settings\":{\"foreground\":\"#c98a7d\"}},{\"scope\":[\"punctuation.definition.string\"],\"settings\":{\"foreground\":\"#c98a7d77\"}},{\"scope\":[\"punctuation.support.type.property-name\"],\"settings\":{\"foreground\":\"#b8a96577\"}},{\"scope\":\"support\",\"settings\":{\"foreground\":\"#b8a965\"}},{\"scope\":[\"property\",\"meta.property-name\",\"meta.object-literal.key\",\"entity.name.tag.yaml\",\"attribute.name\"],\"settings\":{\"foreground\":\"#b8a965\"}},{\"scope\":[\"entity.other.attribute-name\",\"invalid.deprecated.entity.other.attribute-name.html\"],\"settings\":{\"foreground\":\"#bd976a\"}},{\"scope\":[\"variable\",\"identifier\"],\"settings\":{\"foreground\":\"#bd976a\"}},{\"scope\":[\"support.type.primitive\",\"entity.name.type\"],\"settings\":{\"foreground\":\"#5DA994\"}},{\"scope\":\"namespace\",\"settings\":{\"foreground\":\"#db889a\"}},{\"scope\":[\"keyword.operator\",\"keyword.operator.assignment.compound\",\"meta.var.expr.ts\"],\"settings\":{\"foreground\":\"#cb7676\"}},{\"scope\":\"invalid.broken\",\"settings\":{\"fontStyle\":\"italic\",\"foreground\":\"#fdaeb7\"}},{\"scope\":\"invalid.deprecated\",\"settings\":{\"fontStyle\":\"italic\",\"foreground\":\"#fdaeb7\"}},{\"scope\":\"invalid.illegal\",\"settings\":{\"fontStyle\":\"italic\",\"foreground\":\"#fdaeb7\"}},{\"scope\":\"invalid.unimplemented\",\"settings\":{\"fontStyle\":\"italic\",\"foreground\":\"#fdaeb7\"}},{\"scope\":\"carriage-return\",\"settings\":{\"background\":\"#f97583\",\"content\":\"^M\",\"fontStyle\":\"italic underline\",\"foreground\":\"#24292e\"}},{\"scope\":\"message.error\",\"settings\":{\"foreground\":\"#fdaeb7\"}},{\"scope\":\"string variable\",\"settings\":{\"foreground\":\"#c98a7d\"}},{\"scope\":[\"source.regexp\",\"string.regexp\"],\"settings\":{\"foreground\":\"#c4704f\"}},{\"scope\":[\"string.regexp.character-class\",\"string.regexp constant.character.escape\",\"string.regexp source.ruby.embedded\",\"string.regexp string.regexp.arbitrary-repitition\"],\"settings\":{\"foreground\":\"#c98a7d\"}},{\"scope\":\"string.regexp constant.character.escape\",\"settings\":{\"foreground\":\"#e6cc77\"}},{\"scope\":[\"support.constant\"],\"settings\":{\"foreground\":\"#c99076\"}},{\"scope\":[\"keyword.operator.quantifier.regexp\",\"constant.numeric\",\"number\"],\"settings\":{\"foreground\":\"#4C9A91\"}},{\"scope\":[\"keyword.other.unit\"],\"settings\":{\"foreground\":\"#cb7676\"}},{\"scope\":[\"constant.language.boolean\",\"constant.language\"],\"settings\":{\"foreground\":\"#4d9375\"}},{\"scope\":\"meta.module-reference\",\"settings\":{\"foreground\":\"#4d9375\"}},{\"scope\":\"punctuation.definition.list.begin.markdown\",\"settings\":{\"foreground\":\"#d4976c\"}},{\"scope\":[\"markup.heading\",\"markup.heading entity.name\"],\"settings\":{\"fontStyle\":\"bold\",\"foreground\":\"#4d9375\"}},{\"scope\":\"markup.quote\",\"settings\":{\"foreground\":\"#5d99a9\"}},{\"scope\":\"markup.italic\",\"settings\":{\"fontStyle\":\"italic\",\"foreground\":\"#dbd7caee\"}},{\"scope\":\"markup.bold\",\"settings\":{\"fontStyle\":\"bold\",\"foreground\":\"#dbd7caee\"}},{\"scope\":\"markup.raw\",\"settings\":{\"foreground\":\"#4d9375\"}},{\"scope\":[\"markup.deleted\",\"meta.diff.header.from-file\",\"punctuation.definition.deleted\"],\"settings\":{\"background\":\"#86181d\",\"foreground\":\"#fdaeb7\"}},{\"scope\":[\"markup.inserted\",\"meta.diff.header.to-file\",\"punctuation.definition.inserted\"],\"settings\":{\"background\":\"#144620\",\"foreground\":\"#85e89d\"}},{\"scope\":[\"markup.changed\",\"punctuation.definition.changed\"],\"settings\":{\"background\":\"#c24e00\",\"foreground\":\"#ffab70\"}},{\"scope\":[\"markup.ignored\",\"markup.untracked\"],\"settings\":{\"background\":\"#79b8ff\",\"foreground\":\"#2f363d\"}},{\"scope\":\"meta.diff.range\",\"settings\":{\"fontStyle\":\"bold\",\"foreground\":\"#b392f0\"}},{\"scope\":\"meta.diff.header\",\"settings\":{\"foreground\":\"#79b8ff\"}},{\"scope\":\"meta.separator\",\"settings\":{\"fontStyle\":\"bold\",\"foreground\":\"#79b8ff\"}},{\"scope\":\"meta.output\",\"settings\":{\"foreground\":\"#79b8ff\"}},{\"scope\":[\"brackethighlighter.tag\",\"brackethighlighter.curly\",\"brackethighlighter.round\",\"brackethighlighter.square\",\"brackethighlighter.angle\",\"brackethighlighter.quote\"],\"settings\":{\"foreground\":\"#d1d5da\"}},{\"scope\":\"brackethighlighter.unmatched\",\"settings\":{\"foreground\":\"#fdaeb7\"}},{\"scope\":[\"constant.other.reference.link\",\"string.other.link\",\"punctuation.definition.string.begin.markdown\",\"punctuation.definition.string.end.markdown\"],\"settings\":{\"foreground\":\"#c98a7d\"}},{\"scope\":[\"markup.underline.link.markdown\",\"markup.underline.link.image.markdown\"],\"settings\":{\"fontStyle\":\"underline\",\"foreground\":\"#dedcd590\"}},{\"scope\":[\"type.identifier\",\"constant.other.character-class.regexp\"],\"settings\":{\"foreground\":\"#6872ab\"}},{\"scope\":[\"entity.other.attribute-name.html.vue\"],\"settings\":{\"foreground\":\"#80a665\"}},{\"scope\":[\"invalid.illegal.unrecognized-tag.html\"],\"settings\":{\"fontStyle\":\"normal\"}}],\"type\":\"dark\"}"))
|