@bigpixelrocket/uiok 0.2.3 → 0.4.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.
Files changed (215) hide show
  1. package/CHANGELOG.md +48 -1
  2. package/dist/charts/Sparkline.d.ts +20 -0
  3. package/dist/charts/Sparkline.js +12 -0
  4. package/dist/charts/Sparkline.logic.d.ts +9 -0
  5. package/dist/charts/Sparkline.logic.js +27 -0
  6. package/dist/charts/charts.css +17 -0
  7. package/dist/charts/index.d.ts +2 -0
  8. package/dist/charts/index.js +2 -0
  9. package/dist/dialog/ConfirmDialog.d.ts +17 -1
  10. package/dist/dialog/ConfirmDialog.js +4 -3
  11. package/dist/dialog/ModalDialog.d.ts +8 -0
  12. package/dist/dialog/ModalDialog.js +4 -2
  13. package/dist/dialog/ProgressDialog.d.ts +40 -0
  14. package/dist/dialog/ProgressDialog.js +40 -0
  15. package/dist/dialog/TypedNameDialog.d.ts +44 -0
  16. package/dist/dialog/TypedNameDialog.js +17 -0
  17. package/dist/dialog/index.d.ts +5 -2
  18. package/dist/dialog/index.js +4 -1
  19. package/dist/field/Check.d.ts +9 -2
  20. package/dist/field/Check.js +5 -4
  21. package/dist/field/Controls.d.ts +198 -0
  22. package/dist/field/Controls.js +94 -0
  23. package/dist/field/FieldLayout.d.ts +126 -0
  24. package/dist/field/FieldLayout.js +89 -0
  25. package/dist/field/Switch.d.ts +26 -0
  26. package/dist/field/Switch.js +20 -0
  27. package/dist/field/index.d.ts +10 -6
  28. package/dist/field/index.js +10 -6
  29. package/dist/frame/AppRoot.d.ts +44 -0
  30. package/dist/frame/AppRoot.js +26 -0
  31. package/dist/frame/Dock.d.ts +88 -0
  32. package/dist/frame/Dock.js +129 -0
  33. package/dist/frame/FilterChips.d.ts +28 -0
  34. package/dist/frame/FilterChips.js +14 -0
  35. package/dist/frame/PageParts.d.ts +69 -0
  36. package/dist/frame/PageParts.js +60 -0
  37. package/dist/frame/PaneSplit.d.ts +74 -0
  38. package/dist/frame/PaneSplit.js +197 -0
  39. package/dist/frame/SidebarResizer.d.ts +35 -0
  40. package/dist/frame/SidebarResizer.js +43 -0
  41. package/dist/frame/StatusNotice.d.ts +20 -0
  42. package/dist/frame/StatusNotice.js +13 -0
  43. package/dist/frame/Tree.d.ts +147 -0
  44. package/dist/frame/Tree.js +164 -0
  45. package/dist/frame/TreeToggle.d.ts +18 -0
  46. package/dist/frame/TreeToggle.js +17 -0
  47. package/dist/frame/WindowFrame.d.ts +57 -0
  48. package/dist/frame/WindowFrame.js +19 -0
  49. package/dist/frame/frame.css +801 -0
  50. package/dist/frame/index.d.ts +22 -0
  51. package/dist/frame/index.js +22 -0
  52. package/dist/frame/sharedRef.d.ts +8 -0
  53. package/dist/frame/sharedRef.js +26 -0
  54. package/dist/index.d.ts +3 -0
  55. package/dist/index.js +3 -0
  56. package/dist/labels/UiokLabels.d.ts +6 -0
  57. package/dist/labels/UiokLabels.js +5 -1
  58. package/dist/labels/dialog.d.ts +12 -0
  59. package/dist/labels/dialog.js +7 -1
  60. package/dist/labels/index.d.ts +2 -0
  61. package/dist/labels/index.js +2 -0
  62. package/dist/labels/settings.d.ts +46 -0
  63. package/dist/labels/settings.js +29 -0
  64. package/dist/labels/viewer.d.ts +193 -0
  65. package/dist/labels/viewer.js +124 -0
  66. package/dist/listing/EmptyState.d.ts +40 -0
  67. package/dist/listing/EmptyState.js +14 -0
  68. package/dist/listing/PaneMessage.d.ts +28 -0
  69. package/dist/listing/PaneMessage.js +12 -0
  70. package/dist/listing/index.d.ts +5 -1
  71. package/dist/listing/index.js +5 -1
  72. package/dist/listing/listing.css +66 -2
  73. package/dist/log/LogWell.d.ts +34 -0
  74. package/dist/log/LogWell.js +39 -0
  75. package/dist/log/LogWell.logic.d.ts +16 -0
  76. package/dist/log/LogWell.logic.js +26 -0
  77. package/dist/log/index.d.ts +8 -0
  78. package/dist/log/index.js +8 -0
  79. package/dist/log/log.css +57 -0
  80. package/dist/pane/Pane.d.ts +49 -0
  81. package/dist/pane/Pane.js +17 -0
  82. package/dist/pane/PaneKeys.d.ts +10 -3
  83. package/dist/pane/PaneKeys.js +26 -7
  84. package/dist/pane/index.d.ts +4 -2
  85. package/dist/pane/index.js +4 -2
  86. package/dist/pane/usePaneKeys.js +9 -11
  87. package/dist/shell/AboutWindow.d.ts +21 -0
  88. package/dist/shell/AboutWindow.js +10 -0
  89. package/dist/shell/LanguageChoice.d.ts +27 -0
  90. package/dist/shell/LanguageChoice.js +17 -0
  91. package/dist/shell/LoadFailure.d.ts +22 -0
  92. package/dist/shell/LoadFailure.js +15 -0
  93. package/dist/shell/Lockup.d.ts +52 -0
  94. package/dist/shell/Lockup.js +30 -0
  95. package/dist/shell/SettingsDialog.d.ts +97 -0
  96. package/dist/shell/SettingsDialog.js +219 -0
  97. package/dist/shell/SettingsDialog.logic.d.ts +33 -0
  98. package/dist/shell/SettingsDialog.logic.js +42 -0
  99. package/dist/shell/SettingsFiles.d.ts +55 -0
  100. package/dist/shell/SettingsFiles.js +30 -0
  101. package/dist/shell/SettingsPageKeys.d.ts +42 -0
  102. package/dist/shell/SettingsPageKeys.js +70 -0
  103. package/dist/shell/SettingsSubsection.d.ts +34 -0
  104. package/dist/shell/SettingsSubsection.js +30 -0
  105. package/dist/shell/SignIn.d.ts +61 -0
  106. package/dist/shell/SignIn.js +36 -0
  107. package/dist/shell/ThemePicker.d.ts +74 -0
  108. package/dist/shell/ThemePicker.js +96 -0
  109. package/dist/shell/ThemePicker.logic.d.ts +13 -0
  110. package/dist/shell/ThemePicker.logic.js +26 -0
  111. package/dist/shell/TitleBar.d.ts +44 -0
  112. package/dist/shell/TitleBar.js +23 -0
  113. package/dist/shell/UpdatePill.d.ts +26 -0
  114. package/dist/shell/UpdatePill.js +17 -0
  115. package/dist/shell/Updates.d.ts +99 -0
  116. package/dist/shell/Updates.js +72 -0
  117. package/dist/shell/index.d.ts +27 -0
  118. package/dist/shell/index.js +27 -0
  119. package/dist/shell/shell.css +243 -4
  120. package/dist/styles.css +5 -0
  121. package/dist/surface/Card.d.ts +18 -0
  122. package/dist/surface/Card.js +10 -0
  123. package/dist/surface/Notice.d.ts +45 -0
  124. package/dist/surface/Notice.js +27 -0
  125. package/dist/surface/index.d.ts +5 -3
  126. package/dist/surface/index.js +5 -3
  127. package/dist/themes/catalog.js +4 -0
  128. package/dist/themes/themes.generated.css +245 -0
  129. package/dist/themes/tokens.d.ts +17 -5
  130. package/dist/themes/tokens.js +67 -1
  131. package/dist/tokens.css +11 -0
  132. package/dist/viewer/AudioView.d.ts +13 -0
  133. package/dist/viewer/AudioView.js +25 -0
  134. package/dist/viewer/HexJump.logic.d.ts +16 -0
  135. package/dist/viewer/HexJump.logic.js +27 -0
  136. package/dist/viewer/HexRows.logic.d.ts +55 -0
  137. package/dist/viewer/HexRows.logic.js +84 -0
  138. package/dist/viewer/HexSelection.logic.d.ts +57 -0
  139. package/dist/viewer/HexSelection.logic.js +68 -0
  140. package/dist/viewer/HexView.d.ts +10 -0
  141. package/dist/viewer/HexView.js +291 -0
  142. package/dist/viewer/HexViewport.logic.d.ts +61 -0
  143. package/dist/viewer/HexViewport.logic.js +79 -0
  144. package/dist/viewer/ImageView.d.ts +19 -0
  145. package/dist/viewer/ImageView.js +230 -0
  146. package/dist/viewer/ImageZoom.logic.d.ts +65 -0
  147. package/dist/viewer/ImageZoom.logic.js +119 -0
  148. package/dist/viewer/LatestRead.logic.d.ts +27 -0
  149. package/dist/viewer/LatestRead.logic.js +55 -0
  150. package/dist/viewer/MediaControls.d.ts +25 -0
  151. package/dist/viewer/MediaControls.js +183 -0
  152. package/dist/viewer/MediaPlayer.logic.d.ts +53 -0
  153. package/dist/viewer/MediaPlayer.logic.js +68 -0
  154. package/dist/viewer/PdfView.d.ts +23 -0
  155. package/dist/viewer/PdfView.js +25 -0
  156. package/dist/viewer/QuietFocus.d.ts +19 -0
  157. package/dist/viewer/QuietFocus.js +27 -0
  158. package/dist/viewer/ScaledScroll.logic.d.ts +30 -0
  159. package/dist/viewer/ScaledScroll.logic.js +28 -0
  160. package/dist/viewer/ScaledScrollbar.d.ts +19 -0
  161. package/dist/viewer/ScaledScrollbar.js +71 -0
  162. package/dist/viewer/SyntaxHighlighter.d.ts +29 -0
  163. package/dist/viewer/SyntaxHighlighter.js +144 -0
  164. package/dist/viewer/SyntaxLanguage.logic.d.ts +110 -0
  165. package/dist/viewer/SyntaxLanguage.logic.js +283 -0
  166. package/dist/viewer/SyntaxService.d.ts +75 -0
  167. package/dist/viewer/SyntaxService.js +49 -0
  168. package/dist/viewer/SyntaxSession.logic.d.ts +78 -0
  169. package/dist/viewer/SyntaxSession.logic.js +221 -0
  170. package/dist/viewer/SyntaxWorker.d.ts +6 -0
  171. package/dist/viewer/SyntaxWorker.js +8 -0
  172. package/dist/viewer/TextEncoding.logic.d.ts +35 -0
  173. package/dist/viewer/TextEncoding.logic.js +58 -0
  174. package/dist/viewer/TextRows.logic.d.ts +86 -0
  175. package/dist/viewer/TextRows.logic.js +241 -0
  176. package/dist/viewer/TextSelection.logic.d.ts +97 -0
  177. package/dist/viewer/TextSelection.logic.js +139 -0
  178. package/dist/viewer/TextView.d.ts +13 -0
  179. package/dist/viewer/TextView.js +448 -0
  180. package/dist/viewer/TextViewport.logic.d.ts +70 -0
  181. package/dist/viewer/TextViewport.logic.js +116 -0
  182. package/dist/viewer/VideoView.d.ts +18 -0
  183. package/dist/viewer/VideoView.js +53 -0
  184. package/dist/viewer/ViewerClipboard.d.ts +30 -0
  185. package/dist/viewer/ViewerClipboard.js +70 -0
  186. package/dist/viewer/ViewerFrame.logic.d.ts +61 -0
  187. package/dist/viewer/ViewerFrame.logic.js +130 -0
  188. package/dist/viewer/ViewerKeys.d.ts +16 -0
  189. package/dist/viewer/ViewerKeys.js +14 -0
  190. package/dist/viewer/ViewerScope.d.ts +12 -0
  191. package/dist/viewer/ViewerScope.js +22 -0
  192. package/dist/viewer/ViewerViews.d.ts +28 -0
  193. package/dist/viewer/ViewerViews.js +22 -0
  194. package/dist/viewer/ViewerWindow.d.ts +53 -0
  195. package/dist/viewer/ViewerWindow.js +219 -0
  196. package/dist/viewer/index.d.ts +12 -0
  197. package/dist/viewer/index.js +12 -0
  198. package/dist/viewer/types.d.ts +151 -0
  199. package/dist/viewer/types.js +26 -0
  200. package/dist/viewer/useElementHeight.d.ts +6 -0
  201. package/dist/viewer/useElementHeight.js +22 -0
  202. package/dist/viewer/useElementSize.d.ts +7 -0
  203. package/dist/viewer/useElementSize.js +24 -0
  204. package/dist/viewer/useEscapeToClear.d.ts +8 -0
  205. package/dist/viewer/useEscapeToClear.js +26 -0
  206. package/dist/viewer/useHexDocument.d.ts +41 -0
  207. package/dist/viewer/useHexDocument.js +144 -0
  208. package/dist/viewer/useMediaElement.d.ts +10 -0
  209. package/dist/viewer/useMediaElement.js +24 -0
  210. package/dist/viewer/useSyntaxHighlight.d.ts +24 -0
  211. package/dist/viewer/useSyntaxHighlight.js +133 -0
  212. package/dist/viewer/useTextDocument.d.ts +66 -0
  213. package/dist/viewer/useTextDocument.js +245 -0
  214. package/dist/viewer/viewer.css +645 -0
  215. package/package.json +7 -1
@@ -0,0 +1,45 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ /**
3
+ * A notice's tone: `note` a plain fact, `success` a step that worked,
4
+ * `warning` a state that needs a second look, `danger` a failure.
5
+ */
6
+ export type NoticeTone = 'note' | 'success' | 'warning' | 'danger';
7
+ /** Props for {@link Notice}. */
8
+ export interface NoticeProps {
9
+ /** The words: a sentence, which may hold `<code>` for a server's or a system's own words. */
10
+ readonly children: ReactNode;
11
+ /** The tone; `note` by default. */
12
+ readonly tone?: NoticeTone;
13
+ /**
14
+ * What leads the line: by default the tone's glyph (Info, CircleCheck,
15
+ * TriangleAlert, CircleAlert); another node in its place (a `Spinner`
16
+ * while work runs); or `null` for none.
17
+ */
18
+ readonly glyph?: ReactNode;
19
+ /** Small buttons after the words, centred on their first line (a Reload, a Retry). */
20
+ readonly actions?: ReactNode;
21
+ /**
22
+ * Sets the notice as the window's status line under a header: one line at
23
+ * the window's inset with a hairline under it, its words cut with an
24
+ * ellipsis in a narrow window and given whole as a tooltip. Give
25
+ * `cutText` the words as plain text for that tooltip.
26
+ */
27
+ readonly band?: boolean;
28
+ /** The words as plain text, for the tooltip a `band` shows while it cuts them. */
29
+ readonly cutText?: string;
30
+ /**
31
+ * The live-region role: `status` (the default) for a line assistive
32
+ * technology reads when it changes, `alert` for a failure it reads at
33
+ * once, or `null` for a notice that is part of the page as it loads.
34
+ */
35
+ readonly role?: 'status' | 'alert' | null;
36
+ }
37
+ /**
38
+ * An application's status line, never a web page's alert: a small glyph in
39
+ * the tone's colour, the words in the text colour, and optional small
40
+ * buttons after them, with no fill, frame, or side bar. It sits on the
41
+ * surface it is about (a step, a field, a pane), or, as a `band`, under a
42
+ * window's header until its cause goes. Draws `.notice` (`.notice-danger`,
43
+ * `.notice-warning`, `.notice-success`, `.notice-card`).
44
+ */
45
+ export declare function Notice({ children, tone, glyph, actions, band, cutText, role }: NoticeProps): ReactElement;
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CircleAlert, CircleCheck, Info, TriangleAlert } from 'lucide-react';
3
+ import { ICON_MD } from '../icon/sizes.js';
4
+ import { cutTooltip } from '../tooltip/Tooltip.logic.js';
5
+ const TONE_GLYPH = {
6
+ note: Info,
7
+ success: CircleCheck,
8
+ warning: TriangleAlert,
9
+ danger: CircleAlert
10
+ };
11
+ /**
12
+ * An application's status line, never a web page's alert: a small glyph in
13
+ * the tone's colour, the words in the text colour, and optional small
14
+ * buttons after them, with no fill, frame, or side bar. It sits on the
15
+ * surface it is about (a step, a field, a pane), or, as a `band`, under a
16
+ * window's header until its cause goes. Draws `.notice` (`.notice-danger`,
17
+ * `.notice-warning`, `.notice-success`, `.notice-card`).
18
+ */
19
+ export function Notice({ children, tone = 'note', glyph, actions, band = false, cutText, role = 'status' }) {
20
+ const Glyph = TONE_GLYPH[tone];
21
+ const classes = ['notice'];
22
+ if (tone !== 'note')
23
+ classes.push(`notice-${tone}`);
24
+ if (band)
25
+ classes.push('notice-card');
26
+ return (_jsxs("div", { className: classes.join(' '), role: role ?? undefined, children: [glyph === undefined ? (_jsx(Glyph, { "aria-hidden": true, size: ICON_MD })) : glyph === null ? null : (_jsx("span", { "aria-hidden": true, className: "notice-glyph", children: glyph })), _jsx("span", { className: "notice-text", ...(band ? cutTooltip(cutText) : {}), children: children }), actions ? _jsx("span", { className: "notice-actions", children: actions }) : null] }));
27
+ }
@@ -1,7 +1,9 @@
1
1
  /**
2
- * Surfaces: `GroupSwatch`, a group's colour beside its name, and `Tag`, a
3
- * small worded tag in a tone. The notice and card looks of this area are
4
- * classes in `@bigpixelrocket/uiok/styles.css`, with no module.
2
+ * Surfaces: `Notice`, an application's status line in a tone; `Card`, a
3
+ * lifted panel for one subject's lines; `GroupSwatch`, a group's colour
4
+ * beside its name; and `Tag`, a small worded tag in a tone.
5
5
  */
6
+ export { Card, type CardProps } from './Card.js';
7
+ export { Notice, type NoticeProps, type NoticeTone } from './Notice.js';
6
8
  export { GroupSwatch, type GroupSwatchProps } from './GroupSwatch.js';
7
9
  export { Tag, type TagProps, type TagTone } from './Tag.js';
@@ -1,7 +1,9 @@
1
1
  /**
2
- * Surfaces: `GroupSwatch`, a group's colour beside its name, and `Tag`, a
3
- * small worded tag in a tone. The notice and card looks of this area are
4
- * classes in `@bigpixelrocket/uiok/styles.css`, with no module.
2
+ * Surfaces: `Notice`, an application's status line in a tone; `Card`, a
3
+ * lifted panel for one subject's lines; `GroupSwatch`, a group's colour
4
+ * beside its name; and `Tag`, a small worded tag in a tone.
5
5
  */
6
+ export { Card } from './Card.js';
7
+ export { Notice } from './Notice.js';
6
8
  export { GroupSwatch } from './GroupSwatch.js';
7
9
  export { Tag } from './Tag.js';
@@ -52,6 +52,10 @@ const CATPPUCCIN_LATTE = {
52
52
  cursor: '#dc8a78'
53
53
  },
54
54
  overrides: {
55
+ // A channel tag's words, darkened past the least step that holds 4.5:1
56
+ // on its tint, so they keep 4.5:1 on the tint over the title bar too.
57
+ '--channel-latest-text': '#6d2ebf',
58
+ '--channel-local-text': '#983c07',
55
59
  // Lavender a step stronger than the primary hue itself, so the fill
56
60
  // carries white text at 4.7:1 where the hue stops at 3.2:1.
57
61
  '--primary': '#5468e4',
@@ -11,6 +11,11 @@
11
11
 
12
12
  :root {
13
13
  color-scheme: light dark;
14
+ --brand-white: #ffffff;
15
+ --brand-plate: #11111b;
16
+ --brand-plate-dark: color-mix(in srgb, var(--accent) 70%, var(--brand-plate));
17
+ --brand-badge-dark: color-mix(in srgb, var(--success) 70%, var(--brand-plate));
18
+ --letterbox: #000000;
14
19
  --ground: var(--bg);
15
20
  --surface: var(--bg-panel);
16
21
  --surface-header: var(--bg-header);
@@ -125,6 +130,12 @@
125
130
  --group-yellow: #df8e1d;
126
131
  --group-red: #d20f39;
127
132
  --group-dot-ring: inset 0 0 0 1px rgb(76 79 105 / 28%);
133
+ --channel-name: var(--row-meta-text);
134
+ --channel-detail: var(--channel-name);
135
+ --channel-latest: #8839ef;
136
+ --channel-latest-text: #6d2ebf;
137
+ --channel-local: #fe640b;
138
+ --channel-local-text: #983c07;
128
139
  --chart-1: #1e66f5;
129
140
  --chart-2: #e2590a;
130
141
  --chart-3: #3d9829;
@@ -133,6 +144,12 @@
133
144
  --chart-6: #d20f39;
134
145
  --chart-7: #b97618;
135
146
  --chart-8: #c563ab;
147
+ --log-source-1: #307820;
148
+ --log-source-2: #9a4e86;
149
+ --log-source-3: #1c5fe4;
150
+ --log-source-4: #b24608;
151
+ --log-source-5: #127379;
152
+ --log-source-6: #8738ed;
136
153
  --terminal-bg: #eff1f5;
137
154
  --terminal-fg: #4c4f69;
138
155
  --terminal-cursor: #b87b74;
@@ -252,6 +269,12 @@
252
269
  --group-yellow: #f9e2af;
253
270
  --group-red: #f38ba8;
254
271
  --group-dot-ring: none;
272
+ --channel-name: var(--row-meta-text);
273
+ --channel-detail: #7f849c;
274
+ --channel-latest: #cba6f7;
275
+ --channel-latest-text: #cba6f7;
276
+ --channel-local: #fab387;
277
+ --channel-local-text: #fab387;
255
278
  --chart-1: #89b4fa;
256
279
  --chart-2: #fab387;
257
280
  --chart-3: #a6e3a1;
@@ -260,6 +283,12 @@
260
283
  --chart-6: #f38ba8;
261
284
  --chart-7: #f9e2af;
262
285
  --chart-8: #f5c2e7;
286
+ --log-source-1: #a6e3a1;
287
+ --log-source-2: #f5c2e7;
288
+ --log-source-3: #89b4fa;
289
+ --log-source-4: #fab387;
290
+ --log-source-5: #94e2d5;
291
+ --log-source-6: #cba6f7;
263
292
  --terminal-bg: #1e1e2e;
264
293
  --terminal-fg: #cdd6f4;
265
294
  --terminal-cursor: #f5e0dc;
@@ -379,6 +408,12 @@
379
408
  --group-yellow: #df8e1d;
380
409
  --group-red: #d20f39;
381
410
  --group-dot-ring: inset 0 0 0 1px rgb(76 79 105 / 28%);
411
+ --channel-name: var(--row-meta-text);
412
+ --channel-detail: var(--channel-name);
413
+ --channel-latest: #8839ef;
414
+ --channel-latest-text: #6d2ebf;
415
+ --channel-local: #fe640b;
416
+ --channel-local-text: #983c07;
382
417
  --chart-1: #1e66f5;
383
418
  --chart-2: #e2590a;
384
419
  --chart-3: #3d9829;
@@ -387,6 +422,12 @@
387
422
  --chart-6: #d20f39;
388
423
  --chart-7: #b97618;
389
424
  --chart-8: #c563ab;
425
+ --log-source-1: #307820;
426
+ --log-source-2: #9a4e86;
427
+ --log-source-3: #1c5fe4;
428
+ --log-source-4: #b24608;
429
+ --log-source-5: #127379;
430
+ --log-source-6: #8738ed;
390
431
  --terminal-bg: #eff1f5;
391
432
  --terminal-fg: #4c4f69;
392
433
  --terminal-cursor: #b87b74;
@@ -504,6 +545,12 @@
504
545
  --group-yellow: #9a6700;
505
546
  --group-red: #cf222e;
506
547
  --group-dot-ring: none;
548
+ --channel-name: var(--row-meta-text);
549
+ --channel-detail: var(--channel-name);
550
+ --channel-latest: #8250df;
551
+ --channel-latest-text: #7649cb;
552
+ --channel-local: #bc4c00;
553
+ --channel-local-text: #ab4500;
507
554
  --chart-1: #0969da;
508
555
  --chart-2: #bc4c00;
509
556
  --chart-3: #1a7f37;
@@ -512,6 +559,12 @@
512
559
  --chart-6: #cf222e;
513
560
  --chart-7: #bf3989;
514
561
  --chart-8: #3192aa;
562
+ --log-source-1: #1a7f37;
563
+ --log-source-2: #bf3989;
564
+ --log-source-3: #0969da;
565
+ --log-source-4: #bc4c00;
566
+ --log-source-5: #1b7c83;
567
+ --log-source-6: #8250df;
515
568
  --terminal-bg: #ffffff;
516
569
  --terminal-fg: #1f2328;
517
570
  --terminal-cursor: #0969da;
@@ -629,6 +682,12 @@
629
682
  --group-yellow: #b57614;
630
683
  --group-red: #9d0006;
631
684
  --group-dot-ring: none;
685
+ --channel-name: var(--row-meta-text);
686
+ --channel-detail: var(--channel-name);
687
+ --channel-latest: #8f3f71;
688
+ --channel-latest-text: #8c3e6f;
689
+ --channel-local: #af3a03;
690
+ --channel-local-text: #a13503;
632
691
  --chart-1: #076678;
633
692
  --chart-2: #af3a03;
634
693
  --chart-3: #79740e;
@@ -637,6 +696,12 @@
637
696
  --chart-6: #9d0006;
638
697
  --chart-7: #b57614;
639
698
  --chart-8: #b16286;
699
+ --log-source-1: #6d680d;
700
+ --log-source-2: #93516f;
701
+ --log-source-3: #076678;
702
+ --log-source-4: #af3a03;
703
+ --log-source-5: #3d7151;
704
+ --log-source-6: #8f3f71;
640
705
  --terminal-bg: #fbf1c7;
641
706
  --terminal-fg: #3c3836;
642
707
  --terminal-cursor: #3c3836;
@@ -754,6 +819,12 @@
754
819
  --group-yellow: #c18401;
755
820
  --group-red: #e45649;
756
821
  --group-dot-ring: inset 0 0 0 1px rgb(56 58 66 / 28%);
822
+ --channel-name: var(--row-meta-text);
823
+ --channel-detail: var(--channel-name);
824
+ --channel-latest: #a626a4;
825
+ --channel-latest-text: #9c249a;
826
+ --channel-local: #986801;
827
+ --channel-local-text: #805701;
757
828
  --chart-1: #4078f2;
758
829
  --chart-2: #986801;
759
830
  --chart-3: #4a9649;
@@ -762,6 +833,12 @@
762
833
  --chart-6: #e45649;
763
834
  --chart-7: #ca1243;
764
835
  --chart-8: #3d62b4;
836
+ --log-source-1: #3a763a;
837
+ --log-source-2: #a626a4;
838
+ --log-source-3: #3665cb;
839
+ --log-source-4: #8d6101;
840
+ --log-source-5: #0170a0;
841
+ --log-source-6: #a626a4;
765
842
  --terminal-bg: #fafafa;
766
843
  --terminal-fg: #383a42;
767
844
  --terminal-cursor: #526fff;
@@ -879,6 +956,12 @@
879
956
  --group-yellow: #ea9d34;
880
957
  --group-red: #b4637a;
881
958
  --group-dot-ring: inset 0 0 0 1px rgb(87 82 121 / 28%);
959
+ --channel-name: var(--row-meta-text);
960
+ --channel-detail: var(--channel-name);
961
+ --channel-latest: #907aa9;
962
+ --channel-latest-text: #69597b;
963
+ --channel-local: #ea9d34;
964
+ --channel-local-text: #885b1e;
882
965
  --chart-1: #286983;
883
966
  --chart-2: #b77a29;
884
967
  --chart-3: #907aa9;
@@ -887,6 +970,12 @@
887
970
  --chart-6: #826455;
888
971
  --chart-7: #1a4455;
889
972
  --chart-8: #774f1b;
973
+ --log-source-1: #286983;
974
+ --log-source-2: #945a57;
975
+ --log-source-3: #286983;
976
+ --log-source-4: #8f6020;
977
+ --log-source-5: #417079;
978
+ --log-source-6: #736287;
890
979
  --terminal-bg: #faf4ed;
891
980
  --terminal-fg: #575279;
892
981
  --terminal-cursor: #8f8aa0;
@@ -1004,6 +1093,12 @@
1004
1093
  --group-yellow: #b58900;
1005
1094
  --group-red: #dc322f;
1006
1095
  --group-dot-ring: inset 0 0 0 1px rgb(71 98 106 / 28%);
1096
+ --channel-name: var(--row-meta-text);
1097
+ --channel-detail: var(--channel-name);
1098
+ --channel-latest: #6c71c4;
1099
+ --channel-latest-text: #545899;
1100
+ --channel-local: #cb4b16;
1101
+ --channel-local-text: #a23c12;
1007
1102
  --chart-1: #268bd2;
1008
1103
  --chart-2: #cb4b16;
1009
1104
  --chart-3: #7a8d00;
@@ -1012,6 +1107,12 @@
1012
1107
  --chart-6: #a87f00;
1013
1108
  --chart-7: #d33682;
1014
1109
  --chart-8: #9d5333;
1110
+ --log-source-1: #606e00;
1111
+ --log-source-2: #ba3072;
1112
+ --log-source-3: #1e6ca4;
1113
+ --log-source-4: #b54314;
1114
+ --log-source-5: #1e746d;
1115
+ --log-source-6: #5d61a9;
1015
1116
  --terminal-bg: #fdf6e3;
1016
1117
  --terminal-fg: #47626a;
1017
1118
  --terminal-cursor: #586e75;
@@ -1129,6 +1230,12 @@
1129
1230
  --group-yellow: #8c6c3e;
1130
1231
  --group-red: #f52a65;
1131
1232
  --group-dot-ring: inset 0 0 0 1px rgb(46 81 160 / 28%);
1233
+ --channel-name: var(--row-meta-text);
1234
+ --channel-detail: var(--channel-name);
1235
+ --channel-latest: #9854f1;
1236
+ --channel-latest-text: #6d3cae;
1237
+ --channel-local: #b15c00;
1238
+ --channel-local-text: #854500;
1132
1239
  --chart-1: #2d7be4;
1133
1240
  --chart-2: #b15c00;
1134
1241
  --chart-3: #587539;
@@ -1137,6 +1244,12 @@
1137
1244
  --chart-6: #eb2861;
1138
1245
  --chart-7: #8c6c3e;
1139
1246
  --chart-8: #667abc;
1247
+ --log-source-1: #4f6933;
1248
+ --log-source-2: #bf005c;
1249
+ --log-source-3: #2360b3;
1250
+ --log-source-4: #964e00;
1251
+ --log-source-5: #0d6d5a;
1252
+ --log-source-6: #7a43c1;
1140
1253
  --terminal-bg: #e1e2e7;
1141
1254
  --terminal-fg: #2e51a0;
1142
1255
  --terminal-cursor: #3760bf;
@@ -1257,6 +1370,12 @@
1257
1370
  --group-yellow: #e5c890;
1258
1371
  --group-red: #e78284;
1259
1372
  --group-dot-ring: none;
1373
+ --channel-name: var(--row-meta-text);
1374
+ --channel-detail: #949cbb;
1375
+ --channel-latest: #ca9ee6;
1376
+ --channel-latest-text: #cda3e7;
1377
+ --channel-local: #ef9f76;
1378
+ --channel-local-text: #efa077;
1260
1379
  --chart-1: #8caaee;
1261
1380
  --chart-2: #ef9f76;
1262
1381
  --chart-3: #a6d189;
@@ -1265,6 +1384,12 @@
1265
1384
  --chart-6: #e5c890;
1266
1385
  --chart-7: #f4b8e4;
1267
1386
  --chart-8: #b8d0c4;
1387
+ --log-source-1: #a6d189;
1388
+ --log-source-2: #f4b8e4;
1389
+ --log-source-3: #8caaee;
1390
+ --log-source-4: #ef9f76;
1391
+ --log-source-5: #81c8be;
1392
+ --log-source-6: #ca9ee6;
1268
1393
  --terminal-bg: #303446;
1269
1394
  --terminal-fg: #c6d0f5;
1270
1395
  --terminal-cursor: #f2d5cf;
@@ -1383,6 +1508,12 @@
1383
1508
  --group-yellow: #eed49f;
1384
1509
  --group-red: #ed8796;
1385
1510
  --group-dot-ring: none;
1511
+ --channel-name: var(--row-meta-text);
1512
+ --channel-detail: #939ab7;
1513
+ --channel-latest: #c6a0f6;
1514
+ --channel-latest-text: #c6a0f6;
1515
+ --channel-local: #f5a97f;
1516
+ --channel-local-text: #f5a97f;
1386
1517
  --chart-1: #8aadf4;
1387
1518
  --chart-2: #f5a97f;
1388
1519
  --chart-3: #a6da95;
@@ -1391,6 +1522,12 @@
1391
1522
  --chart-6: #eed49f;
1392
1523
  --chart-7: #f5bde6;
1393
1524
  --chart-8: #c5e7ba;
1525
+ --log-source-1: #a6da95;
1526
+ --log-source-2: #f5bde6;
1527
+ --log-source-3: #8aadf4;
1528
+ --log-source-4: #f5a97f;
1529
+ --log-source-5: #8bd5ca;
1530
+ --log-source-6: #c6a0f6;
1394
1531
  --terminal-bg: #24273a;
1395
1532
  --terminal-fg: #cad3f5;
1396
1533
  --terminal-cursor: #f4dbd6;
@@ -1509,6 +1646,12 @@
1509
1646
  --group-yellow: #f9e2af;
1510
1647
  --group-red: #f38ba8;
1511
1648
  --group-dot-ring: none;
1649
+ --channel-name: var(--row-meta-text);
1650
+ --channel-detail: #7f849c;
1651
+ --channel-latest: #cba6f7;
1652
+ --channel-latest-text: #cba6f7;
1653
+ --channel-local: #fab387;
1654
+ --channel-local-text: #fab387;
1512
1655
  --chart-1: #89b4fa;
1513
1656
  --chart-2: #fab387;
1514
1657
  --chart-3: #a6e3a1;
@@ -1517,6 +1660,12 @@
1517
1660
  --chart-6: #f38ba8;
1518
1661
  --chart-7: #f9e2af;
1519
1662
  --chart-8: #f5c2e7;
1663
+ --log-source-1: #a6e3a1;
1664
+ --log-source-2: #f5c2e7;
1665
+ --log-source-3: #89b4fa;
1666
+ --log-source-4: #fab387;
1667
+ --log-source-5: #94e2d5;
1668
+ --log-source-6: #cba6f7;
1520
1669
  --terminal-bg: #1e1e2e;
1521
1670
  --terminal-fg: #cdd6f4;
1522
1671
  --terminal-cursor: #f5e0dc;
@@ -1635,6 +1784,12 @@
1635
1784
  --group-yellow: #f1fa8c;
1636
1785
  --group-red: #ff5555;
1637
1786
  --group-dot-ring: none;
1787
+ --channel-name: var(--row-meta-text);
1788
+ --channel-detail: #8f9abb;
1789
+ --channel-latest: #ff79c6;
1790
+ --channel-latest-text: #ff79c6;
1791
+ --channel-local: #ffb86c;
1792
+ --channel-local-text: #ffb86c;
1638
1793
  --chart-1: #bd93f9;
1639
1794
  --chart-2: #ffb86c;
1640
1795
  --chart-3: #50fa7b;
@@ -1643,6 +1798,12 @@
1643
1798
  --chart-6: #ff5555;
1644
1799
  --chart-7: #f1fa8c;
1645
1800
  --chart-8: #fdce9b;
1801
+ --log-source-1: #50fa7b;
1802
+ --log-source-2: #ff79c6;
1803
+ --log-source-3: #bd93f9;
1804
+ --log-source-4: #ffb86c;
1805
+ --log-source-5: #8be9fd;
1806
+ --log-source-6: #ff79c6;
1646
1807
  --terminal-bg: #282a36;
1647
1808
  --terminal-fg: #f8f8f2;
1648
1809
  --terminal-cursor: #f8f8f2;
@@ -1761,6 +1922,12 @@
1761
1922
  --group-yellow: #d29922;
1762
1923
  --group-red: #ff7b72;
1763
1924
  --group-dot-ring: none;
1925
+ --channel-name: var(--row-meta-text);
1926
+ --channel-detail: #848d97;
1927
+ --channel-latest: #bc8cff;
1928
+ --channel-latest-text: #bc8cff;
1929
+ --channel-local: #ffa657;
1930
+ --channel-local-text: #ffa657;
1764
1931
  --chart-1: #58a6ff;
1765
1932
  --chart-2: #ffa657;
1766
1933
  --chart-3: #3fb950;
@@ -1769,6 +1936,12 @@
1769
1936
  --chart-6: #ff7b72;
1770
1937
  --chart-7: #d29922;
1771
1938
  --chart-8: #f778ba;
1939
+ --log-source-1: #3fb950;
1940
+ --log-source-2: #f778ba;
1941
+ --log-source-3: #58a6ff;
1942
+ --log-source-4: #ffa657;
1943
+ --log-source-5: #39c5cf;
1944
+ --log-source-6: #bc8cff;
1772
1945
  --terminal-bg: #0d1117;
1773
1946
  --terminal-fg: #e6edf3;
1774
1947
  --terminal-cursor: #2f81f7;
@@ -1887,6 +2060,12 @@
1887
2060
  --group-yellow: #fabd2f;
1888
2061
  --group-red: #fb4934;
1889
2062
  --group-dot-ring: none;
2063
+ --channel-name: var(--row-meta-text);
2064
+ --channel-detail: #a89984;
2065
+ --channel-latest: #d3869b;
2066
+ --channel-latest-text: #d58ca0;
2067
+ --channel-local: #fe8019;
2068
+ --channel-local-text: #fe8019;
1890
2069
  --chart-1: #83a598;
1891
2070
  --chart-2: #fe8019;
1892
2071
  --chart-3: #b8bb26;
@@ -1895,6 +2074,12 @@
1895
2074
  --chart-6: #fabd2f;
1896
2075
  --chart-7: #458588;
1897
2076
  --chart-8: #cac657;
2077
+ --log-source-1: #b8bb26;
2078
+ --log-source-2: #d3869b;
2079
+ --log-source-3: #83a598;
2080
+ --log-source-4: #fe8019;
2081
+ --log-source-5: #8ec07c;
2082
+ --log-source-6: #d3869b;
1898
2083
  --terminal-bg: #282828;
1899
2084
  --terminal-fg: #ebdbb2;
1900
2085
  --terminal-cursor: #ebdbb2;
@@ -2013,6 +2198,12 @@
2013
2198
  --group-yellow: #ebcb8b;
2014
2199
  --group-red: #bf616a;
2015
2200
  --group-dot-ring: none;
2201
+ --channel-name: var(--row-meta-text);
2202
+ --channel-detail: #959fb3;
2203
+ --channel-latest: #b48ead;
2204
+ --channel-latest-text: #c3a5bd;
2205
+ --channel-local: #d08770;
2206
+ --channel-local-text: #daa08e;
2016
2207
  --chart-1: #88c0d0;
2017
2208
  --chart-2: #d08770;
2018
2209
  --chart-3: #a3be8c;
@@ -2021,6 +2212,12 @@
2021
2212
  --chart-6: #b4d1de;
2022
2213
  --chart-7: #d4b7b3;
2023
2214
  --chart-8: #f5e5c5;
2215
+ --log-source-1: #a3be8c;
2216
+ --log-source-2: #b690af;
2217
+ --log-source-3: #88c0d0;
2218
+ --log-source-4: #d18b74;
2219
+ --log-source-5: #8fbcbb;
2220
+ --log-source-6: #b690af;
2024
2221
  --terminal-bg: #2e3440;
2025
2222
  --terminal-fg: #d8dee9;
2026
2223
  --terminal-cursor: #d8dee9;
@@ -2139,6 +2336,12 @@
2139
2336
  --group-yellow: #e5c07b;
2140
2337
  --group-red: #e06c75;
2141
2338
  --group-dot-ring: none;
2339
+ --channel-name: var(--row-meta-text);
2340
+ --channel-detail: #9097a4;
2341
+ --channel-latest: #c678dd;
2342
+ --channel-latest-text: #ce8be2;
2343
+ --channel-local: #d19a66;
2344
+ --channel-local-text: #d19b68;
2142
2345
  --chart-1: #61afef;
2143
2346
  --chart-2: #d19a66;
2144
2347
  --chart-3: #98c379;
@@ -2147,6 +2350,12 @@
2147
2350
  --chart-6: #bf5248;
2148
2351
  --chart-7: #8ab1d5;
2149
2352
  --chart-8: #bca797;
2353
+ --log-source-1: #98c379;
2354
+ --log-source-2: #c678dd;
2355
+ --log-source-3: #61afef;
2356
+ --log-source-4: #d19a66;
2357
+ --log-source-5: #56b6c2;
2358
+ --log-source-6: #c678dd;
2150
2359
  --terminal-bg: #282c34;
2151
2360
  --terminal-fg: #abb2bf;
2152
2361
  --terminal-cursor: #528bff;
@@ -2265,6 +2474,12 @@
2265
2474
  --group-yellow: #f6c177;
2266
2475
  --group-red: #eb6f92;
2267
2476
  --group-dot-ring: none;
2477
+ --channel-name: var(--row-meta-text);
2478
+ --channel-detail: #7f7b98;
2479
+ --channel-latest: #c4a7e7;
2480
+ --channel-latest-text: #c4a7e7;
2481
+ --channel-local: #f6c177;
2482
+ --channel-local-text: #f6c177;
2268
2483
  --chart-1: #9ccfd8;
2269
2484
  --chart-2: #f6c177;
2270
2485
  --chart-3: #c4a7e7;
@@ -2273,6 +2488,12 @@
2273
2488
  --chart-6: #cee7ec;
2274
2489
  --chart-7: #65878c;
2275
2490
  --chart-8: #a07d4d;
2491
+ --log-source-1: #9ccfd8;
2492
+ --log-source-2: #ebbcba;
2493
+ --log-source-3: #9ccfd8;
2494
+ --log-source-4: #f6c177;
2495
+ --log-source-5: #9ccfd8;
2496
+ --log-source-6: #c4a7e7;
2276
2497
  --terminal-bg: #191724;
2277
2498
  --terminal-fg: #e0def4;
2278
2499
  --terminal-cursor: #66637b;
@@ -2391,6 +2612,12 @@
2391
2612
  --group-yellow: #b58900;
2392
2613
  --group-red: #dc322f;
2393
2614
  --group-dot-ring: none;
2615
+ --channel-name: var(--row-meta-text);
2616
+ --channel-detail: #8b9b9c;
2617
+ --channel-latest: #6c71c4;
2618
+ --channel-latest-text: #9195d3;
2619
+ --channel-local: #cb4b16;
2620
+ --channel-local-text: #d97a53;
2394
2621
  --chart-1: #268bd2;
2395
2622
  --chart-2: #cb4b16;
2396
2623
  --chart-3: #859900;
@@ -2399,6 +2626,12 @@
2399
2626
  --chart-6: #b58900;
2400
2627
  --chart-7: #d33682;
2401
2628
  --chart-8: #b76947;
2629
+ --log-source-1: #859900;
2630
+ --log-source-2: #dd629e;
2631
+ --log-source-3: #3794d6;
2632
+ --log-source-4: #d67147;
2633
+ --log-source-5: #2aa198;
2634
+ --log-source-6: #8488cd;
2402
2635
  --terminal-bg: #002b36;
2403
2636
  --terminal-fg: #93a1a1;
2404
2637
  --terminal-cursor: #93a1a1;
@@ -2517,6 +2750,12 @@
2517
2750
  --group-yellow: #e0af68;
2518
2751
  --group-red: #f7768e;
2519
2752
  --group-dot-ring: none;
2753
+ --channel-name: var(--row-meta-text);
2754
+ --channel-detail: #737aa2;
2755
+ --channel-latest: #bb9af7;
2756
+ --channel-latest-text: #bb9af7;
2757
+ --channel-local: #ff9e64;
2758
+ --channel-local-text: #ff9e64;
2520
2759
  --chart-1: #7aa2f7;
2521
2760
  --chart-2: #ff9e64;
2522
2761
  --chart-3: #9ece6a;
@@ -2525,6 +2764,12 @@
2525
2764
  --chart-6: #f7768e;
2526
2765
  --chart-7: #ff007c;
2527
2766
  --chart-8: #2ac3de;
2767
+ --log-source-1: #9ece6a;
2768
+ --log-source-2: #ff007c;
2769
+ --log-source-3: #7aa2f7;
2770
+ --log-source-4: #ff9e64;
2771
+ --log-source-5: #73daca;
2772
+ --log-source-6: #bb9af7;
2528
2773
  --terminal-bg: #1a1b26;
2529
2774
  --terminal-fg: #c0caf5;
2530
2775
  --terminal-cursor: #c0caf5;
@@ -56,6 +56,17 @@ declare function derivedTokens(palette: ThemePalette, terminal: TerminalPalette,
56
56
  '--syntax-subtext0': `#${string}`;
57
57
  '--syntax-overlay2': `#${string}`;
58
58
  '--file-list-bg': string;
59
+ '--terminal-bg': `#${string}`;
60
+ '--terminal-fg': `#${string}`;
61
+ '--terminal-cursor': `#${string}`;
62
+ '--terminal-selection': string;
63
+ '--terminal-selection-text': `#${string}`;
64
+ "--log-source-1": `#${string}`;
65
+ "--log-source-4": `#${string}`;
66
+ "--log-source-6": `#${string}`;
67
+ "--log-source-2": `#${string}`;
68
+ "--log-source-3": `#${string}`;
69
+ "--log-source-5": `#${string}`;
59
70
  '--bg': `#${string}`;
60
71
  '--bg-panel': `#${string}`;
61
72
  '--bg-header': `#${string}`;
@@ -132,6 +143,12 @@ declare function derivedTokens(palette: ThemePalette, terminal: TerminalPalette,
132
143
  '--group-yellow': `#${string}`;
133
144
  '--group-red': `#${string}`;
134
145
  '--group-dot-ring': string;
146
+ '--channel-name': string;
147
+ '--channel-detail': string;
148
+ '--channel-latest': `#${string}`;
149
+ '--channel-latest-text': `#${string}`;
150
+ '--channel-local': `#${string}`;
151
+ '--channel-local-text': `#${string}`;
135
152
  '--chart-1': `#${string}`;
136
153
  '--chart-2': `#${string}`;
137
154
  '--chart-3': `#${string}`;
@@ -140,11 +157,6 @@ declare function derivedTokens(palette: ThemePalette, terminal: TerminalPalette,
140
157
  '--chart-6': `#${string}`;
141
158
  '--chart-7': `#${string}`;
142
159
  '--chart-8': `#${string}`;
143
- '--terminal-bg': `#${string}`;
144
- '--terminal-fg': `#${string}`;
145
- '--terminal-cursor': `#${string}`;
146
- '--terminal-selection': string;
147
- '--terminal-selection-text': `#${string}`;
148
160
  };
149
161
  /** A colour token a theme sets. */
150
162
  export type ThemeTokenName = keyof ReturnType<typeof derivedTokens>;