@live-codes/browser-compilers 0.17.1 → 0.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.
- package/dist/catppuccin/monaco/frappe.json +52 -0
- package/dist/catppuccin/monaco/latte.json +52 -0
- package/dist/catppuccin/monaco/macchiato.json +52 -0
- package/dist/catppuccin/monaco/mocha.json +52 -0
- package/dist/catppuccin/prism/frappe.css +135 -0
- package/dist/catppuccin/prism/latte.css +134 -0
- package/dist/catppuccin/prism/macchiato.css +135 -0
- package/dist/catppuccin/prism/mocha.css +135 -0
- package/dist/tailwindcss/tailwindcss-plugins.js +13 -0
- package/dist/tailwindcss/tailwindcss.js +33 -0
- package/package.json +4 -3
- package/scripts/vendors.js +55 -9
- package/vendor-licenses.md +4 -0
- package/vendor_modules/imports/tailwindcss.js +1 -0
- package/vendor_modules/src/catppuccin/monaco/frappe.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/latte.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/macchiato.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/mocha.json +52 -0
- package/vendor_modules/src/catppuccin/monaco/readme.md +3 -0
- package/vendor_modules/src/catppuccin/prism/frappe.css +135 -0
- package/vendor_modules/src/catppuccin/prism/latte.css +134 -0
- package/vendor_modules/src/catppuccin/prism/macchiato.css +135 -0
- package/vendor_modules/src/catppuccin/prism/mocha.css +135 -0
- package/vendor_modules/src/catppuccin/prism/readme.md +1 -0
- package/dist/tailwindcss-plugins/tailwindcss-plugins.js +0 -13
- /package/dist/{codemirror-theme-catppuccin → catppuccin/codemirror}/codemirror-theme-catppuccin.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-codes/browser-compilers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Compilers that run in the browser, for use in livecodes.io",
|
|
5
5
|
"author": "Hatem Hosny",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@mdx-js/mdx": "3.0.1",
|
|
32
32
|
"@prettier/plugin-pug": "3.0.0",
|
|
33
33
|
"@tailwindcss/aspect-ratio": "0.4.2",
|
|
34
|
-
"@tailwindcss/forms": "0.5.
|
|
34
|
+
"@tailwindcss/forms": "0.5.10",
|
|
35
35
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
36
|
-
"@tailwindcss/typography": "0.5.
|
|
36
|
+
"@tailwindcss/typography": "0.5.16",
|
|
37
37
|
"@testing-library/dom": "10.4.0",
|
|
38
38
|
"@testing-library/jest-dom": "6.6.3",
|
|
39
39
|
"@testing-library/react": "16.1.0",
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
"sass": "1.77.6",
|
|
85
85
|
"sucrase": "3.35.0",
|
|
86
86
|
"svelte": "4.2.18",
|
|
87
|
+
"tailwindcss": "4.0.0",
|
|
87
88
|
"ventojs": "0.12.8",
|
|
88
89
|
"windicss": "3.5.6"
|
|
89
90
|
},
|
package/scripts/vendors.js
CHANGED
|
@@ -454,11 +454,19 @@ patch('node_modules/babel-plugin-react-compiler/dist/index.js', {
|
|
|
454
454
|
});
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
+
// tailwindcss
|
|
458
|
+
esbuild.build({
|
|
459
|
+
...baseOptions,
|
|
460
|
+
entryPoints: ['vendor_modules/imports/tailwindcss.js'],
|
|
461
|
+
outfile: 'dist/tailwindcss/tailwindcss.js',
|
|
462
|
+
globalName: 'tailwindcss',
|
|
463
|
+
});
|
|
464
|
+
|
|
457
465
|
// tailwindcss-plugins
|
|
458
466
|
esbuild.build({
|
|
459
467
|
...baseOptions,
|
|
460
468
|
entryPoints: ['vendor_modules/imports/tailwindcss-plugins.js'],
|
|
461
|
-
outfile: 'dist/tailwindcss
|
|
469
|
+
outfile: 'dist/tailwindcss/tailwindcss-plugins.js',
|
|
462
470
|
globalName: 'tailwindcssPlugins',
|
|
463
471
|
});
|
|
464
472
|
|
|
@@ -564,11 +572,49 @@ esbuild.build({
|
|
|
564
572
|
],
|
|
565
573
|
});
|
|
566
574
|
|
|
567
|
-
//
|
|
568
|
-
esbuild
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
+
// catppuccin
|
|
576
|
+
esbuild
|
|
577
|
+
.build({
|
|
578
|
+
...baseOptions,
|
|
579
|
+
entryPoints: ['vendor_modules/imports/codemirror-theme-catppuccin.js'],
|
|
580
|
+
outfile: 'dist/catppuccin/codemirror/codemirror-theme-catppuccin.js',
|
|
581
|
+
format: 'esm',
|
|
582
|
+
external: ['@codemirror/view', '@codemirror/language', '@lezer/highlight'],
|
|
583
|
+
})
|
|
584
|
+
.then(() => {
|
|
585
|
+
mkdirp(targetDir + '/catppuccin/monaco');
|
|
586
|
+
fs.copyFileSync(
|
|
587
|
+
path.resolve(vendor_modules_src + '/catppuccin/monaco/latte.json'),
|
|
588
|
+
path.resolve(targetDir + '/catppuccin/monaco/latte.json'),
|
|
589
|
+
);
|
|
590
|
+
fs.copyFileSync(
|
|
591
|
+
path.resolve(vendor_modules_src + '/catppuccin/monaco/frappe.json'),
|
|
592
|
+
path.resolve(targetDir + '/catppuccin/monaco/frappe.json'),
|
|
593
|
+
);
|
|
594
|
+
fs.copyFileSync(
|
|
595
|
+
path.resolve(vendor_modules_src + '/catppuccin/monaco/macchiato.json'),
|
|
596
|
+
path.resolve(targetDir + '/catppuccin/monaco/macchiato.json'),
|
|
597
|
+
);
|
|
598
|
+
fs.copyFileSync(
|
|
599
|
+
path.resolve(vendor_modules_src + '/catppuccin/monaco/mocha.json'),
|
|
600
|
+
path.resolve(targetDir + '/catppuccin/monaco/mocha.json'),
|
|
601
|
+
);
|
|
602
|
+
|
|
603
|
+
mkdirp(targetDir + '/catppuccin/prism');
|
|
604
|
+
fs.copyFileSync(
|
|
605
|
+
path.resolve(vendor_modules_src + '/catppuccin/prism/latte.css'),
|
|
606
|
+
path.resolve(targetDir + '/catppuccin/prism/latte.css'),
|
|
607
|
+
);
|
|
608
|
+
fs.copyFileSync(
|
|
609
|
+
path.resolve(vendor_modules_src + '/catppuccin/prism/frappe.css'),
|
|
610
|
+
path.resolve(targetDir + '/catppuccin/prism/frappe.css'),
|
|
611
|
+
);
|
|
612
|
+
fs.copyFileSync(
|
|
613
|
+
path.resolve(vendor_modules_src + '/catppuccin/prism/macchiato.css'),
|
|
614
|
+
path.resolve(targetDir + '/catppuccin/prism/macchiato.css'),
|
|
615
|
+
);
|
|
616
|
+
fs.copyFileSync(
|
|
617
|
+
path.resolve(vendor_modules_src + '/catppuccin/prism/mocha.css'),
|
|
618
|
+
path.resolve(targetDir + '/catppuccin/prism/mocha.css'),
|
|
619
|
+
);
|
|
620
|
+
});
|
package/vendor-licenses.md
CHANGED
|
@@ -12,10 +12,14 @@ babel-plugin-react-compiler: [MIT License](https://github.com/facebook/react/blo
|
|
|
12
12
|
|
|
13
13
|
BBob: [MIT License](https://github.com/JiLiZART/BBob/blob/17edb9e3e6572e72ab9cb042d86e2215c60afa86/LICENSE)
|
|
14
14
|
|
|
15
|
+
catppuccin-prismjs: [MIT License](https://github.com/catppuccin/prismjs/blob/de071c500dba91a73e40a9df1747a4aa1113fb80/LICENSE)
|
|
16
|
+
|
|
15
17
|
Civet: [MIT License](https://github.com/DanielXMoore/Civet/blob/9b28e3a351d130ce031c7b28b50bcb6d2a499315/LICENSE)
|
|
16
18
|
|
|
17
19
|
clientside-haml-js: [MIT License](https://github.com/uglyog/clientside-haml-js/blob/d814d16f46e1629c149c18d7692ba16f249f436b/LICENSE)
|
|
18
20
|
|
|
21
|
+
codemirror-theme-catppuccin: [Apache License 2.0](https://github.com/ahdinosaur/codemirror-theme-catppuccin/blob/cc6ff908c4c69f8a2bb4e17d273d1fbd95437e74/package.json#L27)
|
|
22
|
+
|
|
19
23
|
CoffeeScript: [MIT License](https://github.com/jashkenas/coffeescript/tree/07f644c39223e016aceedd2cd71b5941579b5659)
|
|
20
24
|
|
|
21
25
|
dart-sass: [MIT License](https://github.com/sass/dart-sass/blob/e3bf3eb3a3a8708877a86a08c7e3bee92160ac1f/LICENSE)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { compile } from 'tailwindcss';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#c6d0f5" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#ca9ee6" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6d189" },
|
|
8
|
+
{ "token": "number", "foreground": "#ef9f76" },
|
|
9
|
+
{ "token": "comment", "foreground": "#737994" },
|
|
10
|
+
{ "token": "type", "foreground": "#8caaee" },
|
|
11
|
+
{ "token": "function", "foreground": "#99d1db" },
|
|
12
|
+
{ "token": "variable", "foreground": "#c6d0f5" },
|
|
13
|
+
{ "token": "constant", "foreground": "#ef9f76" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f4b8e4" },
|
|
15
|
+
{ "token": "class", "foreground": "#e5c890" },
|
|
16
|
+
{ "token": "operator", "foreground": "#99d1db" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#303446",
|
|
20
|
+
"editor.foreground": "#c6d0f5",
|
|
21
|
+
"editor.lineHighlightBackground": "#414559",
|
|
22
|
+
"editor.selectionBackground": "#51576d",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#414559",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#292c3c",
|
|
26
|
+
"editorWidget.border": "#414559",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#292c3c",
|
|
29
|
+
"sideBar.foreground": "#c6d0f5",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f2d5cf",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#babbf1",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#ca9ee6",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#e5c890",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f4b8e4",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#81c8be",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#e78284",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#303446",
|
|
40
|
+
"editorGutter.modifiedBackground": "#8caaee",
|
|
41
|
+
"editorGutter.addedBackground": "#a6d189",
|
|
42
|
+
"editorGutter.deletedBackground": "#e78284",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#737994",
|
|
45
|
+
"editorLineNumber.activeForeground": "#c6d0f5",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f2d5cf",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6d18933",
|
|
50
|
+
"diffEditor.removedTextBackground": "#e7828433"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#4c4f69" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#8839ef" },
|
|
7
|
+
{ "token": "string", "foreground": "#40a02b" },
|
|
8
|
+
{ "token": "number", "foreground": "#fe640b" },
|
|
9
|
+
{ "token": "comment", "foreground": "#9ca0b0" },
|
|
10
|
+
{ "token": "type", "foreground": "#1e66f5" },
|
|
11
|
+
{ "token": "function", "foreground": "#04a5e5" },
|
|
12
|
+
{ "token": "variable", "foreground": "#4c4f69" },
|
|
13
|
+
{ "token": "constant", "foreground": "#fe640b" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#ea76cb" },
|
|
15
|
+
{ "token": "class", "foreground": "#df8e1d" },
|
|
16
|
+
{ "token": "operator", "foreground": "#04a5e5" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#eff1f5",
|
|
20
|
+
"editor.foreground": "#4c4f69",
|
|
21
|
+
"editor.lineHighlightBackground": "#ccd0da",
|
|
22
|
+
"editor.selectionBackground": "#acb0be",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#ccd0da",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#dce0e8",
|
|
26
|
+
"editorWidget.border": "#ccd0da",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#dce0e8",
|
|
29
|
+
"sideBar.foreground": "#4c4f69",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#dc8a78",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#7287fd",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#8839ef",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#df8e1d",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#ea76cb",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#179299",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#d20f39",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#eff1f5",
|
|
40
|
+
"editorGutter.modifiedBackground": "#1e66f5",
|
|
41
|
+
"editorGutter.addedBackground": "#40a02b",
|
|
42
|
+
"editorGutter.deletedBackground": "#d20f39",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#9ca0b0",
|
|
45
|
+
"editorLineNumber.activeForeground": "#4c4f69",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#dc8a78",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#40a02b33",
|
|
50
|
+
"diffEditor.removedTextBackground": "#d20f3933"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#cad3f5" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#c6a0f6" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6da95" },
|
|
8
|
+
{ "token": "number", "foreground": "#f5a97f" },
|
|
9
|
+
{ "token": "comment", "foreground": "#6e738d" },
|
|
10
|
+
{ "token": "type", "foreground": "#8aadf4" },
|
|
11
|
+
{ "token": "function", "foreground": "#91d7e3" },
|
|
12
|
+
{ "token": "variable", "foreground": "#cad3f5" },
|
|
13
|
+
{ "token": "constant", "foreground": "#f5a97f" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f5bde6" },
|
|
15
|
+
{ "token": "class", "foreground": "#eed49f" },
|
|
16
|
+
{ "token": "operator", "foreground": "#91d7e3" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#24273a",
|
|
20
|
+
"editor.foreground": "#cad3f5",
|
|
21
|
+
"editor.lineHighlightBackground": "#363a4f",
|
|
22
|
+
"editor.selectionBackground": "#494d64",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#363a4f",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#181926",
|
|
26
|
+
"editorWidget.border": "#363a4f",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#181926",
|
|
29
|
+
"sideBar.foreground": "#cad3f5",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f4dbd6",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#b7bdf8",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#c6a0f6",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#eed49f",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f5bde6",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#8bd5ca",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#ed8796",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#24273a",
|
|
40
|
+
"editorGutter.modifiedBackground": "#8aadf4",
|
|
41
|
+
"editorGutter.addedBackground": "#a6da95",
|
|
42
|
+
"editorGutter.deletedBackground": "#ed8796",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#6e738d",
|
|
45
|
+
"editorLineNumber.activeForeground": "#cad3f5",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f4dbd6",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6da9533",
|
|
50
|
+
"diffEditor.removedTextBackground": "#ed879633"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base": "vs-dark",
|
|
3
|
+
"inherit": true,
|
|
4
|
+
"rules": [
|
|
5
|
+
{ "token": "", "foreground": "#cdd6f4" },
|
|
6
|
+
{ "token": "keyword", "foreground": "#cba6f7" },
|
|
7
|
+
{ "token": "string", "foreground": "#a6e3a1" },
|
|
8
|
+
{ "token": "number", "foreground": "#fab387" },
|
|
9
|
+
{ "token": "comment", "foreground": "#6c7086" },
|
|
10
|
+
{ "token": "type", "foreground": "#89b4fa" },
|
|
11
|
+
{ "token": "function", "foreground": "#89dceb" },
|
|
12
|
+
{ "token": "variable", "foreground": "#cdd6f4" },
|
|
13
|
+
{ "token": "constant", "foreground": "#fab387" },
|
|
14
|
+
{ "token": "parameter", "foreground": "#f5c2e7" },
|
|
15
|
+
{ "token": "class", "foreground": "#f9e2af" },
|
|
16
|
+
{ "token": "operator", "foreground": "#89dceb" }
|
|
17
|
+
],
|
|
18
|
+
"colors": {
|
|
19
|
+
"editor.background": "#1e1e2e",
|
|
20
|
+
"editor.foreground": "#cdd6f4",
|
|
21
|
+
"editor.lineHighlightBackground": "#313244",
|
|
22
|
+
"editor.selectionBackground": "#45475a",
|
|
23
|
+
"editor.inactiveSelectionBackground": "#313244",
|
|
24
|
+
|
|
25
|
+
"editorWidget.background": "#181825",
|
|
26
|
+
"editorWidget.border": "#313244",
|
|
27
|
+
|
|
28
|
+
"sideBar.background": "#181825",
|
|
29
|
+
"sideBar.foreground": "#cdd6f4",
|
|
30
|
+
|
|
31
|
+
"editorBracketHighlight.foreground1": "#f5e0dc",
|
|
32
|
+
"editorBracketHighlight.foreground2": "#b4befe",
|
|
33
|
+
"editorBracketHighlight.foreground3": "#cba6f7",
|
|
34
|
+
"editorBracketHighlight.foreground4": "#f9e2af",
|
|
35
|
+
"editorBracketHighlight.foreground5": "#f5c2e7",
|
|
36
|
+
"editorBracketHighlight.foreground6": "#94e2d5",
|
|
37
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#f38ba8",
|
|
38
|
+
|
|
39
|
+
"editorGutter.background": "#1e1e2e",
|
|
40
|
+
"editorGutter.modifiedBackground": "#89b4fa",
|
|
41
|
+
"editorGutter.addedBackground": "#a6e3a1",
|
|
42
|
+
"editorGutter.deletedBackground": "#f38ba8",
|
|
43
|
+
|
|
44
|
+
"editorLineNumber.foreground": "#6c7086",
|
|
45
|
+
"editorLineNumber.activeForeground": "#cdd6f4",
|
|
46
|
+
|
|
47
|
+
"editorCursor.foreground": "#f5e0dc",
|
|
48
|
+
|
|
49
|
+
"diffEditor.insertedTextBackground": "#a6e3a133",
|
|
50
|
+
"diffEditor.removedTextBackground": "#f38ba833"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
code[class*="language-"],
|
|
2
|
+
pre[class*="language-"] {
|
|
3
|
+
color: #c6d0f5;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:not(pre) > code[class*="language-"],
|
|
7
|
+
pre[class*="language-"] {
|
|
8
|
+
background: #292c3c;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* https://prismjs.com/tokens.html */
|
|
12
|
+
|
|
13
|
+
.token.keyword {
|
|
14
|
+
color: #ca9ee6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.token.builtin {
|
|
18
|
+
color: #e78284;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.token.class-name {
|
|
22
|
+
color: #e5c890;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.token.function {
|
|
26
|
+
color: #8caaee;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.token.boolean,
|
|
30
|
+
.token.number {
|
|
31
|
+
color: #ef9f76;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.token.string,
|
|
35
|
+
.token.char {
|
|
36
|
+
color: #a6d189;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.token.symbol {
|
|
40
|
+
color: #e5c890;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.token.regex {
|
|
44
|
+
color: #f4b8e4;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.token.url {
|
|
48
|
+
color: #a6d189;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.token.operator {
|
|
52
|
+
color: #99d1db;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.token.variable {
|
|
56
|
+
color: #c6d0f5;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.token.constant {
|
|
60
|
+
color: #ef9f76;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.token.property {
|
|
64
|
+
color: #8caaee;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.token.punctuation {
|
|
68
|
+
color: #949cbb;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.token.important {
|
|
72
|
+
color: #ca9ee6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.token.comment {
|
|
76
|
+
color: #949cbb;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.token.tag {
|
|
80
|
+
color: #8caaee;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.attr-name {
|
|
84
|
+
color: #e5c890;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.token.attr-value {
|
|
88
|
+
color: #a6d189;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.token.namespace {
|
|
92
|
+
color: #e5c890;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.token.prolog,
|
|
96
|
+
.token.doctype {
|
|
97
|
+
color: #ca9ee6;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token.cdata {
|
|
101
|
+
color: #81c8be;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token.entity {
|
|
105
|
+
color: #e78284;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.token.atrule {
|
|
109
|
+
color: #ca9ee6;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.selector {
|
|
113
|
+
color: #8caaee;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Diff */
|
|
117
|
+
|
|
118
|
+
.token.deleted {
|
|
119
|
+
color: #e78284;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.token.inserted {
|
|
123
|
+
color: #a6d189
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Other */
|
|
127
|
+
|
|
128
|
+
.token.important,
|
|
129
|
+
.token.bold {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
.token.italic {
|
|
133
|
+
font-style: italic;
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
code[class*='language-'],
|
|
2
|
+
pre[class*='language-'] {
|
|
3
|
+
color: #4c4f69;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:not(pre) > code[class*='language-'],
|
|
7
|
+
pre[class*='language-'] {
|
|
8
|
+
background: #e6e9ef;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* https://prismjs.com/tokens.html */
|
|
12
|
+
|
|
13
|
+
.token.keyword {
|
|
14
|
+
color: #8839ef;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.token.builtin {
|
|
18
|
+
color: #d20f39;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.token.class-name {
|
|
22
|
+
color: #df8e1d;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.token.function {
|
|
26
|
+
color: #1e66f5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.token.boolean,
|
|
30
|
+
.token.number {
|
|
31
|
+
color: #fe640b;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.token.string,
|
|
35
|
+
.token.char {
|
|
36
|
+
color: #40a02b;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.token.symbol {
|
|
40
|
+
color: #df8e1d;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.token.regex {
|
|
44
|
+
color: #ea76cb;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.token.url {
|
|
48
|
+
color: #40a02b;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.token.operator {
|
|
52
|
+
color: #04a5e5;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.token.variable {
|
|
56
|
+
color: #4c4f69;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.token.constant {
|
|
60
|
+
color: #fe640b;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.token.property {
|
|
64
|
+
color: #1e66f5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.token.punctuation {
|
|
68
|
+
color: #7c7f93;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.token.important {
|
|
72
|
+
color: #8839ef;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.token.comment {
|
|
76
|
+
color: #7c7f93;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.token.tag {
|
|
80
|
+
color: #1e66f5;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.token.attr-name {
|
|
84
|
+
color: #df8e1d;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.token.attr-value {
|
|
88
|
+
color: #40a02b;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.token.namespace {
|
|
92
|
+
color: #df8e1d;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.token.prolog,
|
|
96
|
+
.token.doctype {
|
|
97
|
+
color: #8839ef;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.token.cdata {
|
|
101
|
+
color: #179299;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.token.entity {
|
|
105
|
+
color: #d20f39;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.token.atrule {
|
|
109
|
+
color: #8839ef;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.selector {
|
|
113
|
+
color: #1e66f5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Diff */
|
|
117
|
+
|
|
118
|
+
.token.deleted {
|
|
119
|
+
color: #d20f39;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.token.inserted {
|
|
123
|
+
color: #40a02b;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Other */
|
|
127
|
+
|
|
128
|
+
.token.important,
|
|
129
|
+
.token.bold {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
.token.italic {
|
|
133
|
+
font-style: italic;
|
|
134
|
+
}
|