@kerebron/extension-codejar 0.5.2 → 0.5.4

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.
@@ -0,0 +1,17 @@
1
+ .codejar-linenumbers-inner-wrap {
2
+ position: absolute;
3
+ top: 0px;
4
+ left: 0px;
5
+ bottom: 0px;
6
+ overflow: hidden;
7
+ }
8
+
9
+ .codejar-linenumbers {
10
+ mix-blend-mode: initial;
11
+ height: 100%;
12
+ }
13
+
14
+ .codejar-linenumber {
15
+ position: relative;
16
+ top: 0px;
17
+ }
@@ -0,0 +1,135 @@
1
+ @import './codejar-linenumbers.css';
2
+
3
+ .codejar-root {
4
+ position: relative;
5
+ }
6
+
7
+ .codejar-root .codejar-select {
8
+ right: 5px;
9
+ top: 5px;
10
+ position: absolute;
11
+ opacity: 0;
12
+ z-index: 99999;
13
+ }
14
+
15
+ .codejar-root:hover .codejar-select {
16
+ opacity: 1;
17
+ }
18
+
19
+ .codejar {
20
+ font-family: monospace;
21
+ }
22
+
23
+ /* TreeSitter */
24
+
25
+ .ts-keyword {
26
+ color: purple;
27
+ font-weight: bold;
28
+ }
29
+ .ts-string {
30
+ color: green;
31
+ }
32
+ .ts-comment {
33
+ color: gray;
34
+ font-style: italic;
35
+ }
36
+
37
+ /* Common captures */
38
+ .ts-property {
39
+ color: #905;
40
+ } /* Property names (e.g., in objects/CSS) */
41
+ .ts-function,
42
+ .ts-function_call {
43
+ color: #07a;
44
+ } /* Functions */
45
+ .ts-keyword {
46
+ color: #d73;
47
+ font-weight: bold;
48
+ } /* Keywords like if, return */
49
+ .ts-string {
50
+ color: #690;
51
+ } /* Strings */
52
+ .ts-number {
53
+ color: #099;
54
+ } /* Numbers */
55
+ .ts-comment {
56
+ color: #998;
57
+ font-style: italic;
58
+ } /* Comments */
59
+ .ts-perator {
60
+ color: #9a6;
61
+ } /* Operators like + - = */
62
+ .ts-type {
63
+ color: #458;
64
+ font-weight: bold;
65
+ } /* Types */
66
+ .ts-variable {
67
+ color: #333;
68
+ } /* Variables */
69
+ .ts-constant,
70
+ .ts-constant_builtin {
71
+ color: #0086b3;
72
+ } /* Constants */
73
+ .ts-punctuation,
74
+ .ts-punctuation_bracket {
75
+ color: #999;
76
+ } /* Brackets, commas */
77
+ .ts-namespace {
78
+ color: #000;
79
+ font-weight: bold;
80
+ }
81
+
82
+ /* More specific ones */
83
+ .ts-function_builtin {
84
+ color: #d73;
85
+ }
86
+ .ts-keyword_operator {
87
+ color: #d73;
88
+ }
89
+ .ts-string_special {
90
+ color: #d44;
91
+ } /* e.g., regex */
92
+ .ts-tag {
93
+ color: #008080;
94
+ } /* HTML/XML tags */
95
+ .ts-attribute {
96
+ color: #e90;
97
+ } /* Attributes */
98
+
99
+ @media (prefers-color-scheme: dark) {
100
+ /* Dark mode adjustments */
101
+ .ts-property {
102
+ color: #9cdcfe;
103
+ }
104
+ .ts-function {
105
+ color: #dcdcaa;
106
+ }
107
+ .ts-keyword {
108
+ color: #c586c0;
109
+ }
110
+ .ts-string {
111
+ color: #ce9178;
112
+ }
113
+ .ts-number {
114
+ color: #b5cea8;
115
+ }
116
+ .ts-comment {
117
+ color: #6a9955;
118
+ }
119
+ .ts-operator {
120
+ color: #d4d4d4;
121
+ }
122
+ .ts-type {
123
+ color: #4ec9b0;
124
+ }
125
+ .ts-constant {
126
+ color: #4fc1ff;
127
+ }
128
+ }
129
+
130
+ .ts-diff_plus {
131
+ color: green;
132
+ }
133
+ .ts-diff_minus {
134
+ color: red;
135
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kerebron/extension-codejar",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "license": "MIT",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -14,15 +14,16 @@
14
14
  "scripts": {},
15
15
  "files": [
16
16
  "esm",
17
- "src"
17
+ "src",
18
+ "assets"
18
19
  ],
19
20
  "dependencies": {
20
- "@kerebron/editor": "0.5.2",
21
- "@kerebron/extension-basic-editor": "0.5.2",
22
- "@kerebron/extension-lsp": "0.5.2",
23
- "@kerebron/extension-markdown": "0.5.2",
24
- "@kerebron/tree-sitter": "0.5.2",
25
- "@kerebron/wasm": "0.5.2",
21
+ "@kerebron/editor": "0.5.4",
22
+ "@kerebron/extension-basic-editor": "0.5.4",
23
+ "@kerebron/extension-lsp": "0.5.4",
24
+ "@kerebron/extension-markdown": "0.5.4",
25
+ "@kerebron/tree-sitter": "0.5.4",
26
+ "@kerebron/wasm": "0.5.4",
26
27
  "prosemirror-model": "1.25.3",
27
28
  "prosemirror-state": "1.4.3",
28
29
  "prosemirror-view": "1.40.0",