@buoy-gg/image-overlay 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.
@@ -200,7 +200,7 @@ function ImageOverlayModal({
200
200
  activeOpacity: 0.7,
201
201
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Trash2, {
202
202
  size: 14,
203
- color: _sharedUi.macOSColors.text.secondary
203
+ color: _sharedUi.night.color.textSecondary
204
204
  })
205
205
  })]
206
206
  })]
@@ -221,11 +221,11 @@ function ImageOverlayModal({
221
221
  activeOpacity: 0.7,
222
222
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
223
223
  style: [styles.modeIconCircle, {
224
- backgroundColor: _sharedUi.macOSColors.semantic.success + "18"
224
+ backgroundColor: _sharedUi.night.color.accentSoft
225
225
  }],
226
226
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SquareDashed, {
227
227
  size: 24,
228
- color: _sharedUi.macOSColors.semantic.success
228
+ color: _sharedUi.night.color.accent
229
229
  })
230
230
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
231
231
  style: styles.modePanelTitle,
@@ -240,11 +240,11 @@ function ImageOverlayModal({
240
240
  activeOpacity: 0.7,
241
241
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
242
242
  style: [styles.modeIconCircle, {
243
- backgroundColor: _sharedUi.buoyColors.primary + "18"
243
+ backgroundColor: _sharedUi.night.color.accentSoft
244
244
  }],
245
245
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Image, {
246
246
  size: 24,
247
- color: _sharedUi.buoyColors.primary
247
+ color: _sharedUi.night.color.accent
248
248
  })
249
249
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
250
250
  style: styles.modePanelTitle,
@@ -308,6 +308,8 @@ function ImageOverlayModal({
308
308
  style: styles.pasteButton,
309
309
  onPress: handlePasteImage,
310
310
  activeOpacity: 0.7,
311
+ accessibilityLabel: "Paste from clipboard",
312
+ accessibilityRole: "button",
311
313
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
312
314
  style: styles.pasteButtonText,
313
315
  children: "Paste from Clipboard"
@@ -319,7 +321,7 @@ function ImageOverlayModal({
319
321
  value: imageUrl,
320
322
  onChangeText: setImageUrl,
321
323
  placeholder: "or enter URL...",
322
- placeholderTextColor: _sharedUi.macOSColors.text.muted,
324
+ placeholderTextColor: _sharedUi.night.color.placeholder,
323
325
  autoCapitalize: "none",
324
326
  autoCorrect: false
325
327
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
@@ -344,8 +346,8 @@ function ImageOverlayModal({
344
346
  value: state.showOutline,
345
347
  onValueChange: v => _ImageOverlayController.ImageOverlayController.setShowOutline(v),
346
348
  trackColor: {
347
- false: _sharedUi.macOSColors.background.hover,
348
- true: _sharedUi.buoyColors.primary
349
+ false: _sharedUi.night.color.surfaceElevated,
350
+ true: _sharedUi.night.color.accent
349
351
  }
350
352
  })]
351
353
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
@@ -357,8 +359,8 @@ function ImageOverlayModal({
357
359
  value: autoTrack,
358
360
  onValueChange: setAutoTrack,
359
361
  trackColor: {
360
- false: _sharedUi.macOSColors.background.hover,
361
- true: _sharedUi.macOSColors.semantic.success
362
+ false: _sharedUi.night.color.surfaceElevated,
363
+ true: _sharedUi.night.color.accent
362
364
  }
363
365
  })]
364
366
  }), state.imageUri && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -445,6 +447,8 @@ function ImageOverlayModal({
445
447
  style: styles.pasteButton,
446
448
  onPress: handlePasteImage,
447
449
  activeOpacity: 0.7,
450
+ accessibilityLabel: "Paste from clipboard",
451
+ accessibilityRole: "button",
448
452
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
449
453
  style: styles.pasteButtonText,
450
454
  children: "Paste from Clipboard"
@@ -456,7 +460,7 @@ function ImageOverlayModal({
456
460
  value: imageUrl,
457
461
  onChangeText: setImageUrl,
458
462
  placeholder: "or enter URL...",
459
- placeholderTextColor: _sharedUi.macOSColors.text.muted,
463
+ placeholderTextColor: _sharedUi.night.color.placeholder,
460
464
  autoCapitalize: "none",
461
465
  autoCorrect: false
462
466
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
@@ -524,8 +528,8 @@ function ImageOverlayModal({
524
528
  value: state.locked,
525
529
  onValueChange: v => _ImageOverlayController.ImageOverlayController.setLocked(v),
526
530
  trackColor: {
527
- false: _sharedUi.macOSColors.background.hover,
528
- true: "#f59e0b"
531
+ false: _sharedUi.night.color.surfaceElevated,
532
+ true: _sharedUi.night.color.warning
529
533
  }
530
534
  })]
531
535
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
@@ -641,30 +645,32 @@ const styles = _reactNative.StyleSheet.create({
641
645
  backgroundColor: _sharedUi.macOSColors.background.card
642
646
  },
643
647
  container: {
644
- flex: 1
648
+ flex: 1,
649
+ // Transparent so the night sheet's star field shows through.
650
+ backgroundColor: "transparent"
645
651
  },
646
652
  headerTextButton: {
647
653
  height: 32,
648
654
  paddingHorizontal: 12,
649
655
  borderRadius: 8,
650
- backgroundColor: _sharedUi.macOSColors.background.hover,
656
+ backgroundColor: _sharedUi.night.color.buttonSurface,
651
657
  borderWidth: 1,
652
- borderColor: _sharedUi.macOSColors.border.default,
658
+ borderColor: _sharedUi.night.color.border,
653
659
  alignItems: "center",
654
660
  justifyContent: "center"
655
661
  },
656
662
  headerTextButtonLabel: {
657
663
  fontSize: 12,
658
664
  fontWeight: "600",
659
- color: _sharedUi.buoyColors.primary
665
+ color: _sharedUi.night.color.accent
660
666
  },
661
667
  headerActionButton: {
662
668
  width: 32,
663
669
  height: 32,
664
670
  borderRadius: 8,
665
- backgroundColor: _sharedUi.macOSColors.background.hover,
671
+ backgroundColor: _sharedUi.night.color.buttonSurface,
666
672
  borderWidth: 1,
667
- borderColor: _sharedUi.macOSColors.border.default,
673
+ borderColor: _sharedUi.night.color.border,
668
674
  alignItems: "center",
669
675
  justifyContent: "center"
670
676
  },
@@ -679,7 +685,7 @@ const styles = _reactNative.StyleSheet.create({
679
685
  homeSubtitle: {
680
686
  fontSize: 12,
681
687
  fontWeight: "600",
682
- color: _sharedUi.macOSColors.text.muted,
688
+ color: _sharedUi.night.color.textTertiary,
683
689
  textTransform: "uppercase",
684
690
  letterSpacing: 0.5,
685
691
  textAlign: "center"
@@ -693,10 +699,10 @@ const styles = _reactNative.StyleSheet.create({
693
699
  alignItems: "center",
694
700
  paddingVertical: 20,
695
701
  paddingHorizontal: 12,
696
- backgroundColor: _sharedUi.macOSColors.background.hover,
702
+ backgroundColor: _sharedUi.night.color.surface,
697
703
  borderRadius: 12,
698
704
  borderWidth: 1,
699
- borderColor: _sharedUi.macOSColors.border.default,
705
+ borderColor: _sharedUi.night.color.border,
700
706
  gap: 8
701
707
  },
702
708
  modeIconCircle: {
@@ -710,13 +716,13 @@ const styles = _reactNative.StyleSheet.create({
710
716
  modePanelTitle: {
711
717
  fontSize: 13,
712
718
  fontWeight: "700",
713
- color: _sharedUi.macOSColors.text.primary,
719
+ color: _sharedUi.night.color.text,
714
720
  textAlign: "center",
715
721
  lineHeight: 17
716
722
  },
717
723
  modePanelDesc: {
718
724
  fontSize: 11,
719
- color: _sharedUi.macOSColors.text.muted,
725
+ color: _sharedUi.night.color.textTertiary,
720
726
  textAlign: "center",
721
727
  lineHeight: 15
722
728
  },
@@ -729,10 +735,10 @@ const styles = _reactNative.StyleSheet.create({
729
735
  },
730
736
  infoCard: {
731
737
  marginHorizontal: 12,
732
- backgroundColor: _sharedUi.macOSColors.background.hover,
738
+ backgroundColor: _sharedUi.night.color.surface,
733
739
  borderRadius: 8,
734
740
  borderWidth: 1,
735
- borderColor: _sharedUi.macOSColors.border.default,
741
+ borderColor: _sharedUi.night.color.border,
736
742
  padding: 10,
737
743
  gap: 4
738
744
  },
@@ -744,19 +750,19 @@ const styles = _reactNative.StyleSheet.create({
744
750
  infoLabel: {
745
751
  fontSize: 11,
746
752
  fontWeight: "500",
747
- color: _sharedUi.macOSColors.text.muted,
753
+ color: _sharedUi.night.color.textTertiary,
748
754
  textTransform: "uppercase",
749
755
  letterSpacing: 0.3
750
756
  },
751
757
  infoValue: {
752
758
  fontSize: 12,
753
759
  fontWeight: "600",
754
- color: _sharedUi.macOSColors.text.primary
760
+ color: _sharedUi.night.color.text
755
761
  },
756
762
  infoValueMono: {
757
763
  fontSize: 12,
758
764
  fontWeight: "600",
759
- color: _sharedUi.macOSColors.text.primary,
765
+ color: _sharedUi.night.color.text,
760
766
  fontFamily: "monospace"
761
767
  },
762
768
  inputSection: {
@@ -766,22 +772,22 @@ const styles = _reactNative.StyleSheet.create({
766
772
  sectionLabel: {
767
773
  fontSize: 11,
768
774
  fontWeight: "600",
769
- color: _sharedUi.macOSColors.text.muted,
775
+ color: _sharedUi.night.color.textTertiary,
770
776
  textTransform: "uppercase",
771
777
  letterSpacing: 0.5
772
778
  },
773
779
  pasteButton: {
774
780
  paddingVertical: 10,
775
781
  borderRadius: 8,
776
- backgroundColor: _sharedUi.buoyColors.primary + "15",
782
+ backgroundColor: _sharedUi.night.color.accentSoft,
777
783
  borderWidth: 1,
778
- borderColor: _sharedUi.buoyColors.primary + "40",
784
+ borderColor: _sharedUi.night.color.accentBorderStrong,
779
785
  alignItems: "center"
780
786
  },
781
787
  pasteButtonText: {
782
788
  fontSize: 13,
783
789
  fontWeight: "600",
784
- color: _sharedUi.buoyColors.primary
790
+ color: _sharedUi.night.color.accent
785
791
  },
786
792
  urlRow: {
787
793
  flexDirection: "row",
@@ -791,18 +797,18 @@ const styles = _reactNative.StyleSheet.create({
791
797
  flex: 1,
792
798
  height: 36,
793
799
  borderRadius: 10,
794
- backgroundColor: _sharedUi.macOSColors.background.input,
800
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
795
801
  borderWidth: 1,
796
- borderColor: _sharedUi.macOSColors.border.default,
802
+ borderColor: _sharedUi.night.color.border,
797
803
  paddingHorizontal: 12,
798
804
  fontSize: 13,
799
- color: _sharedUi.macOSColors.text.primary
805
+ color: _sharedUi.night.color.text
800
806
  },
801
807
  loadButton: {
802
808
  height: 36,
803
809
  paddingHorizontal: 14,
804
810
  borderRadius: 8,
805
- backgroundColor: _sharedUi.buoyColors.primary,
811
+ backgroundColor: _sharedUi.night.color.accent,
806
812
  justifyContent: "center",
807
813
  alignItems: "center"
808
814
  },
@@ -812,7 +818,7 @@ const styles = _reactNative.StyleSheet.create({
812
818
  loadButtonText: {
813
819
  fontSize: 13,
814
820
  fontWeight: "600",
815
- color: "#fff"
821
+ color: _sharedUi.night.color.onAccent
816
822
  },
817
823
  toggleSection: {
818
824
  paddingHorizontal: 12,
@@ -822,26 +828,26 @@ const styles = _reactNative.StyleSheet.create({
822
828
  flexDirection: "row",
823
829
  alignItems: "center",
824
830
  justifyContent: "space-between",
825
- backgroundColor: _sharedUi.macOSColors.background.hover,
831
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
826
832
  borderRadius: 8,
827
833
  borderWidth: 1,
828
- borderColor: _sharedUi.macOSColors.border.default,
834
+ borderColor: _sharedUi.night.color.border,
829
835
  paddingHorizontal: 12,
830
836
  paddingVertical: 8
831
837
  },
832
838
  toggleLabel: {
833
839
  fontSize: 13,
834
840
  fontWeight: "500",
835
- color: _sharedUi.macOSColors.text.secondary
841
+ color: _sharedUi.night.color.textSecondary
836
842
  },
837
843
  blendRow: {
838
844
  flexDirection: "row",
839
845
  alignItems: "center",
840
846
  justifyContent: "space-between",
841
- backgroundColor: _sharedUi.macOSColors.background.hover,
847
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
842
848
  borderRadius: 8,
843
849
  borderWidth: 1,
844
- borderColor: _sharedUi.macOSColors.border.default,
850
+ borderColor: _sharedUi.night.color.border,
845
851
  paddingHorizontal: 12,
846
852
  paddingVertical: 6
847
853
  },
@@ -856,15 +862,15 @@ const styles = _reactNative.StyleSheet.create({
856
862
  backgroundColor: "transparent"
857
863
  },
858
864
  blendButtonActive: {
859
- backgroundColor: _sharedUi.buoyColors.primary + "20"
865
+ backgroundColor: _sharedUi.night.color.accentSoft
860
866
  },
861
867
  blendButtonText: {
862
868
  fontSize: 12,
863
869
  fontWeight: "600",
864
- color: _sharedUi.macOSColors.text.muted
870
+ color: _sharedUi.night.color.textTertiary
865
871
  },
866
872
  blendButtonTextActive: {
867
- color: _sharedUi.buoyColors.primary
873
+ color: _sharedUi.night.color.accent
868
874
  },
869
875
  actions: {
870
876
  flexDirection: "row",
@@ -881,13 +887,13 @@ const styles = _reactNative.StyleSheet.create({
881
887
  paddingVertical: 8,
882
888
  paddingHorizontal: 12,
883
889
  borderRadius: 8,
884
- backgroundColor: _sharedUi.macOSColors.background.hover,
890
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
885
891
  borderWidth: 1,
886
- borderColor: _sharedUi.macOSColors.border.default
892
+ borderColor: _sharedUi.night.color.border
887
893
  },
888
894
  actionButtonText: {
889
895
  fontSize: 12,
890
896
  fontWeight: "500",
891
- color: _sharedUi.macOSColors.text.secondary
897
+ color: _sharedUi.night.color.textSecondary
892
898
  }
893
899
  });
@@ -184,7 +184,7 @@ const styles = _reactNative.StyleSheet.create({
184
184
  label: {
185
185
  fontSize: 11,
186
186
  fontWeight: "600",
187
- color: _sharedUi.macOSColors.text.muted,
187
+ color: _sharedUi.night.color.textTertiary,
188
188
  textTransform: "uppercase",
189
189
  letterSpacing: 0.5
190
190
  },
@@ -197,16 +197,16 @@ const styles = _reactNative.StyleSheet.create({
197
197
  width: 28,
198
198
  height: 28,
199
199
  borderRadius: 6,
200
- backgroundColor: _sharedUi.macOSColors.background.hover,
200
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
201
201
  borderWidth: 1,
202
- borderColor: _sharedUi.macOSColors.border.default,
202
+ borderColor: _sharedUi.night.color.border,
203
203
  justifyContent: "center",
204
204
  alignItems: "center"
205
205
  },
206
206
  stepperButtonText: {
207
207
  fontSize: 16,
208
208
  fontWeight: "700",
209
- color: _sharedUi.macOSColors.text.primary,
209
+ color: _sharedUi.night.color.text,
210
210
  lineHeight: 18
211
211
  },
212
212
  sliderHitArea: {
@@ -220,9 +220,9 @@ const styles = _reactNative.StyleSheet.create({
220
220
  height: 28,
221
221
  justifyContent: "center",
222
222
  borderRadius: 6,
223
- backgroundColor: _sharedUi.macOSColors.background.hover,
223
+ backgroundColor: _sharedUi.night.color.bg,
224
224
  borderWidth: 1,
225
- borderColor: _sharedUi.macOSColors.border.default,
225
+ borderColor: _sharedUi.night.color.border,
226
226
  overflow: "hidden"
227
227
  },
228
228
  sliderFill: {
@@ -230,7 +230,7 @@ const styles = _reactNative.StyleSheet.create({
230
230
  left: 0,
231
231
  top: 0,
232
232
  bottom: 0,
233
- backgroundColor: _sharedUi.buoyColors.primary + "30",
233
+ backgroundColor: _sharedUi.night.color.accentFill,
234
234
  borderRadius: 5
235
235
  },
236
236
  sliderThumb: {
@@ -240,12 +240,12 @@ const styles = _reactNative.StyleSheet.create({
240
240
  bottom: 4,
241
241
  marginLeft: -2,
242
242
  borderRadius: 2,
243
- backgroundColor: _sharedUi.buoyColors.primary
243
+ backgroundColor: _sharedUi.night.color.accent
244
244
  },
245
245
  valueText: {
246
246
  fontSize: 11,
247
247
  fontWeight: "600",
248
- color: _sharedUi.macOSColors.text.primary,
248
+ color: _sharedUi.night.color.text,
249
249
  width: 45,
250
250
  textAlign: "right",
251
251
  fontFamily: "monospace"
@@ -39,7 +39,7 @@ function TargetRow({
39
39
  style: styles.testIdBadge,
40
40
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Hash, {
41
41
  size: 8,
42
- color: _sharedUi.buoyColors.success
42
+ color: _sharedUi.night.color.accent
43
43
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
44
44
  style: styles.testIdBadgeText,
45
45
  children: "testID"
@@ -57,7 +57,7 @@ function TargetRow({
57
57
  })]
58
58
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ChevronRight, {
59
59
  size: 16,
60
- color: _sharedUi.buoyColors.textMuted
60
+ color: _sharedUi.night.color.textTertiary
61
61
  })]
62
62
  });
63
63
  }
@@ -101,17 +101,17 @@ const styles = _reactNative.StyleSheet.create({
101
101
  paddingHorizontal: 12,
102
102
  marginHorizontal: 12,
103
103
  marginBottom: 6,
104
- backgroundColor: _sharedUi.buoyColors.card,
104
+ backgroundColor: _sharedUi.night.color.surface,
105
105
  borderRadius: 8,
106
106
  borderWidth: 1,
107
- borderColor: _sharedUi.buoyColors.border
107
+ borderColor: _sharedUi.night.color.border
108
108
  },
109
109
  colorIndicator: {
110
110
  width: 4,
111
111
  height: 36,
112
112
  borderRadius: 2,
113
113
  marginRight: 10,
114
- backgroundColor: _sharedUi.buoyColors.primary
114
+ backgroundColor: _sharedUi.night.color.accent
115
115
  },
116
116
  content: {
117
117
  flex: 1,
@@ -125,7 +125,7 @@ const styles = _reactNative.StyleSheet.create({
125
125
  label: {
126
126
  fontSize: 13,
127
127
  fontWeight: "600",
128
- color: _sharedUi.buoyColors.text,
128
+ color: _sharedUi.night.color.text,
129
129
  flex: 1
130
130
  },
131
131
  bottomRow: {
@@ -142,17 +142,17 @@ const styles = _reactNative.StyleSheet.create({
142
142
  paddingVertical: 2,
143
143
  paddingHorizontal: 5,
144
144
  borderRadius: 4,
145
- backgroundColor: _sharedUi.buoyColors.success + "20",
145
+ backgroundColor: _sharedUi.night.color.accentSoft,
146
146
  gap: 3
147
147
  },
148
148
  testIdBadgeText: {
149
149
  fontSize: 9,
150
150
  fontWeight: "700",
151
- color: _sharedUi.buoyColors.success
151
+ color: _sharedUi.night.color.accent
152
152
  },
153
153
  testIdValue: {
154
154
  fontSize: 11,
155
- color: _sharedUi.buoyColors.text,
155
+ color: _sharedUi.night.color.text,
156
156
  fontFamily: "monospace",
157
157
  flex: 1
158
158
  },
@@ -168,13 +168,13 @@ const styles = _reactNative.StyleSheet.create({
168
168
  paddingHorizontal: 32
169
169
  },
170
170
  emptyTitle: {
171
- color: _sharedUi.buoyColors.text,
171
+ color: _sharedUi.night.color.text,
172
172
  fontSize: 14,
173
173
  fontWeight: "600",
174
174
  marginBottom: 6
175
175
  },
176
176
  emptyText: {
177
- color: _sharedUi.buoyColors.textMuted,
177
+ color: _sharedUi.night.color.textTertiary,
178
178
  fontSize: 12,
179
179
  textAlign: "center",
180
180
  lineHeight: 18,
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { useState, useEffect, useCallback } from "react";
4
4
  import { View, Text, TextInput, TouchableOpacity, StyleSheet, Switch, Alert } from "react-native";
5
- import { JsModal, ModalHeader, macOSColors, buoyColors, Trash2, SquareDashed, Image, PowerToggleButton } from "@buoy-gg/shared-ui";
5
+ import { JsModal, ModalHeader, macOSColors, night, Trash2, SquareDashed, Image, PowerToggleButton } from "@buoy-gg/shared-ui";
6
6
  import { ImageOverlayController } from "../utils/ImageOverlayController";
7
7
  import { scanForImageTargets } from "../utils/fiberScanner";
8
8
  import { TargetList } from "./TargetList";
@@ -195,7 +195,7 @@ export function ImageOverlayModal({
195
195
  activeOpacity: 0.7,
196
196
  children: /*#__PURE__*/_jsx(Trash2, {
197
197
  size: 14,
198
- color: macOSColors.text.secondary
198
+ color: night.color.textSecondary
199
199
  })
200
200
  })]
201
201
  })]
@@ -216,11 +216,11 @@ export function ImageOverlayModal({
216
216
  activeOpacity: 0.7,
217
217
  children: [/*#__PURE__*/_jsx(View, {
218
218
  style: [styles.modeIconCircle, {
219
- backgroundColor: macOSColors.semantic.success + "18"
219
+ backgroundColor: night.color.accentSoft
220
220
  }],
221
221
  children: /*#__PURE__*/_jsx(SquareDashed, {
222
222
  size: 24,
223
- color: macOSColors.semantic.success
223
+ color: night.color.accent
224
224
  })
225
225
  }), /*#__PURE__*/_jsxs(Text, {
226
226
  style: styles.modePanelTitle,
@@ -235,11 +235,11 @@ export function ImageOverlayModal({
235
235
  activeOpacity: 0.7,
236
236
  children: [/*#__PURE__*/_jsx(View, {
237
237
  style: [styles.modeIconCircle, {
238
- backgroundColor: buoyColors.primary + "18"
238
+ backgroundColor: night.color.accentSoft
239
239
  }],
240
240
  children: /*#__PURE__*/_jsx(Image, {
241
241
  size: 24,
242
- color: buoyColors.primary
242
+ color: night.color.accent
243
243
  })
244
244
  }), /*#__PURE__*/_jsxs(Text, {
245
245
  style: styles.modePanelTitle,
@@ -303,6 +303,8 @@ export function ImageOverlayModal({
303
303
  style: styles.pasteButton,
304
304
  onPress: handlePasteImage,
305
305
  activeOpacity: 0.7,
306
+ accessibilityLabel: "Paste from clipboard",
307
+ accessibilityRole: "button",
306
308
  children: /*#__PURE__*/_jsx(Text, {
307
309
  style: styles.pasteButtonText,
308
310
  children: "Paste from Clipboard"
@@ -314,7 +316,7 @@ export function ImageOverlayModal({
314
316
  value: imageUrl,
315
317
  onChangeText: setImageUrl,
316
318
  placeholder: "or enter URL...",
317
- placeholderTextColor: macOSColors.text.muted,
319
+ placeholderTextColor: night.color.placeholder,
318
320
  autoCapitalize: "none",
319
321
  autoCorrect: false
320
322
  }), /*#__PURE__*/_jsx(TouchableOpacity, {
@@ -339,8 +341,8 @@ export function ImageOverlayModal({
339
341
  value: state.showOutline,
340
342
  onValueChange: v => ImageOverlayController.setShowOutline(v),
341
343
  trackColor: {
342
- false: macOSColors.background.hover,
343
- true: buoyColors.primary
344
+ false: night.color.surfaceElevated,
345
+ true: night.color.accent
344
346
  }
345
347
  })]
346
348
  }), /*#__PURE__*/_jsxs(View, {
@@ -352,8 +354,8 @@ export function ImageOverlayModal({
352
354
  value: autoTrack,
353
355
  onValueChange: setAutoTrack,
354
356
  trackColor: {
355
- false: macOSColors.background.hover,
356
- true: macOSColors.semantic.success
357
+ false: night.color.surfaceElevated,
358
+ true: night.color.accent
357
359
  }
358
360
  })]
359
361
  }), state.imageUri && /*#__PURE__*/_jsxs(_Fragment, {
@@ -440,6 +442,8 @@ export function ImageOverlayModal({
440
442
  style: styles.pasteButton,
441
443
  onPress: handlePasteImage,
442
444
  activeOpacity: 0.7,
445
+ accessibilityLabel: "Paste from clipboard",
446
+ accessibilityRole: "button",
443
447
  children: /*#__PURE__*/_jsx(Text, {
444
448
  style: styles.pasteButtonText,
445
449
  children: "Paste from Clipboard"
@@ -451,7 +455,7 @@ export function ImageOverlayModal({
451
455
  value: imageUrl,
452
456
  onChangeText: setImageUrl,
453
457
  placeholder: "or enter URL...",
454
- placeholderTextColor: macOSColors.text.muted,
458
+ placeholderTextColor: night.color.placeholder,
455
459
  autoCapitalize: "none",
456
460
  autoCorrect: false
457
461
  }), /*#__PURE__*/_jsx(TouchableOpacity, {
@@ -519,8 +523,8 @@ export function ImageOverlayModal({
519
523
  value: state.locked,
520
524
  onValueChange: v => ImageOverlayController.setLocked(v),
521
525
  trackColor: {
522
- false: macOSColors.background.hover,
523
- true: "#f59e0b"
526
+ false: night.color.surfaceElevated,
527
+ true: night.color.warning
524
528
  }
525
529
  })]
526
530
  }), /*#__PURE__*/_jsxs(View, {
@@ -636,30 +640,32 @@ const styles = StyleSheet.create({
636
640
  backgroundColor: macOSColors.background.card
637
641
  },
638
642
  container: {
639
- flex: 1
643
+ flex: 1,
644
+ // Transparent so the night sheet's star field shows through.
645
+ backgroundColor: "transparent"
640
646
  },
641
647
  headerTextButton: {
642
648
  height: 32,
643
649
  paddingHorizontal: 12,
644
650
  borderRadius: 8,
645
- backgroundColor: macOSColors.background.hover,
651
+ backgroundColor: night.color.buttonSurface,
646
652
  borderWidth: 1,
647
- borderColor: macOSColors.border.default,
653
+ borderColor: night.color.border,
648
654
  alignItems: "center",
649
655
  justifyContent: "center"
650
656
  },
651
657
  headerTextButtonLabel: {
652
658
  fontSize: 12,
653
659
  fontWeight: "600",
654
- color: buoyColors.primary
660
+ color: night.color.accent
655
661
  },
656
662
  headerActionButton: {
657
663
  width: 32,
658
664
  height: 32,
659
665
  borderRadius: 8,
660
- backgroundColor: macOSColors.background.hover,
666
+ backgroundColor: night.color.buttonSurface,
661
667
  borderWidth: 1,
662
- borderColor: macOSColors.border.default,
668
+ borderColor: night.color.border,
663
669
  alignItems: "center",
664
670
  justifyContent: "center"
665
671
  },
@@ -674,7 +680,7 @@ const styles = StyleSheet.create({
674
680
  homeSubtitle: {
675
681
  fontSize: 12,
676
682
  fontWeight: "600",
677
- color: macOSColors.text.muted,
683
+ color: night.color.textTertiary,
678
684
  textTransform: "uppercase",
679
685
  letterSpacing: 0.5,
680
686
  textAlign: "center"
@@ -688,10 +694,10 @@ const styles = StyleSheet.create({
688
694
  alignItems: "center",
689
695
  paddingVertical: 20,
690
696
  paddingHorizontal: 12,
691
- backgroundColor: macOSColors.background.hover,
697
+ backgroundColor: night.color.surface,
692
698
  borderRadius: 12,
693
699
  borderWidth: 1,
694
- borderColor: macOSColors.border.default,
700
+ borderColor: night.color.border,
695
701
  gap: 8
696
702
  },
697
703
  modeIconCircle: {
@@ -705,13 +711,13 @@ const styles = StyleSheet.create({
705
711
  modePanelTitle: {
706
712
  fontSize: 13,
707
713
  fontWeight: "700",
708
- color: macOSColors.text.primary,
714
+ color: night.color.text,
709
715
  textAlign: "center",
710
716
  lineHeight: 17
711
717
  },
712
718
  modePanelDesc: {
713
719
  fontSize: 11,
714
- color: macOSColors.text.muted,
720
+ color: night.color.textTertiary,
715
721
  textAlign: "center",
716
722
  lineHeight: 15
717
723
  },
@@ -724,10 +730,10 @@ const styles = StyleSheet.create({
724
730
  },
725
731
  infoCard: {
726
732
  marginHorizontal: 12,
727
- backgroundColor: macOSColors.background.hover,
733
+ backgroundColor: night.color.surface,
728
734
  borderRadius: 8,
729
735
  borderWidth: 1,
730
- borderColor: macOSColors.border.default,
736
+ borderColor: night.color.border,
731
737
  padding: 10,
732
738
  gap: 4
733
739
  },
@@ -739,19 +745,19 @@ const styles = StyleSheet.create({
739
745
  infoLabel: {
740
746
  fontSize: 11,
741
747
  fontWeight: "500",
742
- color: macOSColors.text.muted,
748
+ color: night.color.textTertiary,
743
749
  textTransform: "uppercase",
744
750
  letterSpacing: 0.3
745
751
  },
746
752
  infoValue: {
747
753
  fontSize: 12,
748
754
  fontWeight: "600",
749
- color: macOSColors.text.primary
755
+ color: night.color.text
750
756
  },
751
757
  infoValueMono: {
752
758
  fontSize: 12,
753
759
  fontWeight: "600",
754
- color: macOSColors.text.primary,
760
+ color: night.color.text,
755
761
  fontFamily: "monospace"
756
762
  },
757
763
  inputSection: {
@@ -761,22 +767,22 @@ const styles = StyleSheet.create({
761
767
  sectionLabel: {
762
768
  fontSize: 11,
763
769
  fontWeight: "600",
764
- color: macOSColors.text.muted,
770
+ color: night.color.textTertiary,
765
771
  textTransform: "uppercase",
766
772
  letterSpacing: 0.5
767
773
  },
768
774
  pasteButton: {
769
775
  paddingVertical: 10,
770
776
  borderRadius: 8,
771
- backgroundColor: buoyColors.primary + "15",
777
+ backgroundColor: night.color.accentSoft,
772
778
  borderWidth: 1,
773
- borderColor: buoyColors.primary + "40",
779
+ borderColor: night.color.accentBorderStrong,
774
780
  alignItems: "center"
775
781
  },
776
782
  pasteButtonText: {
777
783
  fontSize: 13,
778
784
  fontWeight: "600",
779
- color: buoyColors.primary
785
+ color: night.color.accent
780
786
  },
781
787
  urlRow: {
782
788
  flexDirection: "row",
@@ -786,18 +792,18 @@ const styles = StyleSheet.create({
786
792
  flex: 1,
787
793
  height: 36,
788
794
  borderRadius: 10,
789
- backgroundColor: macOSColors.background.input,
795
+ backgroundColor: night.color.surfaceElevated,
790
796
  borderWidth: 1,
791
- borderColor: macOSColors.border.default,
797
+ borderColor: night.color.border,
792
798
  paddingHorizontal: 12,
793
799
  fontSize: 13,
794
- color: macOSColors.text.primary
800
+ color: night.color.text
795
801
  },
796
802
  loadButton: {
797
803
  height: 36,
798
804
  paddingHorizontal: 14,
799
805
  borderRadius: 8,
800
- backgroundColor: buoyColors.primary,
806
+ backgroundColor: night.color.accent,
801
807
  justifyContent: "center",
802
808
  alignItems: "center"
803
809
  },
@@ -807,7 +813,7 @@ const styles = StyleSheet.create({
807
813
  loadButtonText: {
808
814
  fontSize: 13,
809
815
  fontWeight: "600",
810
- color: "#fff"
816
+ color: night.color.onAccent
811
817
  },
812
818
  toggleSection: {
813
819
  paddingHorizontal: 12,
@@ -817,26 +823,26 @@ const styles = StyleSheet.create({
817
823
  flexDirection: "row",
818
824
  alignItems: "center",
819
825
  justifyContent: "space-between",
820
- backgroundColor: macOSColors.background.hover,
826
+ backgroundColor: night.color.surfaceElevated,
821
827
  borderRadius: 8,
822
828
  borderWidth: 1,
823
- borderColor: macOSColors.border.default,
829
+ borderColor: night.color.border,
824
830
  paddingHorizontal: 12,
825
831
  paddingVertical: 8
826
832
  },
827
833
  toggleLabel: {
828
834
  fontSize: 13,
829
835
  fontWeight: "500",
830
- color: macOSColors.text.secondary
836
+ color: night.color.textSecondary
831
837
  },
832
838
  blendRow: {
833
839
  flexDirection: "row",
834
840
  alignItems: "center",
835
841
  justifyContent: "space-between",
836
- backgroundColor: macOSColors.background.hover,
842
+ backgroundColor: night.color.surfaceElevated,
837
843
  borderRadius: 8,
838
844
  borderWidth: 1,
839
- borderColor: macOSColors.border.default,
845
+ borderColor: night.color.border,
840
846
  paddingHorizontal: 12,
841
847
  paddingVertical: 6
842
848
  },
@@ -851,15 +857,15 @@ const styles = StyleSheet.create({
851
857
  backgroundColor: "transparent"
852
858
  },
853
859
  blendButtonActive: {
854
- backgroundColor: buoyColors.primary + "20"
860
+ backgroundColor: night.color.accentSoft
855
861
  },
856
862
  blendButtonText: {
857
863
  fontSize: 12,
858
864
  fontWeight: "600",
859
- color: macOSColors.text.muted
865
+ color: night.color.textTertiary
860
866
  },
861
867
  blendButtonTextActive: {
862
- color: buoyColors.primary
868
+ color: night.color.accent
863
869
  },
864
870
  actions: {
865
871
  flexDirection: "row",
@@ -876,13 +882,13 @@ const styles = StyleSheet.create({
876
882
  paddingVertical: 8,
877
883
  paddingHorizontal: 12,
878
884
  borderRadius: 8,
879
- backgroundColor: macOSColors.background.hover,
885
+ backgroundColor: night.color.surfaceElevated,
880
886
  borderWidth: 1,
881
- borderColor: macOSColors.border.default
887
+ borderColor: night.color.border
882
888
  },
883
889
  actionButtonText: {
884
890
  fontSize: 12,
885
891
  fontWeight: "500",
886
- color: macOSColors.text.secondary
892
+ color: night.color.textSecondary
887
893
  }
888
894
  });
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { useRef, useCallback } from "react";
9
9
  import { View, Text, TouchableOpacity, StyleSheet, PanResponder } from "react-native";
10
- import { macOSColors, buoyColors } from "@buoy-gg/shared-ui";
10
+ import { night } from "@buoy-gg/shared-ui";
11
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
12
  function SliderStepper({
13
13
  label,
@@ -180,7 +180,7 @@ const styles = StyleSheet.create({
180
180
  label: {
181
181
  fontSize: 11,
182
182
  fontWeight: "600",
183
- color: macOSColors.text.muted,
183
+ color: night.color.textTertiary,
184
184
  textTransform: "uppercase",
185
185
  letterSpacing: 0.5
186
186
  },
@@ -193,16 +193,16 @@ const styles = StyleSheet.create({
193
193
  width: 28,
194
194
  height: 28,
195
195
  borderRadius: 6,
196
- backgroundColor: macOSColors.background.hover,
196
+ backgroundColor: night.color.surfaceElevated,
197
197
  borderWidth: 1,
198
- borderColor: macOSColors.border.default,
198
+ borderColor: night.color.border,
199
199
  justifyContent: "center",
200
200
  alignItems: "center"
201
201
  },
202
202
  stepperButtonText: {
203
203
  fontSize: 16,
204
204
  fontWeight: "700",
205
- color: macOSColors.text.primary,
205
+ color: night.color.text,
206
206
  lineHeight: 18
207
207
  },
208
208
  sliderHitArea: {
@@ -216,9 +216,9 @@ const styles = StyleSheet.create({
216
216
  height: 28,
217
217
  justifyContent: "center",
218
218
  borderRadius: 6,
219
- backgroundColor: macOSColors.background.hover,
219
+ backgroundColor: night.color.bg,
220
220
  borderWidth: 1,
221
- borderColor: macOSColors.border.default,
221
+ borderColor: night.color.border,
222
222
  overflow: "hidden"
223
223
  },
224
224
  sliderFill: {
@@ -226,7 +226,7 @@ const styles = StyleSheet.create({
226
226
  left: 0,
227
227
  top: 0,
228
228
  bottom: 0,
229
- backgroundColor: buoyColors.primary + "30",
229
+ backgroundColor: night.color.accentFill,
230
230
  borderRadius: 5
231
231
  },
232
232
  sliderThumb: {
@@ -236,12 +236,12 @@ const styles = StyleSheet.create({
236
236
  bottom: 4,
237
237
  marginLeft: -2,
238
238
  borderRadius: 2,
239
- backgroundColor: buoyColors.primary
239
+ backgroundColor: night.color.accent
240
240
  },
241
241
  valueText: {
242
242
  fontSize: 11,
243
243
  fontWeight: "600",
244
- color: macOSColors.text.primary,
244
+ color: night.color.text,
245
245
  width: 45,
246
246
  textAlign: "right",
247
247
  fontFamily: "monospace"
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from "react-native";
9
- import { ChevronRight, buoyColors, Hash } from "@buoy-gg/shared-ui";
9
+ import { ChevronRight, night, Hash } from "@buoy-gg/shared-ui";
10
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  function TargetRow({
12
12
  target,
@@ -35,7 +35,7 @@ function TargetRow({
35
35
  style: styles.testIdBadge,
36
36
  children: [/*#__PURE__*/_jsx(Hash, {
37
37
  size: 8,
38
- color: buoyColors.success
38
+ color: night.color.accent
39
39
  }), /*#__PURE__*/_jsx(Text, {
40
40
  style: styles.testIdBadgeText,
41
41
  children: "testID"
@@ -53,7 +53,7 @@ function TargetRow({
53
53
  })]
54
54
  }), /*#__PURE__*/_jsx(ChevronRight, {
55
55
  size: 16,
56
- color: buoyColors.textMuted
56
+ color: night.color.textTertiary
57
57
  })]
58
58
  });
59
59
  }
@@ -97,17 +97,17 @@ const styles = StyleSheet.create({
97
97
  paddingHorizontal: 12,
98
98
  marginHorizontal: 12,
99
99
  marginBottom: 6,
100
- backgroundColor: buoyColors.card,
100
+ backgroundColor: night.color.surface,
101
101
  borderRadius: 8,
102
102
  borderWidth: 1,
103
- borderColor: buoyColors.border
103
+ borderColor: night.color.border
104
104
  },
105
105
  colorIndicator: {
106
106
  width: 4,
107
107
  height: 36,
108
108
  borderRadius: 2,
109
109
  marginRight: 10,
110
- backgroundColor: buoyColors.primary
110
+ backgroundColor: night.color.accent
111
111
  },
112
112
  content: {
113
113
  flex: 1,
@@ -121,7 +121,7 @@ const styles = StyleSheet.create({
121
121
  label: {
122
122
  fontSize: 13,
123
123
  fontWeight: "600",
124
- color: buoyColors.text,
124
+ color: night.color.text,
125
125
  flex: 1
126
126
  },
127
127
  bottomRow: {
@@ -138,17 +138,17 @@ const styles = StyleSheet.create({
138
138
  paddingVertical: 2,
139
139
  paddingHorizontal: 5,
140
140
  borderRadius: 4,
141
- backgroundColor: buoyColors.success + "20",
141
+ backgroundColor: night.color.accentSoft,
142
142
  gap: 3
143
143
  },
144
144
  testIdBadgeText: {
145
145
  fontSize: 9,
146
146
  fontWeight: "700",
147
- color: buoyColors.success
147
+ color: night.color.accent
148
148
  },
149
149
  testIdValue: {
150
150
  fontSize: 11,
151
- color: buoyColors.text,
151
+ color: night.color.text,
152
152
  fontFamily: "monospace",
153
153
  flex: 1
154
154
  },
@@ -164,13 +164,13 @@ const styles = StyleSheet.create({
164
164
  paddingHorizontal: 32
165
165
  },
166
166
  emptyTitle: {
167
- color: buoyColors.text,
167
+ color: night.color.text,
168
168
  fontSize: 14,
169
169
  fontWeight: "600",
170
170
  marginBottom: 6
171
171
  },
172
172
  emptyText: {
173
- color: buoyColors.textMuted,
173
+ color: night.color.textTertiary,
174
174
  fontSize: 12,
175
175
  textAlign: "center",
176
176
  lineHeight: 18,
@@ -1 +1 @@
1
- {"version":3,"file":"ImageOverlayModal.d.ts","sourceRoot":"","sources":["../../../../src/imageOverlay/components/ImageOverlayModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,sBAAsB,EAAkC,MAAM,UAAU,CAAC;AAMvF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAKjE,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,2BAAmC,EACnC,iBAAiB,EACjB,sBAAsB,EACtB,MAAc,EACd,WAAW,GACZ,EAAE,sBAAsB,+BA4iBxB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,GAAE,IAAI,CAAC,sBAAsB,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAM,+BAG3E"}
1
+ {"version":3,"file":"ImageOverlayModal.d.ts","sourceRoot":"","sources":["../../../../src/imageOverlay/components/ImageOverlayModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,sBAAsB,EAAkC,MAAM,UAAU,CAAC;AAMvF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAKjE,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,2BAAmC,EACnC,iBAAiB,EACjB,sBAAsB,EACtB,MAAc,EACd,WAAW,GACZ,EAAE,sBAAsB,+BAgjBxB;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,GAAE,IAAI,CAAC,sBAAsB,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAM,+BAG3E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/image-overlay",
3
- "version": "7.0.26",
3
+ "version": "7.0.28",
4
4
  "description": "Pin your Figma mockup on top of the running app — pixel-perfect UI comparison without leaving the simulator. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@buoy-gg/shared-ui": "^7.0.26"
29
+ "@buoy-gg/shared-ui": "^7.0.28"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "*",