@chosengeneration/light-code 0.1.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/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/cli.js +6758 -0
- package/dist/client/client.css +91 -0
- package/dist/client/client.js +182 -0
- package/dist/client/index.html +19 -0
- package/dist/server.js +6666 -0
- package/package.json +63 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The theme contract packages/ui styles against.
|
|
3
|
+
*
|
|
4
|
+
* Inside the extension VS Code supplies every --vscode-* variable. A browser has no such
|
|
5
|
+
* host, so the same names are defined here. Redefining them is what lets packages/ui stay
|
|
6
|
+
* byte-identical across both hosts instead of branching on which one it is running in.
|
|
7
|
+
*
|
|
8
|
+
* Follows the OS light/dark preference, since there is no editor theme to follow.
|
|
9
|
+
*/
|
|
10
|
+
:root {
|
|
11
|
+
color-scheme: light dark;
|
|
12
|
+
|
|
13
|
+
--vscode-font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
14
|
+
--vscode-editor-font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
|
|
15
|
+
|
|
16
|
+
--vscode-editor-background: #ffffff;
|
|
17
|
+
--vscode-sideBar-background: #f6f6f6;
|
|
18
|
+
--vscode-foreground: #1f1f1f;
|
|
19
|
+
--vscode-descriptionForeground: #616161;
|
|
20
|
+
--vscode-widget-border: #d4d4d4;
|
|
21
|
+
--vscode-panel-border: #d4d4d4;
|
|
22
|
+
--vscode-input-background: #ffffff;
|
|
23
|
+
--vscode-input-foreground: #1f1f1f;
|
|
24
|
+
--vscode-input-border: #cecece;
|
|
25
|
+
--vscode-button-background: #005fb8;
|
|
26
|
+
--vscode-button-foreground: #ffffff;
|
|
27
|
+
--vscode-button-hoverBackground: #0258a8;
|
|
28
|
+
--vscode-button-secondaryBackground: #e5e5e5;
|
|
29
|
+
--vscode-button-secondaryForeground: #3b3b3b;
|
|
30
|
+
--vscode-button-secondaryHoverBackground: #cccccc;
|
|
31
|
+
--vscode-toolbar-hoverBackground: #e8e8e8;
|
|
32
|
+
--vscode-errorForeground: #e51400;
|
|
33
|
+
--vscode-editorWarning-foreground: #bf8803;
|
|
34
|
+
--vscode-focusBorder: #005fb8;
|
|
35
|
+
--vscode-editor-inactiveSelectionBackground: #f0f0f0;
|
|
36
|
+
--vscode-inputValidation-errorBackground: #fdf3f2;
|
|
37
|
+
--vscode-inputValidation-errorBorder: #e51400;
|
|
38
|
+
--vscode-inputValidation-errorForeground: #1f1f1f;
|
|
39
|
+
--vscode-testing-iconPassed: #3d8f3d;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (prefers-color-scheme: dark) {
|
|
43
|
+
:root {
|
|
44
|
+
--vscode-editor-background: #1f1f1f;
|
|
45
|
+
--vscode-sideBar-background: #181818;
|
|
46
|
+
--vscode-foreground: #cccccc;
|
|
47
|
+
--vscode-descriptionForeground: #9d9d9d;
|
|
48
|
+
--vscode-widget-border: #313131;
|
|
49
|
+
--vscode-panel-border: #2b2b2b;
|
|
50
|
+
--vscode-input-background: #313131;
|
|
51
|
+
--vscode-input-foreground: #cccccc;
|
|
52
|
+
--vscode-input-border: #3c3c3c;
|
|
53
|
+
--vscode-button-background: #0078d4;
|
|
54
|
+
--vscode-button-foreground: #ffffff;
|
|
55
|
+
--vscode-button-hoverBackground: #026ec1;
|
|
56
|
+
--vscode-button-secondaryBackground: #313131;
|
|
57
|
+
--vscode-button-secondaryForeground: #cccccc;
|
|
58
|
+
--vscode-button-secondaryHoverBackground: #3c3c3c;
|
|
59
|
+
--vscode-toolbar-hoverBackground: #2a2a2a;
|
|
60
|
+
--vscode-errorForeground: #f85149;
|
|
61
|
+
--vscode-editorWarning-foreground: #cca700;
|
|
62
|
+
--vscode-focusBorder: #0078d4;
|
|
63
|
+
--vscode-editor-inactiveSelectionBackground: #2a2a2a;
|
|
64
|
+
--vscode-inputValidation-errorBackground: #3c1618;
|
|
65
|
+
--vscode-inputValidation-errorBorder: #be1100;
|
|
66
|
+
--vscode-inputValidation-errorForeground: #cccccc;
|
|
67
|
+
--vscode-testing-iconPassed: #3fb950;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
html,
|
|
72
|
+
body {
|
|
73
|
+
height: 100%;
|
|
74
|
+
margin: 0;
|
|
75
|
+
background: var(--vscode-sideBar-background);
|
|
76
|
+
color: var(--vscode-foreground);
|
|
77
|
+
font-family: var(--vscode-font-family);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#root {
|
|
81
|
+
height: 100%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#status {
|
|
85
|
+
display: none;
|
|
86
|
+
padding: 6px 12px;
|
|
87
|
+
font-size: 12px;
|
|
88
|
+
background: var(--vscode-inputValidation-errorBackground);
|
|
89
|
+
border-bottom: 1px solid var(--vscode-inputValidation-errorBorder);
|
|
90
|
+
color: var(--vscode-inputValidation-errorForeground);
|
|
91
|
+
}
|