@artsy/palette-mobile 14.0.44 → 14.0.45--canary.331.3541.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist/elements/Avatar/Avatar.js +2 -2
  2. package/dist/elements/Banner/Banner.js +7 -7
  3. package/dist/elements/Banner/Banner.stories.js +1 -1
  4. package/dist/elements/BorderBox/BorderBox.js +1 -1
  5. package/dist/elements/Box/Box.stories.js +2 -2
  6. package/dist/elements/Button/Button.js +50 -50
  7. package/dist/elements/Button/FollowButton.js +1 -1
  8. package/dist/elements/Button/colors.js +27 -27
  9. package/dist/elements/ButtonNew/Button.js +1 -1
  10. package/dist/elements/ButtonNew/Button.stories.js +2 -2
  11. package/dist/elements/ButtonNew/FollowButton.js +1 -1
  12. package/dist/elements/ButtonNew/colors.js +27 -27
  13. package/dist/elements/Checkbox/Check.js +12 -12
  14. package/dist/elements/Checkbox/Checkbox.js +12 -12
  15. package/dist/elements/Chip/Chip.js +3 -3
  16. package/dist/elements/CollapsibleMenuItem/CollapsibleMenuItem.js +1 -1
  17. package/dist/elements/Dialog/Dialog.js +3 -3
  18. package/dist/elements/EntityHeader/EntityHeader.js +3 -3
  19. package/dist/elements/Histogram/Histogram.js +1 -1
  20. package/dist/elements/Image/Image.js +2 -2
  21. package/dist/elements/Input/Input.js +10 -10
  22. package/dist/elements/Input/helpers.js +19 -19
  23. package/dist/elements/LegacyScreen/LegacyScreen.js +2 -2
  24. package/dist/elements/LegacyTabs/StepTabs.js +1 -1
  25. package/dist/elements/LegacyTabs/Tab.js +1 -1
  26. package/dist/elements/LegacyTabs/TabBarContainer.js +2 -2
  27. package/dist/elements/List/BulletedItem.js +1 -1
  28. package/dist/elements/List/List.stories.js +1 -1
  29. package/dist/elements/MenuItem/MenuItem.js +2 -2
  30. package/dist/elements/Message/Message.js +17 -17
  31. package/dist/elements/Pill/Pill.js +19 -19
  32. package/dist/elements/Popover/Popover.js +6 -6
  33. package/dist/elements/Popover/Popover.stories.js +3 -3
  34. package/dist/elements/ProgressBar/ProgressBar.js +1 -1
  35. package/dist/elements/Radio/RadioButton.js +11 -11
  36. package/dist/elements/Radio/RadioDot.js +7 -7
  37. package/dist/elements/Screen/Screen.stories.js +5 -5
  38. package/dist/elements/Screen/StickySubHeader.js +2 -2
  39. package/dist/elements/SearchInput/RoundSearchInput.js +4 -4
  40. package/dist/elements/SearchInput/SearchInput.js +1 -1
  41. package/dist/elements/SimpleMessage/SimpleMessage.js +2 -2
  42. package/dist/elements/Skeleton/Skeleton.js +2 -2
  43. package/dist/elements/Spinner/Spinner.js +1 -1
  44. package/dist/elements/Switch/Switch.js +5 -5
  45. package/dist/elements/Switch/Switch.stories.js +1 -1
  46. package/dist/elements/Tabs/TabsContainer.js +1 -1
  47. package/dist/elements/Text/LinkText.js +1 -1
  48. package/dist/elements/ToolTip/ToolTipFlyout.js +3 -3
  49. package/dist/elements/Touchable/TouchableHighlightColor.js +1 -1
  50. package/dist/elements/VisualClue/VisualClue.stories.js +1 -1
  51. package/dist/svgs/AddCircleFillIcon.js +1 -1
  52. package/dist/svgs/AddCircleIcon.js +1 -1
  53. package/dist/svgs/AddIcon.js +1 -1
  54. package/dist/svgs/AlertCircleFillIcon.js +1 -1
  55. package/dist/svgs/AlertIcon.js +1 -1
  56. package/dist/svgs/AppleIcon.js +1 -1
  57. package/dist/svgs/ArrowBackIcon.js +2 -2
  58. package/dist/svgs/ArrowCircleFillIcons.js +1 -1
  59. package/dist/svgs/ArrowDownCircleIcon.js +1 -1
  60. package/dist/svgs/ArrowDownIcon.js +1 -1
  61. package/dist/svgs/ArrowLeftCircleIcon.js +1 -1
  62. package/dist/svgs/ArrowLeftIcon.js +1 -1
  63. package/dist/svgs/ArrowRightCircleIcon.js +1 -1
  64. package/dist/svgs/ArrowRightIcon.js +1 -1
  65. package/dist/svgs/ArrowUpCircleIcon.js +1 -1
  66. package/dist/svgs/ArrowUpIcon.js +1 -1
  67. package/dist/svgs/ArrowUpRightIcon.js +1 -1
  68. package/dist/svgs/ArtsyLogoBlackIcon.js +1 -1
  69. package/dist/svgs/ArtsyLogoWhiteIcon.js +1 -1
  70. package/dist/svgs/ArtsyMarkBlackIcon.js +1 -1
  71. package/dist/svgs/ArtsyMarkWhiteIcon.js +1 -1
  72. package/dist/svgs/ArtworkIcon.js +1 -1
  73. package/dist/svgs/AuctionIcon.js +1 -1
  74. package/dist/svgs/BellFillIcon.js +1 -1
  75. package/dist/svgs/BellIcon.js +1 -1
  76. package/dist/svgs/BlueChipIcon.js +1 -1
  77. package/dist/svgs/BoltCircleFill.js +2 -2
  78. package/dist/svgs/BoltFill.js +1 -1
  79. package/dist/svgs/BookmarkFill.js +1 -1
  80. package/dist/svgs/BriefcaseIcon.js +1 -1
  81. package/dist/svgs/CertificateIcon.js +1 -1
  82. package/dist/svgs/CheckCircleFillIcon.js +1 -1
  83. package/dist/svgs/CheckCircleIcon.js +1 -1
  84. package/dist/svgs/CheckIcon.js +1 -1
  85. package/dist/svgs/ClockFill.js +1 -1
  86. package/dist/svgs/CloseCircleFillIcon.js +1 -1
  87. package/dist/svgs/CloseCircleIcon.js +1 -1
  88. package/dist/svgs/CloseIcon.js +1 -1
  89. package/dist/svgs/CollapseIcon.js +1 -1
  90. package/dist/svgs/CreditCardIcon.js +1 -1
  91. package/dist/svgs/DecreaseIcon.js +1 -1
  92. package/dist/svgs/DocumentIcon.js +1 -1
  93. package/dist/svgs/DownloadIcon.js +1 -1
  94. package/dist/svgs/EditIcon.js +1 -1
  95. package/dist/svgs/EmptyCheckCircleIcon.js +1 -1
  96. package/dist/svgs/EnterIcon.js +1 -1
  97. package/dist/svgs/EnvelopeIcon.js +1 -1
  98. package/dist/svgs/EstablishedIcon.js +1 -1
  99. package/dist/svgs/ExclamationMarkCircleFill.js +1 -1
  100. package/dist/svgs/ExpandIcon.js +1 -1
  101. package/dist/svgs/EyeClosedIcon.js +1 -1
  102. package/dist/svgs/EyeOpenedIcon.js +1 -1
  103. package/dist/svgs/FacebookIcon.js +1 -1
  104. package/dist/svgs/FairIcon.js +1 -1
  105. package/dist/svgs/FilterIcon.js +1 -1
  106. package/dist/svgs/FireIcon.js +1 -1
  107. package/dist/svgs/FollowArtistFillIcon.js +1 -1
  108. package/dist/svgs/FollowArtistIcon.js +1 -1
  109. package/dist/svgs/FullWidthIcon.js +1 -1
  110. package/dist/svgs/GenomeIcon.js +1 -1
  111. package/dist/svgs/GraphIcon.js +1 -1
  112. package/dist/svgs/GridIcon.js +1 -1
  113. package/dist/svgs/GuaranteeIcon.js +1 -1
  114. package/dist/svgs/HeartFillIcon.js +1 -1
  115. package/dist/svgs/HeartIcon.js +1 -1
  116. package/dist/svgs/HideIcon.js +1 -1
  117. package/dist/svgs/HomeIcon.js +1 -1
  118. package/dist/svgs/ImageIcon.js +1 -1
  119. package/dist/svgs/ImageSetIcon.js +1 -1
  120. package/dist/svgs/IncreaseIcon.js +1 -1
  121. package/dist/svgs/InfoCircleIcon.js +1 -1
  122. package/dist/svgs/InstagramAppIcon.js +1 -1
  123. package/dist/svgs/InstitutionIcon.js +1 -1
  124. package/dist/svgs/LinkIcon.js +1 -1
  125. package/dist/svgs/LoaderIcon.js +1 -1
  126. package/dist/svgs/LockIcon.js +1 -1
  127. package/dist/svgs/LogoutIcon.js +1 -1
  128. package/dist/svgs/MagnifyingGlassIcon.js +1 -1
  129. package/dist/svgs/MapPinIcon.js +1 -1
  130. package/dist/svgs/MenuIcon.js +1 -1
  131. package/dist/svgs/MessageIcon.js +1 -1
  132. package/dist/svgs/MessagesAppIcon.js +1 -1
  133. package/dist/svgs/MoneyCircleIcon.js +1 -1
  134. package/dist/svgs/MoneyFillIcon.js +1 -1
  135. package/dist/svgs/MoreIcon.js +1 -1
  136. package/dist/svgs/MultiplePersonsIcon.js +1 -1
  137. package/dist/svgs/NewFillHeartIcon.js +1 -1
  138. package/dist/svgs/NewHeartIcon.js +1 -1
  139. package/dist/svgs/NoArtworkIcon.js +1 -1
  140. package/dist/svgs/NoImageIcon.js +1 -1
  141. package/dist/svgs/PageIcon.js +1 -1
  142. package/dist/svgs/Payment2Icon.js +1 -1
  143. package/dist/svgs/PaymentIcon.js +1 -1
  144. package/dist/svgs/PersonIcon.js +1 -1
  145. package/dist/svgs/PublicationIcon.js +1 -1
  146. package/dist/svgs/QuestionCircleIcon.js +1 -1
  147. package/dist/svgs/ReloadIcon.js +1 -1
  148. package/dist/svgs/SecureLockIcon.js +1 -1
  149. package/dist/svgs/SettingsIcon.js +1 -1
  150. package/dist/svgs/ShareIcon.js +1 -1
  151. package/dist/svgs/ShieldFilledIcon.js +1 -1
  152. package/dist/svgs/ShieldIcon.js +1 -1
  153. package/dist/svgs/SortIcon.js +1 -1
  154. package/dist/svgs/StarCircleFill.js +2 -2
  155. package/dist/svgs/StarCircleIcon.js +1 -1
  156. package/dist/svgs/Stopwatch.js +1 -1
  157. package/dist/svgs/Tag2Icon.js +1 -1
  158. package/dist/svgs/TagIcon.js +1 -1
  159. package/dist/svgs/TimerIcon.js +1 -1
  160. package/dist/svgs/TopEmergingIcon.js +1 -1
  161. package/dist/svgs/TrashIcon.js +1 -1
  162. package/dist/svgs/TrendingIcon.js +1 -1
  163. package/dist/svgs/TriangleDown.js +1 -1
  164. package/dist/svgs/TwitterIcon.js +1 -1
  165. package/dist/svgs/UserMultiIcon.js +1 -1
  166. package/dist/svgs/UserSingleIcon.js +1 -1
  167. package/dist/svgs/VerifiedIcon.js +1 -1
  168. package/dist/svgs/VerifiedPersonIcon.js +1 -1
  169. package/dist/svgs/WhatsAppAppIcon.js +1 -1
  170. package/dist/svgs/WorldGlobeCircleIcon.js +1 -1
  171. package/dist/svgs/XCircleIcon.js +1 -1
  172. package/dist/tokens.d.ts +7 -7
  173. package/dist/tokens.js +36 -36
  174. package/dist/types.d.ts +1 -1
  175. package/dist/utils/colors.stories.js +1 -1
  176. package/package.json +4 -4
@@ -9,7 +9,7 @@ import { Touchable } from "../Touchable";
9
9
  export const Popover = ({ variant = "dark", children, visible, onOpenComplete, onPressOutside, onDismiss, onCloseComplete, placement = "top", title, content, noCloseIcon, }) => {
10
10
  const color = useColor();
11
11
  const DROP_SHADOW = {
12
- shadowColor: color("black100"),
12
+ shadowColor: color("mono100"),
13
13
  shadowOffset: {
14
14
  width: 0,
15
15
  height: 2,
@@ -20,17 +20,17 @@ export const Popover = ({ variant = "dark", children, visible, onOpenComplete, o
20
20
  };
21
21
  const POPOVER_VARIANTS = {
22
22
  light: {
23
- backgroundColor: color("white100"),
24
- fill: "black100",
23
+ backgroundColor: color("mono0"),
24
+ fill: "mono100",
25
25
  shadow: DROP_SHADOW,
26
26
  },
27
27
  dark: {
28
- backgroundColor: color("black100"),
29
- fill: "white100",
28
+ backgroundColor: color("mono100"),
29
+ fill: "mono0",
30
30
  },
31
31
  };
32
32
  const style = POPOVER_VARIANTS[variant];
33
- return (_jsx(RNPopover, { backgroundStyle: { opacity: 0.5, backgroundColor: color("black100") }, popoverStyle: [{ backgroundColor: style.backgroundColor }, style.shadow], from: children, isVisible: visible,
33
+ return (_jsx(RNPopover, { backgroundStyle: { opacity: 0.5, backgroundColor: color("mono100") }, popoverStyle: [{ backgroundColor: style.backgroundColor }, style.shadow], from: children, isVisible: visible,
34
34
  // this is required to make sure that the popover is positioned correctly on android
35
35
  verticalOffset: Platform.OS === "android" ? -(StatusBar.currentHeight ?? 0) : 0, onCloseComplete: onCloseComplete, onOpenComplete: onOpenComplete, onRequestClose: onPressOutside, placement: placement, arrowSize: { height: 11, width: 22 }, animationConfig: {
36
36
  duration: 400,
@@ -8,14 +8,14 @@ import { Text } from "../Text";
8
8
  storiesOf("Popover", module)
9
9
  .add("Variants", () => {
10
10
  const [visible, setVisible] = useState(null);
11
- return (_jsxs(Flex, { flex: 1, alignSelf: "center", mt: 12, alignItems: "center", flexWrap: "wrap", children: [_jsx(Popover, { visible: visible === "top-dark", title: _jsx(Text, { color: "white100", variant: "xs", children: "Popover Top Dark" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("top-dark"), children: "Top Dark" }) }), _jsx(Popover, { visible: visible === "bottom-dark", placement: "bottom", title: _jsx(Text, { color: "white100", variant: "xs", children: "Popover Bottom Dark" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("bottom-dark"), children: "Bottom Dark" }) }), _jsx(Popover, { visible: visible === "top-light", placement: "top", variant: "light", title: _jsx(Text, { variant: "xs", children: "Popover Top Light" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("top-light"), children: "Top Light" }) }), _jsx(Popover, { visible: visible === "bottom-light", placement: "bottom", variant: "light", title: _jsx(Text, { variant: "xs", children: "Popover Bottom Light" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("bottom-light"), children: "Bottom Light" }) })] }));
11
+ return (_jsxs(Flex, { flex: 1, alignSelf: "center", mt: 12, alignItems: "center", flexWrap: "wrap", children: [_jsx(Popover, { visible: visible === "top-dark", title: _jsx(Text, { color: "mono0", variant: "xs", children: "Popover Top Dark" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("top-dark"), children: "Top Dark" }) }), _jsx(Popover, { visible: visible === "bottom-dark", placement: "bottom", title: _jsx(Text, { color: "mono0", variant: "xs", children: "Popover Bottom Dark" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("bottom-dark"), children: "Bottom Dark" }) }), _jsx(Popover, { visible: visible === "top-light", placement: "top", variant: "light", title: _jsx(Text, { variant: "xs", children: "Popover Top Light" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("top-light"), children: "Top Light" }) }), _jsx(Popover, { visible: visible === "bottom-light", placement: "bottom", variant: "light", title: _jsx(Text, { variant: "xs", children: "Popover Bottom Light" }), onPressOutside: () => setVisible(null), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("bottom-light"), children: "Bottom Light" }) })] }));
12
12
  })
13
13
  .add("With title and/or content", () => {
14
14
  const [visible, setVisible] = useState(null);
15
- return (_jsxs(Flex, { flex: 1, alignSelf: "center", mt: 12, alignItems: "center", flexWrap: "wrap", children: [_jsx(Popover, { visible: visible === "title", title: _jsx(Text, { weight: "medium", color: "white100", children: "Popover title" }), content: _jsxs(_Fragment, { children: [_jsx(Text, { color: "white100", children: "Popover descriptive text with some not so long long long body" }), _jsx(Text, { color: "white100", children: "And some line break" })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("title"), children: "Some title and description" }) }), _jsx(Popover, { visible: visible === "buttons", placement: "bottom", variant: "light", content: _jsxs(_Fragment, { children: [_jsx(Text, { weight: "medium", mb: 1, children: "Popover title" }), _jsx(Flex, { height: 80, backgroundColor: "black30", mb: 1 }), _jsx(Text, { mb: 1, children: "Popover descriptive text" }), _jsxs(Flex, { flexDirection: "row", justifyContent: "flex-end", children: [_jsx(Button, { size: "small", variant: "outlineGray", children: "Learn more" }), _jsx(Button, { size: "small", ml: 1, onPress: () => setVisible(null), children: "Got it" })] })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("buttons"), children: "Buttons and more content" }) }), _jsx(Popover, { visible: visible === "no-close", placement: "bottom", noCloseIcon: true, variant: "light", content: _jsxs(_Fragment, { children: [_jsx(Text, { weight: "medium", mb: 1, children: "Popover title?" }), _jsx(Flex, { height: 80, backgroundColor: "black30", mb: 1 }), _jsx(Text, { mb: 1, children: "Popover descriptive text" }), _jsx(Button, { size: "small", onPress: () => setVisible(null), children: "Got it" })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("no-close"), children: "Content without close icon" }) })] }));
15
+ return (_jsxs(Flex, { flex: 1, alignSelf: "center", mt: 12, alignItems: "center", flexWrap: "wrap", children: [_jsx(Popover, { visible: visible === "title", title: _jsx(Text, { weight: "medium", color: "mono0", children: "Popover title" }), content: _jsxs(_Fragment, { children: [_jsx(Text, { color: "mono0", children: "Popover descriptive text with some not so long long long body" }), _jsx(Text, { color: "mono0", children: "And some line break" })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("title"), children: "Some title and description" }) }), _jsx(Popover, { visible: visible === "buttons", placement: "bottom", variant: "light", content: _jsxs(_Fragment, { children: [_jsx(Text, { weight: "medium", mb: 1, children: "Popover title" }), _jsx(Flex, { height: 80, backgroundColor: "mono30", mb: 1 }), _jsx(Text, { mb: 1, children: "Popover descriptive text" }), _jsxs(Flex, { flexDirection: "row", justifyContent: "flex-end", children: [_jsx(Button, { size: "small", variant: "outlineGray", children: "Learn more" }), _jsx(Button, { size: "small", ml: 1, onPress: () => setVisible(null), children: "Got it" })] })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("buttons"), children: "Buttons and more content" }) }), _jsx(Popover, { visible: visible === "no-close", placement: "bottom", noCloseIcon: true, variant: "light", content: _jsxs(_Fragment, { children: [_jsx(Text, { weight: "medium", mb: 1, children: "Popover title?" }), _jsx(Flex, { height: 80, backgroundColor: "mono30", mb: 1 }), _jsx(Text, { mb: 1, children: "Popover descriptive text" }), _jsx(Button, { size: "small", onPress: () => setVisible(null), children: "Got it" })] }), onDismiss: () => setVisible(null), children: _jsx(Text, { onPress: () => setVisible("no-close"), children: "Content without close icon" }) })] }));
16
16
  })
17
17
  .add("Edge positions", () => {
18
18
  const [topVisible, setTopVisible] = useState(true);
19
19
  const [bottomVisible, setBottomVisible] = useState(false);
20
- return (_jsxs(Flex, { flex: 1, backgroundColor: "black30", justifyContent: "space-between", px: 1, children: [_jsx(Flex, { backgroundColor: "white100", width: 80, px: 1, children: _jsx(Popover, { visible: topVisible, placement: "bottom", onDismiss: () => setTopVisible(false), onCloseComplete: () => setBottomVisible(true), title: _jsx(Text, { color: "white100", variant: "xs", children: "Top-Left" }), children: _jsx(Text, { children: "Top-left" }) }) }), _jsx(Flex, { backgroundColor: "white100", width: 120, mb: 6, alignSelf: "flex-end", px: 1, children: _jsx(Popover, { visible: bottomVisible, onDismiss: () => setBottomVisible(false), title: _jsx(Text, { color: "white100", variant: "xs", children: "Bottom-Right" }), children: _jsx(Text, { children: "Bottom-right" }) }) })] }));
20
+ return (_jsxs(Flex, { flex: 1, backgroundColor: "mono30", justifyContent: "space-between", px: 1, children: [_jsx(Flex, { backgroundColor: "mono0", width: 80, px: 1, children: _jsx(Popover, { visible: topVisible, placement: "bottom", onDismiss: () => setTopVisible(false), onCloseComplete: () => setBottomVisible(true), title: _jsx(Text, { color: "mono0", variant: "xs", children: "Top-Left" }), children: _jsx(Text, { children: "Top-left" }) }) }), _jsx(Flex, { backgroundColor: "mono0", width: 120, mb: 6, alignSelf: "flex-end", px: 1, children: _jsx(Popover, { visible: bottomVisible, onDismiss: () => setBottomVisible(false), title: _jsx(Text, { color: "mono0", variant: "xs", children: "Bottom-Right" }), children: _jsx(Text, { children: "Bottom-right" }) }) })] }));
21
21
  });
@@ -5,7 +5,7 @@ import { useSpace } from "../../utils/hooks";
5
5
  import { useColor } from "../../utils/hooks/useColor";
6
6
  import { Flex } from "../Flex";
7
7
  const clamp = (num, min, max) => Math.max(min, Math.min(num, max));
8
- export const ProgressBar = ({ animationDuration = 200, backgroundColor = "black30", height = 2, onCompletion, progress: unclampedProgress, trackColor = "blue100", style, progressBarStyle, }) => {
8
+ export const ProgressBar = ({ animationDuration = 200, backgroundColor = "mono30", height = 2, onCompletion, progress: unclampedProgress, trackColor = "blue100", style, progressBarStyle, }) => {
9
9
  const color = useColor();
10
10
  const space = useSpace();
11
11
  const width = useSharedValue(0);
@@ -13,16 +13,16 @@ export const RadioButton = ({ accessibilityState, block, disabled, error, onPres
13
13
  const fontScale = PixelRatio.getFontScale();
14
14
  const radioButtonSize = RADIOBUTTON_SIZE * fontScale;
15
15
  const defaultRadioButtonStyle = {
16
- backgroundColor: color("white100"),
17
- borderColor: color("black30"),
16
+ backgroundColor: color("mono0"),
17
+ borderColor: color("mono30"),
18
18
  };
19
19
  const selectedRadioButtonStyle = {
20
- backgroundColor: color("black100"),
21
- borderColor: color("black100"),
20
+ backgroundColor: color("mono100"),
21
+ borderColor: color("mono100"),
22
22
  };
23
23
  const disabledRadioButtonStyle = {
24
- backgroundColor: color("black5"),
25
- borderColor: color("black10"),
24
+ backgroundColor: color("mono5"),
25
+ borderColor: color("mono10"),
26
26
  };
27
27
  const radioButtonStyles = {
28
28
  default: {
@@ -30,15 +30,15 @@ export const RadioButton = ({ accessibilityState, block, disabled, error, onPres
30
30
  selected: selectedRadioButtonStyle,
31
31
  },
32
32
  error: {
33
- notSelected: { backgroundColor: color("white100"), borderColor: color("red100") },
33
+ notSelected: { backgroundColor: color("mono0"), borderColor: color("red100") },
34
34
  selected: selectedRadioButtonStyle,
35
35
  },
36
36
  };
37
37
  const radioButtonStyle = disabled
38
38
  ? disabledRadioButtonStyle
39
39
  : radioButtonStyles[error ? "error" : "default"][selected ? "selected" : "notSelected"];
40
- const textColor = error ? color("red100") : disabled ? color("black30") : color("black100");
41
- const subtitleColor = error ? color("red100") : color("black30");
40
+ const textColor = error ? color("red100") : disabled ? color("mono30") : color("mono100");
41
+ const subtitleColor = error ? color("red100") : color("mono30");
42
42
  const AnimatedDot = (_jsx(Flex, { mt: "2px", children: _jsx(CssTransition, { style: [
43
43
  styles(fontScale).container,
44
44
  { marginRight: space(1) * fontScale },
@@ -77,6 +77,6 @@ export const RadioDot = ({ size }) => {
77
77
  } }));
78
78
  };
79
79
  export const DisabledDot = styled(RadioDot) `
80
- border-bottom-color: ${themeGet("colors.black30")};
81
- border-left-color: ${themeGet("colors.black30")};
80
+ border-bottom-color: ${themeGet("colors.mono30")};
81
+ border-left-color: ${themeGet("colors.mono30")};
82
82
  `;
@@ -6,21 +6,21 @@ export const RADIO_DOT_MODES = {
6
6
  default: {
7
7
  resting: {
8
8
  borderWidth: INACTIVE_BORDER_WIDTH,
9
- borderColor: "black30",
9
+ borderColor: "mono30",
10
10
  },
11
11
  selected: {
12
12
  borderWidth: ACTIVE_BORDER_WIDTH,
13
- borderColor: "black100",
13
+ borderColor: "mono100",
14
14
  },
15
15
  },
16
16
  disabled: {
17
17
  resting: {
18
18
  borderWidth: INACTIVE_BORDER_WIDTH,
19
- borderColor: "black10",
19
+ borderColor: "mono10",
20
20
  },
21
21
  selected: {
22
22
  borderWidth: ACTIVE_BORDER_WIDTH,
23
- borderColor: "black10",
23
+ borderColor: "mono10",
24
24
  },
25
25
  },
26
26
  error: {
@@ -30,17 +30,17 @@ export const RADIO_DOT_MODES = {
30
30
  },
31
31
  selected: {
32
32
  borderWidth: ACTIVE_BORDER_WIDTH,
33
- borderColor: "black100",
33
+ borderColor: "mono100",
34
34
  },
35
35
  },
36
36
  hover: {
37
37
  resting: {
38
38
  borderWidth: INACTIVE_BORDER_WIDTH,
39
- borderColor: "black10",
39
+ borderColor: "mono10",
40
40
  },
41
41
  selected: {
42
42
  borderWidth: INACTIVE_BORDER_WIDTH,
43
- borderColor: "black100",
43
+ borderColor: "mono100",
44
44
  },
45
45
  },
46
46
  };
@@ -4,15 +4,15 @@ import { Flex } from "../Flex";
4
4
  import { Screen } from "../Screen";
5
5
  import { Text } from "../Text";
6
6
  storiesOf("Screen", module)
7
- .add("With Header and BottomView", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title" }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "black30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
7
+ .add("With Header and BottomView", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title" }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "mono30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
8
8
  .add("With Header and Right Element", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title", rightElements: _jsx(Text, { variant: "xs", children: "Very long right element" }) }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) })] })))
9
9
  .add("With Header, Without Left Element and Right Element", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title", hideLeftElements: true, rightElements: _jsx(Text, { variant: "xs", children: "Very long right element" }) }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) })] })))
10
- .add("With Right Element & Custom Left Element", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title", leftElements: _jsx(Text, { variant: "xs", children: "Very long left element" }), rightElements: _jsx(Text, { variant: "xs", children: "right element" }) }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "black30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
11
- .add("ScrollView With AnimatedHeader", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title" }), _jsx(Screen.Body, { children: _jsxs(Screen.ScrollView, { children: [_jsx(Text, { variant: "lg-display", children: "Title" }), Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i)))] }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "black30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
12
- .add("ScrollView With AnimatedHeader and Right Element", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title", rightElements: _jsx(Text, { children: "Right" }) }), _jsx(Screen.Body, { children: _jsxs(Screen.ScrollView, { children: [_jsx(Text, { variant: "lg-display", children: "Title" }), Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i)))] }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "black30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
10
+ .add("With Right Element & Custom Left Element", () => (_jsxs(Screen, { children: [_jsx(Screen.Header, { title: "Title", leftElements: _jsx(Text, { variant: "xs", children: "Very long left element" }), rightElements: _jsx(Text, { variant: "xs", children: "right element" }) }), _jsx(Screen.Body, { scroll: true, children: Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i))) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "mono30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
11
+ .add("ScrollView With AnimatedHeader", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title" }), _jsx(Screen.Body, { children: _jsxs(Screen.ScrollView, { children: [_jsx(Text, { variant: "lg-display", children: "Title" }), Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i)))] }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "mono30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
12
+ .add("ScrollView With AnimatedHeader and Right Element", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title", rightElements: _jsx(Text, { children: "Right" }) }), _jsx(Screen.Body, { children: _jsxs(Screen.ScrollView, { children: [_jsx(Text, { variant: "lg-display", children: "Title" }), Array.from({ length: 5 }).map((_, i) => (_jsx(Text, { my: 1, children: "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"" }, i)))] }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "mono30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
13
13
  .add("FlatList With AnimatedHeader", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title" }), _jsx(Screen.Body, { children: _jsx(Screen.FlatList, { ListHeaderComponent: () => _jsx(Text, { variant: "lg-display", children: "Title" }), data: Array.from({ length: 50 }).map((_, i) => "Item " + i), renderItem: ({ item, index }) => {
14
14
  return (_jsx(Text, { my: 1, children: item }, index));
15
- } }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "black30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
15
+ } }) }), _jsx(Screen.BottomView, { children: _jsx(Flex, { backgroundColor: "mono30", height: 100, width: "100%", children: _jsx(Text, { children: "Footer" }) }) })] })))
16
16
  .add("FlatList With AnimatedHeader and StickySubHeader", () => (_jsxs(Screen, { children: [_jsx(Screen.AnimatedHeader, { title: "Title" }), _jsx(Screen.StickySubHeader, { title: "Title", children: _jsx(Flex, { width: "100%", height: 60, backgroundColor: "red10" }) }), _jsx(Screen.Body, { children: _jsx(Screen.FlatList, { data: Array.from({ length: 50 }).map((_, i) => "Item " + i), renderItem: ({ item, index }) => {
17
17
  return (_jsx(Text, { my: 1, children: item }, index));
18
18
  } }) })] })))
@@ -7,7 +7,7 @@ import { Flex } from "../Flex";
7
7
  import { Separator } from "../Separator";
8
8
  import { Text } from "../Text";
9
9
  export const STICKY_BAR_HEIGHT = 42;
10
- export const DEFAULT_SEPARATOR_COMPONENT = _jsx(Separator, { borderColor: "black5" });
10
+ export const DEFAULT_SEPARATOR_COMPONENT = _jsx(Separator, { borderColor: "mono5" });
11
11
  export const BOTTOM_TABS_HEIGHT = 65;
12
12
  export const StickySubHeader = ({ title, largeTitle = false, separatorComponent = DEFAULT_SEPARATOR_COMPONENT, subTitle, children, Component, }) => {
13
13
  const space = useSpace();
@@ -34,5 +34,5 @@ export const StickySubHeader = ({ title, largeTitle = false, separatorComponent
34
34
  ],
35
35
  };
36
36
  }, [visible.value, stickyBarHeight]);
37
- return (_jsxs(Flex, { children: [stickyBarHeight === null && (_jsx(Flex, { onLayout: (event) => handleLayout(event), position: "absolute", backgroundColor: "white100", zIndex: -1000, style: sharedStyles, children: _jsxs(Flex, { mb: 1, children: [_jsx(Text, { variant: largeTitle ? "xl" : "lg-display", color: "white100", children: title }), !!subTitle && (_jsx(Text, { variant: "xs", mt: 0.5, color: "white100", children: subTitle })), Component] }) })), _jsx(Animated.View, { style: [sharedStyles, animatedStyles], children: _jsxs(Flex, { style: { height: stickyBarHeight }, mb: 1, children: [_jsx(Text, { variant: largeTitle ? "xl" : "lg-display", children: title }), subTitle && (_jsx(Text, { variant: "xs", mt: 0.5, children: subTitle })), Component] }) }), children, children !== undefined && separatorComponent] }));
37
+ return (_jsxs(Flex, { children: [stickyBarHeight === null && (_jsx(Flex, { onLayout: (event) => handleLayout(event), position: "absolute", backgroundColor: "mono0", zIndex: -1000, style: sharedStyles, children: _jsxs(Flex, { mb: 1, children: [_jsx(Text, { variant: largeTitle ? "xl" : "lg-display", color: "mono0", children: title }), !!subTitle && (_jsx(Text, { variant: "xs", mt: 0.5, color: "mono0", children: subTitle })), Component] }) })), _jsx(Animated.View, { style: [sharedStyles, animatedStyles], children: _jsxs(Flex, { style: { height: stickyBarHeight }, mb: 1, children: [_jsx(Text, { variant: largeTitle ? "xl" : "lg-display", children: title }), subTitle && (_jsx(Text, { variant: "xs", mt: 0.5, children: subTitle })), Component] }) }), children, children !== undefined && separatorComponent] }));
38
38
  };
@@ -48,7 +48,7 @@ export const RoundSearchInput = ({ value, placeholder, onLeftIconPress, ...rest
48
48
  fontFamily: theme.theme.fonts.sans.regular,
49
49
  fontSize: 16,
50
50
  lineHeight: 20,
51
- color: color("black100"),
51
+ color: color("mono100"),
52
52
  };
53
53
  }, [color]);
54
54
  const renderAndroidPlaceholderMeasuringHack = useCallback(() => {
@@ -73,13 +73,13 @@ export const RoundSearchInput = ({ value, placeholder, onLeftIconPress, ...rest
73
73
  paddingRight: CONTAINER_HORIZONTAL_PADDING,
74
74
  paddingLeft: 2 * CONTAINER_HORIZONTAL_PADDING + 16,
75
75
  borderRadius: SEARCH_INPUT_CONTAINER_BORDER_RADIUS,
76
- backgroundColor: color("black5"),
76
+ backgroundColor: color("mono5"),
77
77
  }, children: [renderAndroidPlaceholderMeasuringHack(), _jsx(TextInput, { ...rest, placeholder: getPlaceholder(), ref: ref, onLayout: (event) => {
78
78
  setInputWidth(event.nativeEvent.layout.width);
79
79
  }, style: inputStyles, autoCapitalize: "none", blurOnSubmit: true,
80
80
  // We only support up to 100 chars search in our backend,
81
81
  // anything above that would lead to an error
82
- maxLength: 100, clearButtonMode: "always", placeholderTextColor: color("black60"), onFocus: (e) => {
82
+ maxLength: 100, clearButtonMode: "always", placeholderTextColor: color("mono60"), onFocus: (e) => {
83
83
  setIsFocused(true);
84
84
  rest.onFocus?.(e);
85
85
  }, enterKeyHint: "search", returnKeyType: "search" }), _jsx(Flex, { position: "absolute", height: SEARCH_INPUT_CONTAINER_HEIGHT, justifyContent: "center", alignItems: "center", style: {
@@ -88,7 +88,7 @@ export const RoundSearchInput = ({ value, placeholder, onLeftIconPress, ...rest
88
88
  ref.current?.blur();
89
89
  setIsFocused(false);
90
90
  onLeftIconPress?.();
91
- }, hitSlop: DEFAULT_HIT_SLOP, haptic: "impactLight", children: !isFocused ? (_jsx(MagnifyingGlassIcon, { fill: "black60", width: ICON_SIZE, height: ICON_SIZE })) : (_jsx(ArrowLeftIcon, { long: true, fill: "black60", width: ICON_SIZE, height: ICON_SIZE })) }) })] }));
91
+ }, hitSlop: DEFAULT_HIT_SLOP, haptic: "impactLight", children: !isFocused ? (_jsx(MagnifyingGlassIcon, { fill: "mono60", width: ICON_SIZE, height: ICON_SIZE })) : (_jsx(ArrowLeftIcon, { long: true, fill: "mono60", width: ICON_SIZE, height: ICON_SIZE })) }) })] }));
92
92
  };
93
93
  export const SEARCH_INPUT_CONTAINER_HEIGHT = 48;
94
94
  const CONTAINER_HORIZONTAL_PADDING = 16;
@@ -10,7 +10,7 @@ export const SearchInput = ({ enableCancelButton = true, onChangeText, onClear,
10
10
  }, onChangeText: onChangeText, ...props, onFocus: (e) => {
11
11
  props.onFocus?.(e);
12
12
  }, style: {
13
- color: color("black100"),
13
+ color: color("mono100"),
14
14
  }, onBlur: (e) => {
15
15
  props.onBlur?.(e);
16
16
  } }) }));
@@ -4,12 +4,12 @@ import styled from "styled-components/native";
4
4
  import { Flex } from "../Flex";
5
5
  import { Text } from "../Text";
6
6
  const StyledFlex = styled(Flex) `
7
- background-color: ${themeGet("colors.black5")};
7
+ background-color: ${themeGet("colors.mono5")};
8
8
  border-radius: 2px;
9
9
  `;
10
10
  /**
11
11
  * A generic message window for displaying ZeroStates, notices, errors, etc.
12
12
  */
13
13
  export const SimpleMessage = ({ children, textVariant = "sm", ...restProps }) => {
14
- return (_jsx(StyledFlex, { p: 2, ...restProps, children: _jsx(Text, { color: "black60", variant: textVariant, children: children }) }));
14
+ return (_jsx(StyledFlex, { p: 2, ...restProps, children: _jsx(Text, { color: "mono60", variant: textVariant, children: children }) }));
15
15
  };
@@ -26,9 +26,9 @@ export const Skeleton = ({ children }) => {
26
26
  };
27
27
  export const SkeletonText = ({ children, ...rest }) => {
28
28
  const color = useColor();
29
- return (_jsx(Flex, { alignSelf: "flex-start", children: _jsx(Text, { ...rest, bg: color("black10"), color: "transparent", children: children }) }));
29
+ return (_jsx(Flex, { alignSelf: "flex-start", children: _jsx(Text, { ...rest, bg: color("mono10"), color: "transparent", children: children }) }));
30
30
  };
31
31
  export const SkeletonBox = ({ children, ...rest }) => {
32
32
  const color = useColor();
33
- return (_jsx(Flex, { ...rest, bg: color("black10"), children: children }));
33
+ return (_jsx(Flex, { ...rest, bg: color("mono10"), children: children }));
34
34
  };
@@ -35,7 +35,7 @@ export const getSize = (props) => {
35
35
  /**
36
36
  * Spinner component for React Native
37
37
  */
38
- export const Spinner = ({ size = "medium", color: theColor = "black100", ...rest }) => {
38
+ export const Spinner = ({ size = "medium", color: theColor = "mono100", ...rest }) => {
39
39
  const color = useColor();
40
40
  const rotation = useMemo(() => new Animated.Value(0), []);
41
41
  const startRotation = () => {
@@ -7,7 +7,7 @@ export const Switch = ({ value,
7
7
  thumbColorActive = Platform.OS === "ios" ? "white" : "blue100",
8
8
  // Regardless of the color scheme, the thumb and track colors are always white
9
9
  // @ts-expect-error
10
- thumbColorInactive = Platform.OS === "ios" ? "white" : "black10", trackColorActive = Platform.OS === "ios" ? "blue100" : "blue10", trackColorInactive = "black30", disabled, ...restProps }) => {
10
+ thumbColorInactive = Platform.OS === "ios" ? "white" : "mono10", trackColorActive = Platform.OS === "ios" ? "blue100" : "blue10", trackColorInactive = "mono30", disabled, ...restProps }) => {
11
11
  const color = useColor();
12
12
  let thumbColor = value ? color(thumbColorActive) : color(thumbColorInactive);
13
13
  let trackColor = {
@@ -16,12 +16,12 @@ thumbColorInactive = Platform.OS === "ios" ? "white" : "black10", trackColorActi
16
16
  };
17
17
  let iosBackground = color(trackColorInactive);
18
18
  if (disabled) {
19
- thumbColor = Platform.OS === "ios" ? color("white100") : color("black30");
19
+ thumbColor = Platform.OS === "ios" ? color("mono0") : color("mono30");
20
20
  trackColor = {
21
- false: color("black10"),
22
- true: Platform.OS === "ios" ? color("black30") : color("black10"),
21
+ false: color("mono10"),
22
+ true: Platform.OS === "ios" ? color("mono30") : color("mono10"),
23
23
  };
24
- iosBackground = color("black10");
24
+ iosBackground = color("mono10");
25
25
  }
26
26
  return (_jsx(RNSwitch, { accessibilityRole: "switch", value: value, disabled: disabled, thumbColor: thumbColor, trackColor: trackColor, ios_backgroundColor: iosBackground, ...restProps }));
27
27
  };
@@ -18,5 +18,5 @@ export const Variants = () => {
18
18
  const handleSwitchChange = (id) => {
19
19
  setSwitches((prevSwitches) => prevSwitches.map((sw) => (sw.id === id ? { ...sw, value: !sw.value } : sw)));
20
20
  };
21
- return (_jsxs(List, { children: [_jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Default State" }), _jsx(Switch, { value: switches[0].value, onValueChange: () => handleSwitchChange(1) })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Disabled" }), _jsx(Switch, { disabled: true, value: switches[1].value, onValueChange: () => handleSwitchChange(2) })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Custom Colors 1" }), _jsx(Switch, { value: switches[2].value, onValueChange: () => handleSwitchChange(3), trackColorActive: "red100", trackColorInactive: "green100", thumbColorActive: "yellow100", thumbColorInactive: "orange100" })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Custom Colors 2" }), _jsx(Switch, { value: switches[3].value, onValueChange: () => handleSwitchChange(4), thumbColorActive: "yellow100", trackColorActive: "blue100", thumbColorInactive: "white100", trackColorInactive: "red100" })] })] }));
21
+ return (_jsxs(List, { children: [_jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Default State" }), _jsx(Switch, { value: switches[0].value, onValueChange: () => handleSwitchChange(1) })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Disabled" }), _jsx(Switch, { disabled: true, value: switches[1].value, onValueChange: () => handleSwitchChange(2) })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Custom Colors 1" }), _jsx(Switch, { value: switches[2].value, onValueChange: () => handleSwitchChange(3), trackColorActive: "red100", trackColorInactive: "green100", thumbColorActive: "yellow100", thumbColorInactive: "orange100" })] }), _jsxs(Flex, { width: 200, flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { children: "Custom Colors 2" }), _jsx(Switch, { value: switches[3].value, onValueChange: () => handleSwitchChange(4), thumbColorActive: "yellow100", trackColorActive: "blue100", thumbColorInactive: "mono0", trackColorInactive: "red100" })] })] }));
22
22
  };
@@ -25,7 +25,7 @@ export const TabsContainer = ({ children, indicators = [], initialTabName, rende
25
25
  }, style: {
26
26
  height: TAB_BAR_HEIGHT,
27
27
  borderBottomWidth: 1,
28
- borderColor: color("black30"),
28
+ borderColor: color("mono30"),
29
29
  }, TabItemComponent: (props) => {
30
30
  const Indicator = indicators.find((indicator) => {
31
31
  return indicator.tabName === props.name;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Text } from "./Text";
3
- export const LinkText = ({ style, ...props }) => (_jsx(Text, { color: "black100", ...props, style: [style, { textDecorationLine: "underline" }] }));
3
+ export const LinkText = ({ style, ...props }) => (_jsx(Text, { color: "mono100", ...props, style: [style, { textDecorationLine: "underline" }] }));
@@ -42,19 +42,19 @@ export const ToolTipFlyout = ({ containerStyle, tapToDismiss, height, width, onC
42
42
  };
43
43
  return (_jsx(TouchableWithoutFeedback, { onPress: onPress, testID: testID, children: _jsx(Animated.View, { style: [
44
44
  {
45
- backgroundColor: color("black100"),
45
+ backgroundColor: color("mono100"),
46
46
  position: "absolute",
47
47
  alignSelf: "center",
48
48
  zIndex: 1000,
49
49
  },
50
50
  containerStyle,
51
51
  animationStyle,
52
- ], children: _jsx(Flex, { justifyContent: "center", alignItems: "center", bg: "black100", children: _jsx(ToolTipTextContainer, { text: text }) }) }) }));
52
+ ], children: _jsx(Flex, { justifyContent: "center", alignItems: "center", bg: "mono100", children: _jsx(ToolTipTextContainer, { text: text }) }) }) }));
53
53
  };
54
54
  /** Please be careful with applying any styling here. This forms the basis with which we measure
55
55
  * in advance by how large we can inflate a tooltip.
56
56
  */
57
57
  export const ToolTipTextContainer = ({ text }) => {
58
58
  const color = useColor();
59
- return (_jsx(Text, { variant: "xs", color: color("white100"), pb: 0.5, children: text }));
59
+ return (_jsx(Text, { variant: "xs", color: color("mono0"), pb: 0.5, children: text }));
60
60
  };
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { Touchable } from "./Touchable";
4
4
  export const TouchableHighlightColor = (props) => {
5
- const { activeOpacity = 1, activeColor = "blue100", normalColor = "black100", onPressIn, onPressOut, render, ...restProps } = props;
5
+ const { activeOpacity = 1, activeColor = "blue100", normalColor = "mono100", onPressIn, onPressOut, render, ...restProps } = props;
6
6
  const [highlighted, setHighlighted] = useState(false);
7
7
  const color = highlighted ? activeColor : normalColor;
8
8
  return (_jsx(Touchable, { noFeedback: true, activeOpacity: activeOpacity, onPressIn: (event) => {
@@ -4,4 +4,4 @@ import { VisualClueDot, VisualClueText } from "./";
4
4
  import { List } from "../../storybook/helpers";
5
5
  import { Box } from "../Box";
6
6
  import { Text } from "../Text";
7
- storiesOf("Theme/Text", module).add("Visual Clue", () => (_jsxs(List, { children: [_jsxs(Box, { children: [_jsx(Text, { children: "Default" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, {}) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Diameter: 4" }), _jsx(Box, { position: "absolute", top: "4px", right: "-4px", children: _jsx(VisualClueDot, { diameter: 4 }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Diameter: 8" }), _jsx(Box, { position: "absolute", top: "4px", right: "-10px", children: _jsx(VisualClueDot, { diameter: 8 }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: red50" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "red50" }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: red100" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "red100" }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: black60" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "black60" }) })] }), _jsxs(_Fragment, { children: [_jsx(Text, { children: "A Feature" }), _jsx(VisualClueText, { style: { top: 14, right: -24 } })] })] })));
7
+ storiesOf("Theme/Text", module).add("Visual Clue", () => (_jsxs(List, { children: [_jsxs(Box, { children: [_jsx(Text, { children: "Default" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, {}) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Diameter: 4" }), _jsx(Box, { position: "absolute", top: "4px", right: "-4px", children: _jsx(VisualClueDot, { diameter: 4 }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Diameter: 8" }), _jsx(Box, { position: "absolute", top: "4px", right: "-10px", children: _jsx(VisualClueDot, { diameter: 8 }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: red50" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "red50" }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: red100" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "red100" }) })] }), _jsxs(Box, { children: [_jsx(Text, { children: "Color: mono60" }), _jsx(Box, { position: "absolute", top: "4px", right: "-8px", children: _jsx(VisualClueDot, { color: "mono60" }) })] }), _jsxs(_Fragment, { children: [_jsx(Text, { children: "A Feature" }), _jsx(VisualClueText, { style: { top: 14, right: -24 } })] })] })));
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AddCircleFillIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AddCircleFillIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm.551 7.449H13V9.55H9.551V13H8.45V9.551H5V8.45h3.449V5H9.55v3.449z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AddCircleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AddCircleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm0 15.111A7.111 7.111 0 1 1 9 1.89 7.111 7.111 0 0 1 9 16.11zm.551-7.662H13V9.55H9.551V13H8.45V9.551H5V8.45h3.449V5H9.55v3.449z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AddIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AddIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M15 9.5H9.514V15H8.476V9.5H3V8.48h5.476V3h1.038v5.48H15z", fill: color(fill), fillRule: "evenodd" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AlertCircleFillIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AlertCircleFillIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17C13.4183 17 17 13.4183 17 9ZM8.42225 5.13333H9.5778L9.39114 10.7778H8.60892L8.42225 5.13333ZM8.42225 11.6578H9.56892V12.8667H8.44003L8.42225 11.6578Z", fill: color(fill), fillRule: "evenodd", clipRule: "evenodd" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AlertIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AlertIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1.889A7.111 7.111 0 1 1 9 16.11 7.111 7.111 0 0 1 9 1.89zM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm-.578 4.133h1.156l-.187 5.645H8.61l-.187-5.645zm0 6.525H9.57v1.209H8.44l-.018-1.21z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const AppleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const AppleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M11.3,3.6c-0.5,0.7-1.4,1.1-2.1,1.1c-0.1,0-0.2,0-0.2,0c0-0.1,0-0.2,0-0.3c0-0.8,0.4-1.6,0.8-2.2C10.4,1.5,11.3,1,12.1,1c0,0.1,0,0.2,0,0.3C12.1,2.1,11.8,3,11.3,3.6z M7.9,16.7C7.5,16.9,7.2,17,6.7,17c-1,0-1.6-0.9-2.4-2c-0.9-1.3-1.6-3.4-1.6-5.3c0-3.1,2-4.8,3.9-4.8c0.6,0,1.1,0.2,1.5,0.4c0.4,0.2,0.7,0.3,1,0.3c0.3,0,0.6-0.1,0.9-0.3c0.5-0.2,1.1-0.5,1.8-0.5c0.4,0,2,0,3.1,1.6l0,0c-0.3,0.2-1.6,1.1-1.6,3c0,2.4,2,3.2,2.1,3.2l0,0C15.2,13,14.9,14,14.3,15c-0.7,1-1.4,2-2.4,2c-0.5,0-0.8-0.2-1.2-0.3c-0.4-0.2-0.7-0.3-1.4-0.3C8.7,16.3,8.3,16.5,7.9,16.7z", fill: color(fill), fillRule: "evenodd" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowBackIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowBackIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
- return (_jsxs(Icon, { ...restProps, viewBox: "0 0 18 18", children: [_jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M5.91163 2.49087L2.24335 6.15914L5.91163 9.82742L5.37894 10.3601L1.17798 6.15914L5.37894 1.95818L5.91163 2.49087Z", fill: color("black100") }), _jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21411 5.60327H11.6098C14.4925 5.60327 16.8294 7.94017 16.8294 10.8229C16.8294 13.7056 14.4925 16.0425 11.6098 16.0425H5.98362V15.1503H11.5446C13.906 15.1503 15.8203 13.236 15.8203 10.8746C15.8203 8.51321 13.906 6.59891 11.5446 6.59891H2.21411V5.60327Z", fill: color("black100") })] }));
6
+ return (_jsxs(Icon, { ...restProps, viewBox: "0 0 18 18", children: [_jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M5.91163 2.49087L2.24335 6.15914L5.91163 9.82742L5.37894 10.3601L1.17798 6.15914L5.37894 1.95818L5.91163 2.49087Z", fill: color("mono100") }), _jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21411 5.60327H11.6098C14.4925 5.60327 16.8294 7.94017 16.8294 10.8229C16.8294 13.7056 14.4925 16.0425 11.6098 16.0425H5.98362V15.1503H11.5446C13.906 15.1503 15.8203 13.236 15.8203 10.8746C15.8203 8.51321 13.906 6.59891 11.5446 6.59891H2.21411V5.60327Z", fill: color("mono100") })] }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- const FilledArrowCircle = ({ fill = "black100", rotate, ...restProps }) => {
4
+ const FilledArrowCircle = ({ fill = "mono100", rotate, ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, style: rotate !== undefined ? { transform: [{ rotate }] } : {}, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M16 9.5C16 13.366 12.866 16.5 9 16.5C5.13401 16.5 2 13.366 2 9.5C2 5.63401 5.13401 2.5 9 2.5C12.866 2.5 16 5.63401 16 9.5Z M9 6.5002L6 11.7002L12 11.7002L9 6.5002Z", fill: color(fill) }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowDownCircleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowDownCircleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1.889A7.111 7.111 0 1 1 9 16.11 7.111 7.111 0 0 1 9 1.89zM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm4.302 6.622l-.746-.79L9 10.431 5.489 6.875l-.791.782L9 12.102l4.302-4.48z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowDownIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowDownIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 12.88L2.06 5.94l.88-.88L9 11.12l6.06-6.06.88.88z", fill: color(fill), fillRule: "evenodd" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowLeftCircleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowLeftCircleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1.889A7.111 7.111 0 1 1 9 16.11 7.111 7.111 0 0 1 9 1.89zM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm2.169 11.556L7.569 9l3.6-3.511-.782-.791L5.987 9l4.444 4.302.738-.746z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowLeftIcon = ({ fill = "black100", long = false, ...restProps }) => {
4
+ export const ArrowLeftIcon = ({ fill = "mono100", long = false, ...restProps }) => {
5
5
  const color = useColor();
6
6
  if (long) {
7
7
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 24 24", children: _jsx(Path, { d: "M7.825 13L13.425 18.6L12 20L4 12L12 4L13.425 5.4L7.825 11H20V13H7.825Z", fill: color(fill), fillRule: "evenodd" }) }));
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowRightCircleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowRightCircleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1.889A7.111 7.111 0 1 1 9 16.11 7.111 7.111 0 0 1 9 1.89zM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm3.013 8l-4.4-4.302-.782.79 3.6 3.556-3.6 3.512.782.79L12.013 9z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowRightIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowRightIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M5.94 15.94l-.88-.88L11.12 9 5.06 2.94l.88-.88L12.88 9z", fill: color(fill), fillRule: "evenodd" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowUpCircleIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowUpCircleIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 1.889A7.111 7.111 0 1 1 9 16.11 7.111 7.111 0 0 1 9 1.89zM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm4.302 9.387L9 5.987 4.698 10.43l.79.782 3.556-3.555 3.512 3.51.746-.781z", fill: color(fill), fillRule: "nonzero" }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Icon, Path } from "./Icon";
3
3
  import { useColor } from "../utils/hooks";
4
- export const ArrowUpIcon = ({ fill = "black100", ...restProps }) => {
4
+ export const ArrowUpIcon = ({ fill = "mono100", ...restProps }) => {
5
5
  const color = useColor();
6
6
  return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M15.06 12.94L9 6.88l-6.06 6.06-.88-.88L9 5.12l6.94 6.94z", fill: color(fill), fillRule: "evenodd" }) }));
7
7
  };