@buoy-gg/image-overlay 7.0.25 → 7.0.27

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,
@@ -319,7 +319,7 @@ function ImageOverlayModal({
319
319
  value: imageUrl,
320
320
  onChangeText: setImageUrl,
321
321
  placeholder: "or enter URL...",
322
- placeholderTextColor: _sharedUi.macOSColors.text.muted,
322
+ placeholderTextColor: _sharedUi.night.color.placeholder,
323
323
  autoCapitalize: "none",
324
324
  autoCorrect: false
325
325
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
@@ -344,8 +344,8 @@ function ImageOverlayModal({
344
344
  value: state.showOutline,
345
345
  onValueChange: v => _ImageOverlayController.ImageOverlayController.setShowOutline(v),
346
346
  trackColor: {
347
- false: _sharedUi.macOSColors.background.hover,
348
- true: _sharedUi.buoyColors.primary
347
+ false: _sharedUi.night.color.surfaceElevated,
348
+ true: _sharedUi.night.color.accent
349
349
  }
350
350
  })]
351
351
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
@@ -357,8 +357,8 @@ function ImageOverlayModal({
357
357
  value: autoTrack,
358
358
  onValueChange: setAutoTrack,
359
359
  trackColor: {
360
- false: _sharedUi.macOSColors.background.hover,
361
- true: _sharedUi.macOSColors.semantic.success
360
+ false: _sharedUi.night.color.surfaceElevated,
361
+ true: _sharedUi.night.color.accent
362
362
  }
363
363
  })]
364
364
  }), state.imageUri && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
@@ -456,7 +456,7 @@ function ImageOverlayModal({
456
456
  value: imageUrl,
457
457
  onChangeText: setImageUrl,
458
458
  placeholder: "or enter URL...",
459
- placeholderTextColor: _sharedUi.macOSColors.text.muted,
459
+ placeholderTextColor: _sharedUi.night.color.placeholder,
460
460
  autoCapitalize: "none",
461
461
  autoCorrect: false
462
462
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
@@ -524,8 +524,8 @@ function ImageOverlayModal({
524
524
  value: state.locked,
525
525
  onValueChange: v => _ImageOverlayController.ImageOverlayController.setLocked(v),
526
526
  trackColor: {
527
- false: _sharedUi.macOSColors.background.hover,
528
- true: "#f59e0b"
527
+ false: _sharedUi.night.color.surfaceElevated,
528
+ true: _sharedUi.night.color.warning
529
529
  }
530
530
  })]
531
531
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
@@ -641,30 +641,32 @@ const styles = _reactNative.StyleSheet.create({
641
641
  backgroundColor: _sharedUi.macOSColors.background.card
642
642
  },
643
643
  container: {
644
- flex: 1
644
+ flex: 1,
645
+ // Transparent so the night sheet's star field shows through.
646
+ backgroundColor: "transparent"
645
647
  },
646
648
  headerTextButton: {
647
649
  height: 32,
648
650
  paddingHorizontal: 12,
649
651
  borderRadius: 8,
650
- backgroundColor: _sharedUi.macOSColors.background.hover,
652
+ backgroundColor: _sharedUi.night.color.buttonSurface,
651
653
  borderWidth: 1,
652
- borderColor: _sharedUi.macOSColors.border.default,
654
+ borderColor: _sharedUi.night.color.border,
653
655
  alignItems: "center",
654
656
  justifyContent: "center"
655
657
  },
656
658
  headerTextButtonLabel: {
657
659
  fontSize: 12,
658
660
  fontWeight: "600",
659
- color: _sharedUi.buoyColors.primary
661
+ color: _sharedUi.night.color.accent
660
662
  },
661
663
  headerActionButton: {
662
664
  width: 32,
663
665
  height: 32,
664
666
  borderRadius: 8,
665
- backgroundColor: _sharedUi.macOSColors.background.hover,
667
+ backgroundColor: _sharedUi.night.color.buttonSurface,
666
668
  borderWidth: 1,
667
- borderColor: _sharedUi.macOSColors.border.default,
669
+ borderColor: _sharedUi.night.color.border,
668
670
  alignItems: "center",
669
671
  justifyContent: "center"
670
672
  },
@@ -679,7 +681,7 @@ const styles = _reactNative.StyleSheet.create({
679
681
  homeSubtitle: {
680
682
  fontSize: 12,
681
683
  fontWeight: "600",
682
- color: _sharedUi.macOSColors.text.muted,
684
+ color: _sharedUi.night.color.textTertiary,
683
685
  textTransform: "uppercase",
684
686
  letterSpacing: 0.5,
685
687
  textAlign: "center"
@@ -693,10 +695,10 @@ const styles = _reactNative.StyleSheet.create({
693
695
  alignItems: "center",
694
696
  paddingVertical: 20,
695
697
  paddingHorizontal: 12,
696
- backgroundColor: _sharedUi.macOSColors.background.hover,
698
+ backgroundColor: _sharedUi.night.color.surface,
697
699
  borderRadius: 12,
698
700
  borderWidth: 1,
699
- borderColor: _sharedUi.macOSColors.border.default,
701
+ borderColor: _sharedUi.night.color.border,
700
702
  gap: 8
701
703
  },
702
704
  modeIconCircle: {
@@ -710,13 +712,13 @@ const styles = _reactNative.StyleSheet.create({
710
712
  modePanelTitle: {
711
713
  fontSize: 13,
712
714
  fontWeight: "700",
713
- color: _sharedUi.macOSColors.text.primary,
715
+ color: _sharedUi.night.color.text,
714
716
  textAlign: "center",
715
717
  lineHeight: 17
716
718
  },
717
719
  modePanelDesc: {
718
720
  fontSize: 11,
719
- color: _sharedUi.macOSColors.text.muted,
721
+ color: _sharedUi.night.color.textTertiary,
720
722
  textAlign: "center",
721
723
  lineHeight: 15
722
724
  },
@@ -729,10 +731,10 @@ const styles = _reactNative.StyleSheet.create({
729
731
  },
730
732
  infoCard: {
731
733
  marginHorizontal: 12,
732
- backgroundColor: _sharedUi.macOSColors.background.hover,
734
+ backgroundColor: _sharedUi.night.color.surface,
733
735
  borderRadius: 8,
734
736
  borderWidth: 1,
735
- borderColor: _sharedUi.macOSColors.border.default,
737
+ borderColor: _sharedUi.night.color.border,
736
738
  padding: 10,
737
739
  gap: 4
738
740
  },
@@ -744,19 +746,19 @@ const styles = _reactNative.StyleSheet.create({
744
746
  infoLabel: {
745
747
  fontSize: 11,
746
748
  fontWeight: "500",
747
- color: _sharedUi.macOSColors.text.muted,
749
+ color: _sharedUi.night.color.textTertiary,
748
750
  textTransform: "uppercase",
749
751
  letterSpacing: 0.3
750
752
  },
751
753
  infoValue: {
752
754
  fontSize: 12,
753
755
  fontWeight: "600",
754
- color: _sharedUi.macOSColors.text.primary
756
+ color: _sharedUi.night.color.text
755
757
  },
756
758
  infoValueMono: {
757
759
  fontSize: 12,
758
760
  fontWeight: "600",
759
- color: _sharedUi.macOSColors.text.primary,
761
+ color: _sharedUi.night.color.text,
760
762
  fontFamily: "monospace"
761
763
  },
762
764
  inputSection: {
@@ -766,22 +768,22 @@ const styles = _reactNative.StyleSheet.create({
766
768
  sectionLabel: {
767
769
  fontSize: 11,
768
770
  fontWeight: "600",
769
- color: _sharedUi.macOSColors.text.muted,
771
+ color: _sharedUi.night.color.textTertiary,
770
772
  textTransform: "uppercase",
771
773
  letterSpacing: 0.5
772
774
  },
773
775
  pasteButton: {
774
776
  paddingVertical: 10,
775
777
  borderRadius: 8,
776
- backgroundColor: _sharedUi.buoyColors.primary + "15",
778
+ backgroundColor: _sharedUi.night.color.accentSoft,
777
779
  borderWidth: 1,
778
- borderColor: _sharedUi.buoyColors.primary + "40",
780
+ borderColor: _sharedUi.night.color.accentBorderStrong,
779
781
  alignItems: "center"
780
782
  },
781
783
  pasteButtonText: {
782
784
  fontSize: 13,
783
785
  fontWeight: "600",
784
- color: _sharedUi.buoyColors.primary
786
+ color: _sharedUi.night.color.accent
785
787
  },
786
788
  urlRow: {
787
789
  flexDirection: "row",
@@ -791,18 +793,18 @@ const styles = _reactNative.StyleSheet.create({
791
793
  flex: 1,
792
794
  height: 36,
793
795
  borderRadius: 10,
794
- backgroundColor: _sharedUi.macOSColors.background.input,
796
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
795
797
  borderWidth: 1,
796
- borderColor: _sharedUi.macOSColors.border.default,
798
+ borderColor: _sharedUi.night.color.border,
797
799
  paddingHorizontal: 12,
798
800
  fontSize: 13,
799
- color: _sharedUi.macOSColors.text.primary
801
+ color: _sharedUi.night.color.text
800
802
  },
801
803
  loadButton: {
802
804
  height: 36,
803
805
  paddingHorizontal: 14,
804
806
  borderRadius: 8,
805
- backgroundColor: _sharedUi.buoyColors.primary,
807
+ backgroundColor: _sharedUi.night.color.accent,
806
808
  justifyContent: "center",
807
809
  alignItems: "center"
808
810
  },
@@ -812,7 +814,7 @@ const styles = _reactNative.StyleSheet.create({
812
814
  loadButtonText: {
813
815
  fontSize: 13,
814
816
  fontWeight: "600",
815
- color: "#fff"
817
+ color: _sharedUi.night.color.onAccent
816
818
  },
817
819
  toggleSection: {
818
820
  paddingHorizontal: 12,
@@ -822,26 +824,26 @@ const styles = _reactNative.StyleSheet.create({
822
824
  flexDirection: "row",
823
825
  alignItems: "center",
824
826
  justifyContent: "space-between",
825
- backgroundColor: _sharedUi.macOSColors.background.hover,
827
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
826
828
  borderRadius: 8,
827
829
  borderWidth: 1,
828
- borderColor: _sharedUi.macOSColors.border.default,
830
+ borderColor: _sharedUi.night.color.border,
829
831
  paddingHorizontal: 12,
830
832
  paddingVertical: 8
831
833
  },
832
834
  toggleLabel: {
833
835
  fontSize: 13,
834
836
  fontWeight: "500",
835
- color: _sharedUi.macOSColors.text.secondary
837
+ color: _sharedUi.night.color.textSecondary
836
838
  },
837
839
  blendRow: {
838
840
  flexDirection: "row",
839
841
  alignItems: "center",
840
842
  justifyContent: "space-between",
841
- backgroundColor: _sharedUi.macOSColors.background.hover,
843
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
842
844
  borderRadius: 8,
843
845
  borderWidth: 1,
844
- borderColor: _sharedUi.macOSColors.border.default,
846
+ borderColor: _sharedUi.night.color.border,
845
847
  paddingHorizontal: 12,
846
848
  paddingVertical: 6
847
849
  },
@@ -856,15 +858,15 @@ const styles = _reactNative.StyleSheet.create({
856
858
  backgroundColor: "transparent"
857
859
  },
858
860
  blendButtonActive: {
859
- backgroundColor: _sharedUi.buoyColors.primary + "20"
861
+ backgroundColor: _sharedUi.night.color.accentSoft
860
862
  },
861
863
  blendButtonText: {
862
864
  fontSize: 12,
863
865
  fontWeight: "600",
864
- color: _sharedUi.macOSColors.text.muted
866
+ color: _sharedUi.night.color.textTertiary
865
867
  },
866
868
  blendButtonTextActive: {
867
- color: _sharedUi.buoyColors.primary
869
+ color: _sharedUi.night.color.accent
868
870
  },
869
871
  actions: {
870
872
  flexDirection: "row",
@@ -881,13 +883,13 @@ const styles = _reactNative.StyleSheet.create({
881
883
  paddingVertical: 8,
882
884
  paddingHorizontal: 12,
883
885
  borderRadius: 8,
884
- backgroundColor: _sharedUi.macOSColors.background.hover,
886
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
885
887
  borderWidth: 1,
886
- borderColor: _sharedUi.macOSColors.border.default
888
+ borderColor: _sharedUi.night.color.border
887
889
  },
888
890
  actionButtonText: {
889
891
  fontSize: 12,
890
892
  fontWeight: "500",
891
- color: _sharedUi.macOSColors.text.secondary
893
+ color: _sharedUi.night.color.textSecondary
892
894
  }
893
895
  });
@@ -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,
@@ -314,7 +314,7 @@ export function ImageOverlayModal({
314
314
  value: imageUrl,
315
315
  onChangeText: setImageUrl,
316
316
  placeholder: "or enter URL...",
317
- placeholderTextColor: macOSColors.text.muted,
317
+ placeholderTextColor: night.color.placeholder,
318
318
  autoCapitalize: "none",
319
319
  autoCorrect: false
320
320
  }), /*#__PURE__*/_jsx(TouchableOpacity, {
@@ -339,8 +339,8 @@ export function ImageOverlayModal({
339
339
  value: state.showOutline,
340
340
  onValueChange: v => ImageOverlayController.setShowOutline(v),
341
341
  trackColor: {
342
- false: macOSColors.background.hover,
343
- true: buoyColors.primary
342
+ false: night.color.surfaceElevated,
343
+ true: night.color.accent
344
344
  }
345
345
  })]
346
346
  }), /*#__PURE__*/_jsxs(View, {
@@ -352,8 +352,8 @@ export function ImageOverlayModal({
352
352
  value: autoTrack,
353
353
  onValueChange: setAutoTrack,
354
354
  trackColor: {
355
- false: macOSColors.background.hover,
356
- true: macOSColors.semantic.success
355
+ false: night.color.surfaceElevated,
356
+ true: night.color.accent
357
357
  }
358
358
  })]
359
359
  }), state.imageUri && /*#__PURE__*/_jsxs(_Fragment, {
@@ -451,7 +451,7 @@ export function ImageOverlayModal({
451
451
  value: imageUrl,
452
452
  onChangeText: setImageUrl,
453
453
  placeholder: "or enter URL...",
454
- placeholderTextColor: macOSColors.text.muted,
454
+ placeholderTextColor: night.color.placeholder,
455
455
  autoCapitalize: "none",
456
456
  autoCorrect: false
457
457
  }), /*#__PURE__*/_jsx(TouchableOpacity, {
@@ -519,8 +519,8 @@ export function ImageOverlayModal({
519
519
  value: state.locked,
520
520
  onValueChange: v => ImageOverlayController.setLocked(v),
521
521
  trackColor: {
522
- false: macOSColors.background.hover,
523
- true: "#f59e0b"
522
+ false: night.color.surfaceElevated,
523
+ true: night.color.warning
524
524
  }
525
525
  })]
526
526
  }), /*#__PURE__*/_jsxs(View, {
@@ -636,30 +636,32 @@ const styles = StyleSheet.create({
636
636
  backgroundColor: macOSColors.background.card
637
637
  },
638
638
  container: {
639
- flex: 1
639
+ flex: 1,
640
+ // Transparent so the night sheet's star field shows through.
641
+ backgroundColor: "transparent"
640
642
  },
641
643
  headerTextButton: {
642
644
  height: 32,
643
645
  paddingHorizontal: 12,
644
646
  borderRadius: 8,
645
- backgroundColor: macOSColors.background.hover,
647
+ backgroundColor: night.color.buttonSurface,
646
648
  borderWidth: 1,
647
- borderColor: macOSColors.border.default,
649
+ borderColor: night.color.border,
648
650
  alignItems: "center",
649
651
  justifyContent: "center"
650
652
  },
651
653
  headerTextButtonLabel: {
652
654
  fontSize: 12,
653
655
  fontWeight: "600",
654
- color: buoyColors.primary
656
+ color: night.color.accent
655
657
  },
656
658
  headerActionButton: {
657
659
  width: 32,
658
660
  height: 32,
659
661
  borderRadius: 8,
660
- backgroundColor: macOSColors.background.hover,
662
+ backgroundColor: night.color.buttonSurface,
661
663
  borderWidth: 1,
662
- borderColor: macOSColors.border.default,
664
+ borderColor: night.color.border,
663
665
  alignItems: "center",
664
666
  justifyContent: "center"
665
667
  },
@@ -674,7 +676,7 @@ const styles = StyleSheet.create({
674
676
  homeSubtitle: {
675
677
  fontSize: 12,
676
678
  fontWeight: "600",
677
- color: macOSColors.text.muted,
679
+ color: night.color.textTertiary,
678
680
  textTransform: "uppercase",
679
681
  letterSpacing: 0.5,
680
682
  textAlign: "center"
@@ -688,10 +690,10 @@ const styles = StyleSheet.create({
688
690
  alignItems: "center",
689
691
  paddingVertical: 20,
690
692
  paddingHorizontal: 12,
691
- backgroundColor: macOSColors.background.hover,
693
+ backgroundColor: night.color.surface,
692
694
  borderRadius: 12,
693
695
  borderWidth: 1,
694
- borderColor: macOSColors.border.default,
696
+ borderColor: night.color.border,
695
697
  gap: 8
696
698
  },
697
699
  modeIconCircle: {
@@ -705,13 +707,13 @@ const styles = StyleSheet.create({
705
707
  modePanelTitle: {
706
708
  fontSize: 13,
707
709
  fontWeight: "700",
708
- color: macOSColors.text.primary,
710
+ color: night.color.text,
709
711
  textAlign: "center",
710
712
  lineHeight: 17
711
713
  },
712
714
  modePanelDesc: {
713
715
  fontSize: 11,
714
- color: macOSColors.text.muted,
716
+ color: night.color.textTertiary,
715
717
  textAlign: "center",
716
718
  lineHeight: 15
717
719
  },
@@ -724,10 +726,10 @@ const styles = StyleSheet.create({
724
726
  },
725
727
  infoCard: {
726
728
  marginHorizontal: 12,
727
- backgroundColor: macOSColors.background.hover,
729
+ backgroundColor: night.color.surface,
728
730
  borderRadius: 8,
729
731
  borderWidth: 1,
730
- borderColor: macOSColors.border.default,
732
+ borderColor: night.color.border,
731
733
  padding: 10,
732
734
  gap: 4
733
735
  },
@@ -739,19 +741,19 @@ const styles = StyleSheet.create({
739
741
  infoLabel: {
740
742
  fontSize: 11,
741
743
  fontWeight: "500",
742
- color: macOSColors.text.muted,
744
+ color: night.color.textTertiary,
743
745
  textTransform: "uppercase",
744
746
  letterSpacing: 0.3
745
747
  },
746
748
  infoValue: {
747
749
  fontSize: 12,
748
750
  fontWeight: "600",
749
- color: macOSColors.text.primary
751
+ color: night.color.text
750
752
  },
751
753
  infoValueMono: {
752
754
  fontSize: 12,
753
755
  fontWeight: "600",
754
- color: macOSColors.text.primary,
756
+ color: night.color.text,
755
757
  fontFamily: "monospace"
756
758
  },
757
759
  inputSection: {
@@ -761,22 +763,22 @@ const styles = StyleSheet.create({
761
763
  sectionLabel: {
762
764
  fontSize: 11,
763
765
  fontWeight: "600",
764
- color: macOSColors.text.muted,
766
+ color: night.color.textTertiary,
765
767
  textTransform: "uppercase",
766
768
  letterSpacing: 0.5
767
769
  },
768
770
  pasteButton: {
769
771
  paddingVertical: 10,
770
772
  borderRadius: 8,
771
- backgroundColor: buoyColors.primary + "15",
773
+ backgroundColor: night.color.accentSoft,
772
774
  borderWidth: 1,
773
- borderColor: buoyColors.primary + "40",
775
+ borderColor: night.color.accentBorderStrong,
774
776
  alignItems: "center"
775
777
  },
776
778
  pasteButtonText: {
777
779
  fontSize: 13,
778
780
  fontWeight: "600",
779
- color: buoyColors.primary
781
+ color: night.color.accent
780
782
  },
781
783
  urlRow: {
782
784
  flexDirection: "row",
@@ -786,18 +788,18 @@ const styles = StyleSheet.create({
786
788
  flex: 1,
787
789
  height: 36,
788
790
  borderRadius: 10,
789
- backgroundColor: macOSColors.background.input,
791
+ backgroundColor: night.color.surfaceElevated,
790
792
  borderWidth: 1,
791
- borderColor: macOSColors.border.default,
793
+ borderColor: night.color.border,
792
794
  paddingHorizontal: 12,
793
795
  fontSize: 13,
794
- color: macOSColors.text.primary
796
+ color: night.color.text
795
797
  },
796
798
  loadButton: {
797
799
  height: 36,
798
800
  paddingHorizontal: 14,
799
801
  borderRadius: 8,
800
- backgroundColor: buoyColors.primary,
802
+ backgroundColor: night.color.accent,
801
803
  justifyContent: "center",
802
804
  alignItems: "center"
803
805
  },
@@ -807,7 +809,7 @@ const styles = StyleSheet.create({
807
809
  loadButtonText: {
808
810
  fontSize: 13,
809
811
  fontWeight: "600",
810
- color: "#fff"
812
+ color: night.color.onAccent
811
813
  },
812
814
  toggleSection: {
813
815
  paddingHorizontal: 12,
@@ -817,26 +819,26 @@ const styles = StyleSheet.create({
817
819
  flexDirection: "row",
818
820
  alignItems: "center",
819
821
  justifyContent: "space-between",
820
- backgroundColor: macOSColors.background.hover,
822
+ backgroundColor: night.color.surfaceElevated,
821
823
  borderRadius: 8,
822
824
  borderWidth: 1,
823
- borderColor: macOSColors.border.default,
825
+ borderColor: night.color.border,
824
826
  paddingHorizontal: 12,
825
827
  paddingVertical: 8
826
828
  },
827
829
  toggleLabel: {
828
830
  fontSize: 13,
829
831
  fontWeight: "500",
830
- color: macOSColors.text.secondary
832
+ color: night.color.textSecondary
831
833
  },
832
834
  blendRow: {
833
835
  flexDirection: "row",
834
836
  alignItems: "center",
835
837
  justifyContent: "space-between",
836
- backgroundColor: macOSColors.background.hover,
838
+ backgroundColor: night.color.surfaceElevated,
837
839
  borderRadius: 8,
838
840
  borderWidth: 1,
839
- borderColor: macOSColors.border.default,
841
+ borderColor: night.color.border,
840
842
  paddingHorizontal: 12,
841
843
  paddingVertical: 6
842
844
  },
@@ -851,15 +853,15 @@ const styles = StyleSheet.create({
851
853
  backgroundColor: "transparent"
852
854
  },
853
855
  blendButtonActive: {
854
- backgroundColor: buoyColors.primary + "20"
856
+ backgroundColor: night.color.accentSoft
855
857
  },
856
858
  blendButtonText: {
857
859
  fontSize: 12,
858
860
  fontWeight: "600",
859
- color: macOSColors.text.muted
861
+ color: night.color.textTertiary
860
862
  },
861
863
  blendButtonTextActive: {
862
- color: buoyColors.primary
864
+ color: night.color.accent
863
865
  },
864
866
  actions: {
865
867
  flexDirection: "row",
@@ -876,13 +878,13 @@ const styles = StyleSheet.create({
876
878
  paddingVertical: 8,
877
879
  paddingHorizontal: 12,
878
880
  borderRadius: 8,
879
- backgroundColor: macOSColors.background.hover,
881
+ backgroundColor: night.color.surfaceElevated,
880
882
  borderWidth: 1,
881
- borderColor: macOSColors.border.default
883
+ borderColor: night.color.border
882
884
  },
883
885
  actionButtonText: {
884
886
  fontSize: 12,
885
887
  fontWeight: "500",
886
- color: macOSColors.text.secondary
888
+ color: night.color.textSecondary
887
889
  }
888
890
  });
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/image-overlay",
3
- "version": "7.0.25",
3
+ "version": "7.0.27",
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.25"
29
+ "@buoy-gg/shared-ui": "^7.0.27"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "*",