@estiva-app/ui 0.63.0 → 0.65.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/CodeBlockColours.d.ts +11 -0
- package/dist/CodeBlockColours.d.ts.map +1 -0
- package/dist/Link.d.ts +1 -1
- package/dist/RichText.d.ts +2 -1
- package/dist/RichText.d.ts.map +1 -1
- package/dist/codeColours.d.ts +18 -0
- package/dist/codeColours.d.ts.map +1 -0
- package/dist/editor.d.ts +1 -0
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +21 -0
- package/dist/editor.js.map +3 -3
- package/dist/index.js +58 -31
- package/dist/index.js.map +4 -4
- package/package.json +8 -2
- package/registry.json +33 -14
- package/src/CodeBlockColours.mdx +49 -0
- package/src/CodeBlockColours.stories.tsx +37 -0
- package/src/CodeBlockColours.test.ts +36 -0
- package/src/CodeBlockColours.ts +28 -0
- package/src/Link.mdx +1 -1
- package/src/Link.stories.tsx +1 -1
- package/src/Link.test.tsx +2 -2
- package/src/Link.tsx +2 -2
- package/src/RichText.stories.tsx +24 -0
- package/src/RichText.tsx +31 -17
- package/src/codeColours.ts +41 -0
- package/src/editor.ts +1 -0
- package/src/pages.test.ts +1 -0
- package/src/registry/registry.test.ts +6 -6
- package/stories/Choosing.mdx +1 -0
- package/tailwind-preset.js +7 -0
- package/tokens.css +40 -0
package/tokens.css
CHANGED
|
@@ -101,6 +101,14 @@
|
|
|
101
101
|
/* Code, in a sentence and as a block, and a table's header row (RichText, UIG-30).
|
|
102
102
|
Here, the hover fill: bg-active, #D4D4D8, was the darkest thing on a white card (Katerina, 28 September). */
|
|
103
103
|
--bg-code: #E9E9EB;
|
|
104
|
+
/* Colours inside a code block, by language (Katerina, 9 October). GitHub's light set; the keyword one shade darker (#cf222e is 4.4 : 1 on our fill, this 4.9). */
|
|
105
|
+
--syntax-keyword: #c21f2b;
|
|
106
|
+
--syntax-function: #6639ba;
|
|
107
|
+
--syntax-constant: #0550ae;
|
|
108
|
+
--syntax-string: #0a3069;
|
|
109
|
+
--syntax-variable: #953800;
|
|
110
|
+
--syntax-comment: #59636e;
|
|
111
|
+
--syntax-tag: #116329;
|
|
104
112
|
}
|
|
105
113
|
|
|
106
114
|
/* ─── dark ─── Peek's dark theme (peek/src/index.css .dark, 2026-08-28). */
|
|
@@ -184,6 +192,14 @@
|
|
|
184
192
|
/* Code, in a sentence and as a block, and a table's header row (RichText, UIG-30).
|
|
185
193
|
Here, bg-active, as Peek draws code (Katerina, 28 September). */
|
|
186
194
|
--bg-code: #2D2D31;
|
|
195
|
+
/* Colours inside a code block, by language (Katerina, 9 October). GitHub's dark set. */
|
|
196
|
+
--syntax-keyword: #ff7b72;
|
|
197
|
+
--syntax-function: #d2a8ff;
|
|
198
|
+
--syntax-constant: #79c0ff;
|
|
199
|
+
--syntax-string: #a5d6ff;
|
|
200
|
+
--syntax-variable: #ffa657;
|
|
201
|
+
--syntax-comment: #9198a1;
|
|
202
|
+
--syntax-tag: #7ee787;
|
|
187
203
|
}
|
|
188
204
|
|
|
189
205
|
|
|
@@ -271,6 +287,14 @@
|
|
|
271
287
|
/* Code, in a sentence and as a block, and a table's header row (RichText, UIG-30).
|
|
272
288
|
Here, bg-active, as Peek draws code (Katerina, 28 September). */
|
|
273
289
|
--bg-code: rgba(255, 255, 255, 0.08);
|
|
290
|
+
/* Colours inside a code block, by language (Katerina, 9 October). GitHub's dark set. */
|
|
291
|
+
--syntax-keyword: #ff7b72;
|
|
292
|
+
--syntax-function: #d2a8ff;
|
|
293
|
+
--syntax-constant: #79c0ff;
|
|
294
|
+
--syntax-string: #a5d6ff;
|
|
295
|
+
--syntax-variable: #ffa657;
|
|
296
|
+
--syntax-comment: #9198a1;
|
|
297
|
+
--syntax-tag: #7ee787;
|
|
274
298
|
}
|
|
275
299
|
|
|
276
300
|
/* ─── ship ─── Ship's palette (Katerina's ruling, 2026-08-28; ship/web/src/index.css). */
|
|
@@ -372,6 +396,14 @@
|
|
|
372
396
|
/* Code, in a sentence and as a block, and a table's header row (RichText, UIG-30).
|
|
373
397
|
Here, bg-active, as Peek draws code (Katerina, 28 September). */
|
|
374
398
|
--bg-code: rgba(255, 255, 255, 0.08);
|
|
399
|
+
/* Colours inside a code block, by language (Katerina, 9 October). GitHub's dark set. */
|
|
400
|
+
--syntax-keyword: #ff7b72;
|
|
401
|
+
--syntax-function: #d2a8ff;
|
|
402
|
+
--syntax-constant: #79c0ff;
|
|
403
|
+
--syntax-string: #a5d6ff;
|
|
404
|
+
--syntax-variable: #ffa657;
|
|
405
|
+
--syntax-comment: #9198a1;
|
|
406
|
+
--syntax-tag: #7ee787;
|
|
375
407
|
}
|
|
376
408
|
|
|
377
409
|
/* ─── leaf ─── Leaf's theme: Linear's light theme on these same tokens (Katerina,
|
|
@@ -465,4 +497,12 @@
|
|
|
465
497
|
/* Code, in a sentence and as a block, and a table's header row (RichText, UIG-30).
|
|
466
498
|
Here, the inset fill: lighter than bg-active on a white card (Katerina, 28 September). */
|
|
467
499
|
--bg-code: #e9e9ea;
|
|
500
|
+
/* Colours inside a code block, by language (Katerina, 9 October). GitHub's light set; the keyword one shade darker (#cf222e is 4.4 : 1 on our fill, this 4.9). */
|
|
501
|
+
--syntax-keyword: #c21f2b;
|
|
502
|
+
--syntax-function: #6639ba;
|
|
503
|
+
--syntax-constant: #0550ae;
|
|
504
|
+
--syntax-string: #0a3069;
|
|
505
|
+
--syntax-variable: #953800;
|
|
506
|
+
--syntax-comment: #59636e;
|
|
507
|
+
--syntax-tag: #116329;
|
|
468
508
|
}
|