@buoy-gg/events 7.0.26 → 7.0.28

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 (42) hide show
  1. package/lib/commonjs/components/EventsCopySettingsView.js +20 -20
  2. package/lib/commonjs/components/EventsCopySettingsView.js.map +1 -1
  3. package/lib/commonjs/components/EventsModal.js +21 -26
  4. package/lib/commonjs/components/EventsModal.js.map +1 -1
  5. package/lib/commonjs/components/ReactQueryEventDetail.js +21 -20
  6. package/lib/commonjs/components/ReactQueryEventDetail.js.map +1 -1
  7. package/lib/commonjs/components/UnifiedEventDetail.js +11 -10
  8. package/lib/commonjs/components/UnifiedEventDetail.js.map +1 -1
  9. package/lib/commonjs/components/UnifiedEventFilters.js +16 -13
  10. package/lib/commonjs/components/UnifiedEventFilters.js.map +1 -1
  11. package/lib/commonjs/components/UnifiedEventItem.js.map +1 -1
  12. package/lib/commonjs/components/UnifiedEventList.js +10 -8
  13. package/lib/commonjs/components/UnifiedEventList.js.map +1 -1
  14. package/lib/commonjs/components/UnifiedEventViewer.js +9 -8
  15. package/lib/commonjs/components/UnifiedEventViewer.js.map +1 -1
  16. package/lib/module/components/EventsCopySettingsView.js +21 -21
  17. package/lib/module/components/EventsCopySettingsView.js.map +1 -1
  18. package/lib/module/components/EventsModal.js +22 -27
  19. package/lib/module/components/EventsModal.js.map +1 -1
  20. package/lib/module/components/ReactQueryEventDetail.js +22 -21
  21. package/lib/module/components/ReactQueryEventDetail.js.map +1 -1
  22. package/lib/module/components/UnifiedEventDetail.js +12 -11
  23. package/lib/module/components/UnifiedEventDetail.js.map +1 -1
  24. package/lib/module/components/UnifiedEventFilters.js +17 -14
  25. package/lib/module/components/UnifiedEventFilters.js.map +1 -1
  26. package/lib/module/components/UnifiedEventItem.js.map +1 -1
  27. package/lib/module/components/UnifiedEventList.js +11 -9
  28. package/lib/module/components/UnifiedEventList.js.map +1 -1
  29. package/lib/module/components/UnifiedEventViewer.js +10 -9
  30. package/lib/module/components/UnifiedEventViewer.js.map +1 -1
  31. package/lib/typescript/components/EventsCopySettingsView.d.ts.map +1 -1
  32. package/lib/typescript/components/EventsModal.d.ts.map +1 -1
  33. package/lib/typescript/components/UnifiedEventFilters.d.ts.map +1 -1
  34. package/package.json +3 -3
  35. package/src/components/EventsCopySettingsView.tsx +23 -22
  36. package/src/components/EventsModal.tsx +25 -29
  37. package/src/components/ReactQueryEventDetail.tsx +22 -21
  38. package/src/components/UnifiedEventDetail.tsx +12 -11
  39. package/src/components/UnifiedEventFilters.tsx +21 -18
  40. package/src/components/UnifiedEventItem.tsx +1 -1
  41. package/src/components/UnifiedEventList.tsx +11 -9
  42. package/src/components/UnifiedEventViewer.tsx +10 -9
@@ -1 +1 @@
1
- {"version":3,"file":"UnifiedEventFilters.d.ts","sourceRoot":"","sources":["../../../src/components/UnifiedEventFilters.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAExD,UAAU,wBAAwB;IAChC,4DAA4D;IAC5D,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAE/B,6BAA6B;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAE9C,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IAEnB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,gEAwI9B,CAAC"}
1
+ {"version":3,"file":"UnifiedEventFilters.d.ts","sourceRoot":"","sources":["../../../src/components/UnifiedEventFilters.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAExD,UAAU,wBAAwB;IAChC,4DAA4D;IAC5D,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAE/B,6BAA6B;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAE9C,wBAAwB;IACxB,UAAU,EAAE,MAAM,CAAC;IAEnB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,gEAyI9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/events",
3
- "version": "7.0.26",
3
+ "version": "7.0.28",
4
4
  "description": "One timeline across every Buoy devtool, with LLM-ready export presets. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@buoy-gg/floating-tools-core": "^7.0.26",
31
- "@buoy-gg/shared-ui": "^7.0.26"
30
+ "@buoy-gg/floating-tools-core": "^7.0.28",
31
+ "@buoy-gg/shared-ui": "^7.0.28"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "*",
@@ -11,6 +11,7 @@ import {
11
11
  DynamicFilterView,
12
12
  type DynamicFilterConfig,
13
13
  macOSColors,
14
+ night,
14
15
  FileText,
15
16
  FileCode,
16
17
  Hash,
@@ -247,10 +248,10 @@ export function EventsCopySettingsView({
247
248
  if (!isPreviewExpanded) {
248
249
  const warningColor =
249
250
  sizeWarningLevel === "danger"
250
- ? macOSColors.semantic.error
251
+ ? night.color.danger
251
252
  : sizeWarningLevel === "warning"
252
- ? macOSColors.semantic.warning
253
- : macOSColors.text.secondary;
253
+ ? night.color.warning
254
+ : night.color.textSecondary;
254
255
 
255
256
  return (
256
257
  <View style={styles.collapsedPreview}>
@@ -259,7 +260,7 @@ export function EventsCopySettingsView({
259
260
  onPress={() => setIsPreviewExpanded(true)}
260
261
  >
261
262
  <View style={styles.expandButtonContent}>
262
- <Eye size={16} color={macOSColors.semantic.info} />
263
+ <Eye size={16} color={night.color.info} />
263
264
  <View style={styles.expandButtonTextContainer}>
264
265
  <Text style={styles.expandButtonTitle}>Show Preview</Text>
265
266
  <Text style={styles.expandButtonSubtitle}>
@@ -268,7 +269,7 @@ export function EventsCopySettingsView({
268
269
  {!hasLiveData ? " (mock data)" : ""}
269
270
  </Text>
270
271
  </View>
271
- <ChevronDown size={16} color={macOSColors.text.muted} />
272
+ <ChevronDown size={16} color={night.color.textTertiary} />
272
273
  </View>
273
274
  </TouchableOpacity>
274
275
 
@@ -301,7 +302,7 @@ export function EventsCopySettingsView({
301
302
  onPress={() => setIsPreviewExpanded(false)}
302
303
  >
303
304
  <Text style={styles.collapseButtonText}>Hide Preview</Text>
304
- <ChevronUp size={14} color={macOSColors.text.secondary} />
305
+ <ChevronUp size={14} color={night.color.textSecondary} />
305
306
  </TouchableOpacity>
306
307
 
307
308
  {settings.format === "json" ? (
@@ -422,7 +423,7 @@ export function EventsCopySettingsView({
422
423
  id: "preset::custom",
423
424
  label: "Custom",
424
425
  icon: Settings,
425
- color: macOSColors.text.secondary,
426
+ color: night.color.textSecondary,
426
427
  value: "custom",
427
428
  isActive: activePreset === null,
428
429
  description: "User-configured",
@@ -513,7 +514,7 @@ export function EventsCopySettingsView({
513
514
  id: "format::plaintext",
514
515
  label: "Text",
515
516
  icon: Hash,
516
- color: macOSColors.text.secondary,
517
+ color: night.color.textSecondary,
517
518
  value: "plaintext",
518
519
  isActive: settings.format === "plaintext",
519
520
  },
@@ -681,10 +682,10 @@ const styles = StyleSheet.create({
681
682
  gap: 8,
682
683
  },
683
684
  expandButton: {
684
- backgroundColor: macOSColors.background.input,
685
+ backgroundColor: night.color.surfaceElevated,
685
686
  borderRadius: 8,
686
687
  borderWidth: 1,
687
- borderColor: macOSColors.border.default,
688
+ borderColor: night.color.border,
688
689
  padding: 12,
689
690
  },
690
691
  expandButtonContent: {
@@ -698,11 +699,11 @@ const styles = StyleSheet.create({
698
699
  expandButtonTitle: {
699
700
  fontSize: 13,
700
701
  fontWeight: "600",
701
- color: macOSColors.text.primary,
702
+ color: night.color.text,
702
703
  },
703
704
  expandButtonSubtitle: {
704
705
  fontSize: 11,
705
- color: macOSColors.text.secondary,
706
+ color: night.color.textSecondary,
706
707
  marginTop: 2,
707
708
  },
708
709
  collapseButton: {
@@ -712,15 +713,15 @@ const styles = StyleSheet.create({
712
713
  gap: 6,
713
714
  paddingVertical: 8,
714
715
  marginBottom: 8,
715
- backgroundColor: macOSColors.background.hover,
716
+ backgroundColor: night.color.surfaceElevated,
716
717
  borderRadius: 6,
717
718
  borderWidth: 1,
718
- borderColor: macOSColors.border.default,
719
+ borderColor: night.color.border,
719
720
  },
720
721
  collapseButtonText: {
721
722
  fontSize: 12,
722
723
  fontWeight: "500",
723
- color: macOSColors.text.secondary,
724
+ color: night.color.textSecondary,
724
725
  },
725
726
  sizeWarning: {
726
727
  flexDirection: "row",
@@ -728,14 +729,14 @@ const styles = StyleSheet.create({
728
729
  gap: 6,
729
730
  paddingHorizontal: 10,
730
731
  paddingVertical: 6,
731
- backgroundColor: macOSColors.semantic.warningBackground,
732
+ backgroundColor: night.color.warningSoft,
732
733
  borderRadius: 6,
733
734
  borderWidth: 1,
734
- borderColor: macOSColors.semantic.warning + "30",
735
+ borderColor: night.color.warning + "30",
735
736
  },
736
737
  sizeWarningDanger: {
737
- backgroundColor: macOSColors.semantic.errorBackground,
738
- borderColor: macOSColors.semantic.error + "30",
738
+ backgroundColor: night.color.dangerSoft,
739
+ borderColor: night.color.danger + "30",
739
740
  },
740
741
  sizeWarningText: {
741
742
  fontSize: 11,
@@ -748,12 +749,12 @@ const styles = StyleSheet.create({
748
749
  previewText: {
749
750
  fontFamily: "monospace",
750
751
  fontSize: 11,
751
- color: macOSColors.text.primary,
752
+ color: night.color.text,
752
753
  lineHeight: 18,
753
754
  },
754
755
  mermaidHint: {
755
756
  fontSize: 11,
756
- color: macOSColors.text.secondary,
757
+ color: night.color.textSecondary,
757
758
  marginBottom: 8,
758
759
  paddingHorizontal: 8,
759
760
  paddingVertical: 6,
@@ -764,7 +765,7 @@ const styles = StyleSheet.create({
764
765
  statusLabel: {
765
766
  fontSize: 11,
766
767
  fontWeight: "600",
767
- color: macOSColors.text.muted,
768
+ color: night.color.textTertiary,
768
769
  marginRight: 8,
769
770
  },
770
771
  gatedContainer: {
@@ -25,6 +25,7 @@ import {
25
25
  JsModal,
26
26
  ModalHeader,
27
27
  buoyColors,
28
+ night,
28
29
  Trash2,
29
30
  Copy,
30
31
  Search,
@@ -247,12 +248,12 @@ export function EventsModal({
247
248
  <ModalHeader.Content title="">
248
249
  {isSearchActive ? (
249
250
  <View style={styles.headerSearchContainer}>
250
- <Search size={14} color={buoyColors.textMuted} />
251
+ <Search size={14} color={night.color.textSecondary} />
251
252
  <TextInput
252
253
  ref={searchInputRef}
253
254
  style={styles.headerSearchInput}
254
255
  placeholder="Search events..."
255
- placeholderTextColor={buoyColors.textMuted}
256
+ placeholderTextColor={night.color.placeholder}
256
257
  value={searchText}
257
258
  onChangeText={setSearchText}
258
259
  onSubmitEditing={() => searchInputRef.current?.blur()}
@@ -271,7 +272,7 @@ export function EventsModal({
271
272
  style={styles.headerSearchClear}
272
273
  accessibilityLabel="Close search"
273
274
  >
274
- <X size={14} color={buoyColors.textMuted} />
275
+ <X size={14} color={night.color.textSecondary} />
275
276
  </TouchableOpacity>
276
277
  </View>
277
278
  ) : (
@@ -297,8 +298,8 @@ export function EventsModal({
297
298
  size={14}
298
299
  color={
299
300
  searchText.length > 0
300
- ? buoyColors.primary
301
- : buoyColors.textMuted
301
+ ? night.color.accent
302
+ : night.color.textSecondary
302
303
  }
303
304
  />
304
305
  </TouchableOpacity>
@@ -317,8 +318,8 @@ export function EventsModal({
317
318
  size={14}
318
319
  color={
319
320
  totalCount > 0
320
- ? buoyColors.textMuted
321
- : buoyColors.textMuted + "50"
321
+ ? night.color.textSecondary
322
+ : night.color.textTertiary
322
323
  }
323
324
  />
324
325
  </TouchableOpacity>
@@ -342,8 +343,8 @@ export function EventsModal({
342
343
  size={14}
343
344
  color={
344
345
  totalCount > 0
345
- ? buoyColors.textMuted
346
- : buoyColors.textMuted + "50"
346
+ ? night.color.textSecondary
347
+ : night.color.textTertiary
347
348
  }
348
349
  />
349
350
  </TouchableOpacity>
@@ -452,7 +453,9 @@ const styles = StyleSheet.create({
452
453
  inlineRoot: {
453
454
  flex: 1,
454
455
  minHeight: 0,
455
- backgroundColor: buoyColors.base,
456
+ // Transparent so the desktop workbench's hoisted sky (one field spanning
457
+ // sidebar + panel) shows through — the shell paints its base beneath it.
458
+ backgroundColor: "transparent",
456
459
  },
457
460
  inlineHeader: {
458
461
  paddingHorizontal: 12,
@@ -463,7 +466,8 @@ const styles = StyleSheet.create({
463
466
  },
464
467
  container: {
465
468
  flex: 1,
466
- backgroundColor: buoyColors.base,
469
+ // Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
470
+ backgroundColor: "transparent",
467
471
  },
468
472
  headerTitleContainer: {
469
473
  flexDirection: "row",
@@ -473,19 +477,19 @@ const styles = StyleSheet.create({
473
477
  headerTitle: {
474
478
  fontSize: 16,
475
479
  fontWeight: "600",
476
- color: buoyColors.text,
480
+ color: night.color.text,
477
481
  },
478
482
  headerSubtitle: {
479
483
  fontSize: 12,
480
- color: buoyColors.textMuted,
484
+ color: night.color.textTertiary,
481
485
  },
482
486
  headerActionButton: {
483
487
  width: 32,
484
488
  height: 32,
485
489
  borderRadius: 8,
486
- backgroundColor: buoyColors.card,
490
+ backgroundColor: night.color.buttonSurface,
487
491
  borderWidth: 1,
488
- borderColor: buoyColors.border,
492
+ borderColor: night.color.border,
489
493
  alignItems: "center",
490
494
  justifyContent: "center",
491
495
  },
@@ -493,22 +497,22 @@ const styles = StyleSheet.create({
493
497
  opacity: 0.55,
494
498
  },
495
499
  headerActionButtonActive: {
496
- backgroundColor: buoyColors.primary + "20",
497
- borderColor: buoyColors.primary + "40",
500
+ backgroundColor: night.color.accentSoft,
501
+ borderColor: night.color.accentBorderStrong,
498
502
  },
499
503
  headerSearchContainer: {
500
504
  flexDirection: "row",
501
505
  alignItems: "center",
502
- backgroundColor: buoyColors.input,
503
- borderRadius: 8,
506
+ backgroundColor: night.color.surfaceElevated,
507
+ borderRadius: night.radius.row,
504
508
  borderWidth: 1,
505
- borderColor: buoyColors.border,
509
+ borderColor: night.color.border,
506
510
  paddingHorizontal: 10,
507
511
  paddingVertical: 4,
508
512
  },
509
513
  headerSearchInput: {
510
514
  flex: 1,
511
- color: buoyColors.text,
515
+ color: night.color.text,
512
516
  fontSize: 13,
513
517
  marginLeft: 6,
514
518
  paddingVertical: 2,
@@ -517,14 +521,6 @@ const styles = StyleSheet.create({
517
521
  marginLeft: 6,
518
522
  padding: 4,
519
523
  },
520
- startButton: {
521
- backgroundColor: buoyColors.success + "20",
522
- borderColor: buoyColors.success + "40",
523
- },
524
- stopButton: {
525
- backgroundColor: buoyColors.error + "20",
526
- borderColor: buoyColors.error + "40",
527
- },
528
524
  });
529
525
 
530
526
  /**
@@ -9,7 +9,7 @@
9
9
 
10
10
  import { memo, useMemo } from "react";
11
11
  import { View, Text, StyleSheet, ScrollView } from "react-native";
12
- import { buoyColors, formatRelativeTime, displayValue } from "@buoy-gg/shared-ui";
12
+ import { buoyColors, night, formatRelativeTime, displayValue } from "@buoy-gg/shared-ui";
13
13
  import { DataViewer } from "@buoy-gg/shared-ui/dataViewer";
14
14
  import type { UnifiedEvent } from "../types";
15
15
  import type { ReactQueryEvent } from "../utils/eventTransformers";
@@ -34,7 +34,7 @@ const EVENT_TYPE_CONFIG: Record<
34
34
  > = {
35
35
  "query-fetch-start": {
36
36
  label: "Query Fetching",
37
- color: buoyColors.primary,
37
+ color: night.color.accent,
38
38
  icon: "hourglass",
39
39
  },
40
40
  "query-fetch-success": {
@@ -54,7 +54,7 @@ const EVENT_TYPE_CONFIG: Record<
54
54
  },
55
55
  "mutation-start": {
56
56
  label: "Mutation Started",
57
- color: buoyColors.primary,
57
+ color: night.color.accent,
58
58
  icon: "hourglass",
59
59
  },
60
60
  "mutation-success": {
@@ -79,7 +79,7 @@ export const ReactQueryEventDetail = memo(function ReactQueryEventDetail({
79
79
  const reactQueryEvent = event.originalEvent as ExtendedReactQueryEvent;
80
80
  const eventConfig = EVENT_TYPE_CONFIG[reactQueryEvent.type] || {
81
81
  label: reactQueryEvent.type,
82
- color: buoyColors.textMuted,
82
+ color: night.color.textTertiary,
83
83
  icon: "help",
84
84
  };
85
85
 
@@ -272,7 +272,8 @@ function EventStatusChip({ type, color }: { type: string; color: string }) {
272
272
  const styles = StyleSheet.create({
273
273
  container: {
274
274
  flex: 1,
275
- backgroundColor: buoyColors.base,
275
+ // Transparent so the night sheet's star field shows through.
276
+ backgroundColor: "transparent",
276
277
  },
277
278
  contentContainer: {
278
279
  padding: 8,
@@ -284,11 +285,11 @@ const styles = StyleSheet.create({
284
285
  // Event type container (like QueryDetails)
285
286
  eventTypeContainer: {
286
287
  minWidth: 200,
287
- backgroundColor: buoyColors.card,
288
+ backgroundColor: night.color.surface,
288
289
  borderRadius: 6,
289
290
  borderWidth: 1,
290
291
  overflow: "hidden",
291
- shadowColor: buoyColors.primary,
292
+ shadowColor: night.color.accent,
292
293
  shadowOffset: { width: 0, height: 0 },
293
294
  shadowOpacity: 0.1,
294
295
  shadowRadius: 6,
@@ -299,7 +300,7 @@ const styles = StyleSheet.create({
299
300
  fontWeight: "600",
300
301
  fontSize: 12,
301
302
  borderBottomWidth: 1,
302
- borderBottomColor: buoyColors.primary + "33",
303
+ borderBottomColor: night.color.accentBorder,
303
304
  letterSpacing: 0.5,
304
305
  textTransform: "uppercase",
305
306
  fontFamily: "monospace",
@@ -314,7 +315,7 @@ const styles = StyleSheet.create({
314
315
  paddingHorizontal: 12,
315
316
  paddingVertical: 10,
316
317
  borderBottomWidth: 1,
317
- borderBottomColor: buoyColors.textMuted + "66",
318
+ borderBottomColor: night.color.separator,
318
319
  },
319
320
  keyScrollView: {
320
321
  flex: 1,
@@ -322,15 +323,15 @@ const styles = StyleSheet.create({
322
323
  },
323
324
  keyText: {
324
325
  fontSize: 12,
325
- color: buoyColors.text,
326
+ color: night.color.text,
326
327
  fontFamily: "monospace",
327
328
  lineHeight: 18,
328
- backgroundColor: buoyColors.primary + "15",
329
+ backgroundColor: night.color.accentSoft,
329
330
  paddingHorizontal: 8,
330
331
  paddingVertical: 4,
331
332
  borderRadius: 4,
332
333
  borderWidth: 1,
333
- borderColor: buoyColors.primary + "4D",
334
+ borderColor: night.color.accentBorderStrong,
334
335
  },
335
336
  row: {
336
337
  flexDirection: "row",
@@ -339,11 +340,11 @@ const styles = StyleSheet.create({
339
340
  paddingHorizontal: 12,
340
341
  paddingVertical: 10,
341
342
  borderBottomWidth: 1,
342
- borderBottomColor: buoyColors.textMuted + "66",
343
+ borderBottomColor: night.color.separator,
343
344
  },
344
345
  labelText: {
345
346
  fontSize: 10,
346
- color: buoyColors.textSecondary,
347
+ color: night.color.textSecondary,
347
348
  fontWeight: "600",
348
349
  letterSpacing: 0.5,
349
350
  textTransform: "uppercase",
@@ -351,7 +352,7 @@ const styles = StyleSheet.create({
351
352
  },
352
353
  valueText: {
353
354
  fontSize: 12,
354
- color: buoyColors.text,
355
+ color: night.color.text,
355
356
  fontWeight: "500",
356
357
  fontVariant: ["tabular-nums"],
357
358
  fontFamily: "monospace",
@@ -379,25 +380,25 @@ const styles = StyleSheet.create({
379
380
  // Data containers
380
381
  dataContainer: {
381
382
  minWidth: 200,
382
- backgroundColor: buoyColors.card,
383
+ backgroundColor: night.color.surface,
383
384
  borderRadius: 6,
384
385
  borderWidth: 1,
385
- borderColor: buoyColors.primary + "4D",
386
+ borderColor: night.color.accentBorderStrong,
386
387
  overflow: "hidden",
387
- shadowColor: buoyColors.primary,
388
+ shadowColor: night.color.accent,
388
389
  shadowOffset: { width: 0, height: 0 },
389
390
  shadowOpacity: 0.1,
390
391
  shadowRadius: 6,
391
392
  },
392
393
  dataHeader: {
393
- backgroundColor: buoyColors.primary + "1A",
394
+ backgroundColor: night.color.accentSoft,
394
395
  paddingHorizontal: 12,
395
396
  paddingVertical: 10,
396
397
  fontWeight: "600",
397
398
  fontSize: 12,
398
- color: buoyColors.primary,
399
+ color: night.color.accent,
399
400
  borderBottomWidth: 1,
400
- borderBottomColor: buoyColors.primary + "33",
401
+ borderBottomColor: night.color.accentBorder,
401
402
  letterSpacing: 0.5,
402
403
  textTransform: "uppercase",
403
404
  fontFamily: "monospace",
@@ -9,7 +9,7 @@
9
9
  import { View, Text, StyleSheet, ScrollView } from "react-native";
10
10
  import { memo, useMemo, type ComponentType, type ReactNode } from "react";
11
11
  import {
12
- buoyColors,
12
+ night,
13
13
  formatRelativeTime,
14
14
  copyToClipboard,
15
15
  parseValue,
@@ -514,7 +514,8 @@ export const UnifiedEventDetail = memo(function UnifiedEventDetail({
514
514
  const styles = StyleSheet.create({
515
515
  container: {
516
516
  flex: 1,
517
- backgroundColor: buoyColors.base,
517
+ // Transparent so the night sheet's star field shows through.
518
+ backgroundColor: "transparent",
518
519
  },
519
520
  content: {
520
521
  flex: 1,
@@ -546,12 +547,12 @@ const styles = StyleSheet.create({
546
547
  title: {
547
548
  fontSize: 24,
548
549
  fontWeight: "700",
549
- color: buoyColors.text,
550
+ color: night.color.text,
550
551
  marginBottom: 4,
551
552
  },
552
553
  subtitle: {
553
554
  fontSize: 16,
554
- color: buoyColors.textMuted,
555
+ color: night.color.textTertiary,
555
556
  marginBottom: 16,
556
557
  },
557
558
  timestampRow: {
@@ -560,18 +561,18 @@ const styles = StyleSheet.create({
560
561
  alignItems: "center",
561
562
  paddingVertical: 12,
562
563
  borderTopWidth: 1,
563
- borderTopColor: buoyColors.border,
564
+ borderTopColor: night.color.border,
564
565
  borderBottomWidth: 1,
565
- borderBottomColor: buoyColors.border,
566
+ borderBottomColor: night.color.border,
566
567
  marginBottom: 16,
567
568
  },
568
569
  timestampLabel: {
569
570
  fontSize: 14,
570
- color: buoyColors.textMuted,
571
+ color: night.color.textTertiary,
571
572
  },
572
573
  timestampValue: {
573
574
  fontSize: 14,
574
- color: buoyColors.text,
575
+ color: night.color.text,
575
576
  fontFamily: "monospace",
576
577
  },
577
578
  dataSection: {
@@ -580,16 +581,16 @@ const styles = StyleSheet.create({
580
581
  sectionLabel: {
581
582
  fontSize: 12,
582
583
  fontWeight: "600",
583
- color: buoyColors.textMuted,
584
+ color: night.color.textTertiary,
584
585
  textTransform: "uppercase",
585
586
  letterSpacing: 0.5,
586
587
  marginBottom: 8,
587
588
  },
588
589
  dataContainer: {
589
- backgroundColor: buoyColors.card,
590
+ backgroundColor: night.color.surface,
590
591
  borderRadius: 8,
591
592
  borderWidth: 1,
592
- borderColor: buoyColors.border,
593
+ borderColor: night.color.border,
593
594
  overflow: "hidden",
594
595
  },
595
596
  });
@@ -11,7 +11,7 @@
11
11
 
12
12
  import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from "react-native";
13
13
  import { memo } from "react";
14
- import { buoyColors } from "@buoy-gg/shared-ui";
14
+ import { night } from "@buoy-gg/shared-ui";
15
15
  import type { EventSource, SourceInfo } from "../types";
16
16
 
17
17
  interface UnifiedEventFiltersProps {
@@ -58,7 +58,7 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
58
58
  styles.badge,
59
59
  isEnabled
60
60
  ? {
61
- backgroundColor: buoyColors.card,
61
+ backgroundColor: night.color.surface,
62
62
  borderColor: source.color + "50",
63
63
  }
64
64
  : styles.badgeDisabled,
@@ -75,8 +75,8 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
75
75
  backgroundColor: isEnabled
76
76
  ? subscriberCount > 0
77
77
  ? source.color + "25"
78
- : buoyColors.textMuted + "20"
79
- : buoyColors.textMuted + "15",
78
+ : night.color.fillSecondary
79
+ : night.color.fill,
80
80
  },
81
81
  ]}
82
82
  >
@@ -87,8 +87,8 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
87
87
  color: isEnabled
88
88
  ? subscriberCount > 0
89
89
  ? source.color
90
- : buoyColors.textMuted
91
- : buoyColors.textMuted + "60",
90
+ : night.color.textTertiary
91
+ : night.color.textTertiary,
92
92
  },
93
93
  ]}
94
94
  >
@@ -104,7 +104,7 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
104
104
  {
105
105
  backgroundColor: isEnabled
106
106
  ? source.color
107
- : buoyColors.textMuted + "40",
107
+ : night.color.fillTertiary,
108
108
  },
109
109
  ]}
110
110
  />
@@ -115,10 +115,11 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
115
115
  styles.badgeLabel,
116
116
  {
117
117
  color: isEnabled
118
- ? buoyColors.text
119
- : buoyColors.textMuted + "70",
118
+ ? night.color.text
119
+ : night.color.textTertiary,
120
120
  },
121
121
  ]}
122
+ numberOfLines={1}
122
123
  >
123
124
  {source.label}
124
125
  </Text>
@@ -131,8 +132,8 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
131
132
  backgroundColor: isEnabled
132
133
  ? eventCount > 0
133
134
  ? source.color + "20"
134
- : buoyColors.textMuted + "15"
135
- : buoyColors.textMuted + "10",
135
+ : night.color.fill
136
+ : night.color.fill,
136
137
  },
137
138
  ]}
138
139
  >
@@ -143,8 +144,8 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
143
144
  color: isEnabled
144
145
  ? eventCount > 0
145
146
  ? source.color
146
- : buoyColors.textMuted + "80"
147
- : buoyColors.textMuted + "50",
147
+ : night.color.textTertiary
148
+ : night.color.textTertiary,
148
149
  },
149
150
  ]}
150
151
  >
@@ -169,9 +170,10 @@ export const UnifiedEventFilters = memo(function UnifiedEventFilters({
169
170
  const styles = StyleSheet.create({
170
171
  container: {
171
172
  paddingVertical: 8,
172
- backgroundColor: buoyColors.base,
173
+ // Transparent so the night sheet's star field shows through.
174
+ backgroundColor: "transparent",
173
175
  borderBottomWidth: 1,
174
- borderBottomColor: buoyColors.border,
176
+ borderBottomColor: night.color.border,
175
177
  },
176
178
  badgesRow: {
177
179
  flexDirection: "row",
@@ -186,10 +188,11 @@ const styles = StyleSheet.create({
186
188
  borderRadius: 20,
187
189
  borderWidth: 1,
188
190
  gap: 6,
191
+ flexShrink: 0,
189
192
  },
190
193
  badgeDisabled: {
191
- backgroundColor: buoyColors.card,
192
- borderColor: buoyColors.border,
194
+ backgroundColor: night.color.surface,
195
+ borderColor: night.color.border,
193
196
  opacity: 0.5,
194
197
  },
195
198
  dot: {
@@ -217,7 +220,7 @@ const styles = StyleSheet.create({
217
220
  filterInfo: {
218
221
  marginTop: 6,
219
222
  fontSize: 11,
220
- color: buoyColors.textMuted,
223
+ color: night.color.textTertiary,
221
224
  textAlign: "center",
222
225
  },
223
226
  });
@@ -8,7 +8,7 @@
8
8
 
9
9
  import { memo, type ComponentType, type ReactNode } from "react";
10
10
  import { View, Text, StyleSheet } from "react-native";
11
- import { CompactRow, formatRelativeTime, buoyColors } from "@buoy-gg/shared-ui";
11
+ import { CompactRow, formatRelativeTime } from "@buoy-gg/shared-ui";
12
12
  import type { UnifiedEvent, EventSource } from "../types";
13
13
  import type {
14
14
  StorageEvent,