@expo/styleguide 7.0.0 → 8.0.0-alpha.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 (304) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +9 -22
  3. package/dist/index.d.ts +5 -13
  4. package/dist/index.js +701 -36
  5. package/dist/{components → src/components}/BlockingSetInitialColorMode.d.ts +0 -0
  6. package/dist/src/components/ButtonBase.d.ts +9 -0
  7. package/dist/{components → src/components}/ThemeProvider.d.ts +1 -1
  8. package/dist/src/components/index.d.ts +3 -0
  9. package/dist/{logos → src/logos}/DocsLogo.d.ts +0 -0
  10. package/dist/{logos → src/logos}/ExpoGoLogo.d.ts +0 -0
  11. package/dist/{logos → src/logos}/Logo.d.ts +0 -0
  12. package/dist/{logos → src/logos}/SnackLogo.d.ts +0 -0
  13. package/dist/{logos → src/logos}/WordMarkLogo.d.ts +0 -0
  14. package/dist/{logos → src/logos}/index.d.ts +0 -0
  15. package/dist/{styles → src/styles}/shadows.d.ts +0 -0
  16. package/dist/src/styles/themes.d.ts +227 -0
  17. package/dist/{styles → src/styles}/typography.d.ts +0 -0
  18. package/dist/{types → src/types}/index.d.ts +1 -1
  19. package/dist/tailwind.js +396 -0
  20. package/package.json +21 -19
  21. package/tailwind.js +325 -64
  22. package/dist/components/BlockingSetInitialColorMode.js +0 -64
  23. package/dist/components/ThemeProvider.js +0 -139
  24. package/dist/icons/ActivityIcon.d.ts +0 -3
  25. package/dist/icons/ActivityIcon.js +0 -14
  26. package/dist/icons/AddPhotoIcon.d.ts +0 -3
  27. package/dist/icons/AddPhotoIcon.js +0 -14
  28. package/dist/icons/AndroidIcon.d.ts +0 -3
  29. package/dist/icons/AndroidIcon.js +0 -14
  30. package/dist/icons/AppleAppStoreIcon.d.ts +0 -3
  31. package/dist/icons/AppleAppStoreIcon.js +0 -16
  32. package/dist/icons/AppleIcon.d.ts +0 -3
  33. package/dist/icons/AppleIcon.js +0 -14
  34. package/dist/icons/AppleSimulatorIcon.d.ts +0 -3
  35. package/dist/icons/AppleSimulatorIcon.js +0 -18
  36. package/dist/icons/ArrowDownIcon.d.ts +0 -3
  37. package/dist/icons/ArrowDownIcon.js +0 -14
  38. package/dist/icons/ArrowLeftIcon.d.ts +0 -3
  39. package/dist/icons/ArrowLeftIcon.js +0 -14
  40. package/dist/icons/ArrowRightIcon.d.ts +0 -3
  41. package/dist/icons/ArrowRightIcon.js +0 -14
  42. package/dist/icons/ArrowUpIcon.d.ts +0 -3
  43. package/dist/icons/ArrowUpIcon.js +0 -14
  44. package/dist/icons/ArrowUpRightIcon.d.ts +0 -3
  45. package/dist/icons/ArrowUpRightIcon.js +0 -14
  46. package/dist/icons/AtSignIcon.d.ts +0 -3
  47. package/dist/icons/AtSignIcon.js +0 -14
  48. package/dist/icons/BadgeIcon.d.ts +0 -3
  49. package/dist/icons/BadgeIcon.js +0 -15
  50. package/dist/icons/BellIcon.d.ts +0 -3
  51. package/dist/icons/BellIcon.js +0 -14
  52. package/dist/icons/BranchIcon.d.ts +0 -3
  53. package/dist/icons/BranchIcon.js +0 -14
  54. package/dist/icons/BugInspectIcon.d.ts +0 -3
  55. package/dist/icons/BugInspectIcon.js +0 -16
  56. package/dist/icons/BuildIcon.d.ts +0 -3
  57. package/dist/icons/BuildIcon.js +0 -14
  58. package/dist/icons/BuildNumberIcon.d.ts +0 -3
  59. package/dist/icons/BuildNumberIcon.js +0 -14
  60. package/dist/icons/BuildProfileIcon.d.ts +0 -3
  61. package/dist/icons/BuildProfileIcon.js +0 -14
  62. package/dist/icons/ChangelogIcon.d.ts +0 -3
  63. package/dist/icons/ChangelogIcon.js +0 -15
  64. package/dist/icons/ChannelIcon.d.ts +0 -3
  65. package/dist/icons/ChannelIcon.js +0 -15
  66. package/dist/icons/ChartIcon.d.ts +0 -3
  67. package/dist/icons/ChartIcon.js +0 -15
  68. package/dist/icons/CheckIcon.d.ts +0 -3
  69. package/dist/icons/CheckIcon.js +0 -14
  70. package/dist/icons/ChevronDownIcon.d.ts +0 -3
  71. package/dist/icons/ChevronDownIcon.js +0 -14
  72. package/dist/icons/ChevronLeftIcon.d.ts +0 -3
  73. package/dist/icons/ChevronLeftIcon.js +0 -14
  74. package/dist/icons/ChevronRightIcon.d.ts +0 -3
  75. package/dist/icons/ChevronRightIcon.js +0 -14
  76. package/dist/icons/ChevronUpIcon.d.ts +0 -3
  77. package/dist/icons/ChevronUpIcon.js +0 -14
  78. package/dist/icons/ClipboardIcon.d.ts +0 -3
  79. package/dist/icons/ClipboardIcon.js +0 -16
  80. package/dist/icons/CloudSlashIcon.d.ts +0 -3
  81. package/dist/icons/CloudSlashIcon.js +0 -14
  82. package/dist/icons/CodeIcon.d.ts +0 -3
  83. package/dist/icons/CodeIcon.js +0 -14
  84. package/dist/icons/CommandLineIcon.d.ts +0 -3
  85. package/dist/icons/CommandLineIcon.js +0 -14
  86. package/dist/icons/CommitIcon.d.ts +0 -3
  87. package/dist/icons/CommitIcon.js +0 -14
  88. package/dist/icons/CredentialIcon.d.ts +0 -3
  89. package/dist/icons/CredentialIcon.js +0 -16
  90. package/dist/icons/CreditCardIcon.d.ts +0 -3
  91. package/dist/icons/CreditCardIcon.js +0 -15
  92. package/dist/icons/DatabaseIcon.d.ts +0 -3
  93. package/dist/icons/DatabaseIcon.js +0 -15
  94. package/dist/icons/DebugIcon.d.ts +0 -3
  95. package/dist/icons/DebugIcon.js +0 -15
  96. package/dist/icons/DeploymentIcon.d.ts +0 -3
  97. package/dist/icons/DeploymentIcon.js +0 -14
  98. package/dist/icons/DeploymentsIcon.d.ts +0 -3
  99. package/dist/icons/DeploymentsIcon.js +0 -17
  100. package/dist/icons/DiscordIcon.d.ts +0 -3
  101. package/dist/icons/DiscordIcon.js +0 -14
  102. package/dist/icons/DiscourseIcon.d.ts +0 -3
  103. package/dist/icons/DiscourseIcon.js +0 -14
  104. package/dist/icons/DownloadIcon.d.ts +0 -3
  105. package/dist/icons/DownloadIcon.js +0 -15
  106. package/dist/icons/EasMetadataIcon.d.ts +0 -3
  107. package/dist/icons/EasMetadataIcon.js +0 -21
  108. package/dist/icons/EasSubmitIcon.d.ts +0 -3
  109. package/dist/icons/EasSubmitIcon.js +0 -21
  110. package/dist/icons/EditIcon.d.ts +0 -3
  111. package/dist/icons/EditIcon.js +0 -19
  112. package/dist/icons/ErrorIcon.d.ts +0 -3
  113. package/dist/icons/ErrorIcon.js +0 -14
  114. package/dist/icons/FacebookIcon.d.ts +0 -3
  115. package/dist/icons/FacebookIcon.js +0 -14
  116. package/dist/icons/GeneralIcon.d.ts +0 -3
  117. package/dist/icons/GeneralIcon.js +0 -25
  118. package/dist/icons/GithubIcon.d.ts +0 -3
  119. package/dist/icons/GithubIcon.js +0 -14
  120. package/dist/icons/GoogleAppStoreIcon.d.ts +0 -3
  121. package/dist/icons/GoogleAppStoreIcon.js +0 -14
  122. package/dist/icons/HamburgerIcon.d.ts +0 -3
  123. package/dist/icons/HamburgerIcon.js +0 -14
  124. package/dist/icons/HeadsetIcon.d.ts +0 -3
  125. package/dist/icons/HeadsetIcon.js +0 -18
  126. package/dist/icons/HomeFilledIcon.d.ts +0 -3
  127. package/dist/icons/HomeFilledIcon.js +0 -14
  128. package/dist/icons/HomeIcon.d.ts +0 -3
  129. package/dist/icons/HomeIcon.js +0 -14
  130. package/dist/icons/InfoIcon.d.ts +0 -3
  131. package/dist/icons/InfoIcon.js +0 -14
  132. package/dist/icons/InspectElementIcon.d.ts +0 -3
  133. package/dist/icons/InspectElementIcon.js +0 -15
  134. package/dist/icons/InstagramIcon.d.ts +0 -3
  135. package/dist/icons/InstagramIcon.js +0 -14
  136. package/dist/icons/InvoicesIcon.d.ts +0 -3
  137. package/dist/icons/InvoicesIcon.js +0 -15
  138. package/dist/icons/LifebuoyIcon.d.ts +0 -3
  139. package/dist/icons/LifebuoyIcon.js +0 -14
  140. package/dist/icons/LockIcon.d.ts +0 -3
  141. package/dist/icons/LockIcon.js +0 -14
  142. package/dist/icons/LogoutMobileIcon.d.ts +0 -3
  143. package/dist/icons/LogoutMobileIcon.js +0 -15
  144. package/dist/icons/LogsIcon.d.ts +0 -3
  145. package/dist/icons/LogsIcon.js +0 -16
  146. package/dist/icons/MailIcon.d.ts +0 -3
  147. package/dist/icons/MailIcon.js +0 -14
  148. package/dist/icons/MegaphoneIcon.d.ts +0 -3
  149. package/dist/icons/MegaphoneIcon.js +0 -15
  150. package/dist/icons/MessageIcon.d.ts +0 -3
  151. package/dist/icons/MessageIcon.js +0 -14
  152. package/dist/icons/MoreHorizontalIcon.d.ts +0 -3
  153. package/dist/icons/MoreHorizontalIcon.js +0 -16
  154. package/dist/icons/MoreVerticalIcon.d.ts +0 -3
  155. package/dist/icons/MoreVerticalIcon.js +0 -16
  156. package/dist/icons/OneTimePasswordIcon.d.ts +0 -3
  157. package/dist/icons/OneTimePasswordIcon.js +0 -16
  158. package/dist/icons/OpenInternalIcon.d.ts +0 -3
  159. package/dist/icons/OpenInternalIcon.js +0 -15
  160. package/dist/icons/OrganizationIcon.d.ts +0 -3
  161. package/dist/icons/OrganizationIcon.js +0 -15
  162. package/dist/icons/OverviewIcon.d.ts +0 -3
  163. package/dist/icons/OverviewIcon.js +0 -14
  164. package/dist/icons/PerformanceIcon.d.ts +0 -3
  165. package/dist/icons/PerformanceIcon.js +0 -15
  166. package/dist/icons/PersonalTrainerIcon.d.ts +0 -3
  167. package/dist/icons/PersonalTrainerIcon.js +0 -14
  168. package/dist/icons/PinIcon.d.ts +0 -3
  169. package/dist/icons/PinIcon.js +0 -14
  170. package/dist/icons/PlanEnterpriseIcon.d.ts +0 -3
  171. package/dist/icons/PlanEnterpriseIcon.js +0 -14
  172. package/dist/icons/PlanFreeIcon.d.ts +0 -3
  173. package/dist/icons/PlanFreeIcon.js +0 -14
  174. package/dist/icons/PlanProductionIcon.d.ts +0 -3
  175. package/dist/icons/PlanProductionIcon.js +0 -15
  176. package/dist/icons/PlansIcon.d.ts +0 -3
  177. package/dist/icons/PlansIcon.js +0 -15
  178. package/dist/icons/PlusIcon.d.ts +0 -3
  179. package/dist/icons/PlusIcon.js +0 -14
  180. package/dist/icons/PrivacyIcon.d.ts +0 -3
  181. package/dist/icons/PrivacyIcon.js +0 -14
  182. package/dist/icons/ProjectTransferIcon.d.ts +0 -3
  183. package/dist/icons/ProjectTransferIcon.js +0 -15
  184. package/dist/icons/PushToDeviceIcon.d.ts +0 -3
  185. package/dist/icons/PushToDeviceIcon.js +0 -17
  186. package/dist/icons/QrCodeIcon.d.ts +0 -3
  187. package/dist/icons/QrCodeIcon.js +0 -18
  188. package/dist/icons/QuestionIcon.d.ts +0 -3
  189. package/dist/icons/QuestionIcon.js +0 -14
  190. package/dist/icons/QuestionMarkIcon.d.ts +0 -3
  191. package/dist/icons/QuestionMarkIcon.js +0 -14
  192. package/dist/icons/ReceiptIcon.d.ts +0 -3
  193. package/dist/icons/ReceiptIcon.js +0 -15
  194. package/dist/icons/RedditIcon.d.ts +0 -3
  195. package/dist/icons/RedditIcon.js +0 -14
  196. package/dist/icons/RefreshIcon.d.ts +0 -3
  197. package/dist/icons/RefreshIcon.js +0 -17
  198. package/dist/icons/RolloutIcon.d.ts +0 -3
  199. package/dist/icons/RolloutIcon.js +0 -15
  200. package/dist/icons/RunIcon.d.ts +0 -3
  201. package/dist/icons/RunIcon.js +0 -15
  202. package/dist/icons/RuntimeVersionIcon.d.ts +0 -3
  203. package/dist/icons/RuntimeVersionIcon.js +0 -14
  204. package/dist/icons/ScanIcon.d.ts +0 -3
  205. package/dist/icons/ScanIcon.js +0 -15
  206. package/dist/icons/SearchIcon.d.ts +0 -3
  207. package/dist/icons/SearchIcon.js +0 -15
  208. package/dist/icons/SecretsIcon.d.ts +0 -3
  209. package/dist/icons/SecretsIcon.js +0 -14
  210. package/dist/icons/SettingsFilledIcon.d.ts +0 -3
  211. package/dist/icons/SettingsFilledIcon.js +0 -14
  212. package/dist/icons/SettingsIcon.d.ts +0 -3
  213. package/dist/icons/SettingsIcon.js +0 -14
  214. package/dist/icons/SlashShortcutIcon.d.ts +0 -3
  215. package/dist/icons/SlashShortcutIcon.js +0 -14
  216. package/dist/icons/SparklesIcon.d.ts +0 -3
  217. package/dist/icons/SparklesIcon.js +0 -14
  218. package/dist/icons/StatusCanceledIcon.d.ts +0 -3
  219. package/dist/icons/StatusCanceledIcon.js +0 -14
  220. package/dist/icons/StatusFailedIcon.d.ts +0 -3
  221. package/dist/icons/StatusFailedIcon.js +0 -14
  222. package/dist/icons/StatusNewIcon.d.ts +0 -3
  223. package/dist/icons/StatusNewIcon.js +0 -15
  224. package/dist/icons/StatusSuccessIcon.d.ts +0 -3
  225. package/dist/icons/StatusSuccessIcon.js +0 -14
  226. package/dist/icons/StatusWaitingIcon.d.ts +0 -3
  227. package/dist/icons/StatusWaitingIcon.js +0 -14
  228. package/dist/icons/StoreIcon.d.ts +0 -3
  229. package/dist/icons/StoreIcon.js +0 -21
  230. package/dist/icons/ThemeAutoIcon.d.ts +0 -3
  231. package/dist/icons/ThemeAutoIcon.js +0 -15
  232. package/dist/icons/ThemeDarkIcon.d.ts +0 -3
  233. package/dist/icons/ThemeDarkIcon.js +0 -14
  234. package/dist/icons/ThemeIcon.d.ts +0 -3
  235. package/dist/icons/ThemeIcon.js +0 -14
  236. package/dist/icons/ThemeLightIcon.d.ts +0 -3
  237. package/dist/icons/ThemeLightIcon.js +0 -15
  238. package/dist/icons/ThumbsDownIcon.d.ts +0 -3
  239. package/dist/icons/ThumbsDownIcon.js +0 -14
  240. package/dist/icons/ThumbsUpIcon.d.ts +0 -3
  241. package/dist/icons/ThumbsUpIcon.js +0 -14
  242. package/dist/icons/TokensIcon.d.ts +0 -3
  243. package/dist/icons/TokensIcon.js +0 -16
  244. package/dist/icons/TrashIcon.d.ts +0 -3
  245. package/dist/icons/TrashIcon.js +0 -14
  246. package/dist/icons/TriangleDownIcon.d.ts +0 -3
  247. package/dist/icons/TriangleDownIcon.js +0 -14
  248. package/dist/icons/TriangleLeftIcon.d.ts +0 -3
  249. package/dist/icons/TriangleLeftIcon.js +0 -14
  250. package/dist/icons/TriangleRightIcon.d.ts +0 -3
  251. package/dist/icons/TriangleRightIcon.js +0 -14
  252. package/dist/icons/TriangleUpIcon.d.ts +0 -3
  253. package/dist/icons/TriangleUpIcon.js +0 -14
  254. package/dist/icons/TwitchIcon.d.ts +0 -3
  255. package/dist/icons/TwitchIcon.js +0 -15
  256. package/dist/icons/TwitterIcon.d.ts +0 -3
  257. package/dist/icons/TwitterIcon.js +0 -14
  258. package/dist/icons/UndoIcon.d.ts +0 -3
  259. package/dist/icons/UndoIcon.js +0 -14
  260. package/dist/icons/UpdateIcon.d.ts +0 -3
  261. package/dist/icons/UpdateIcon.js +0 -15
  262. package/dist/icons/UpgradeIcon.d.ts +0 -3
  263. package/dist/icons/UpgradeIcon.js +0 -14
  264. package/dist/icons/UploadIcon.d.ts +0 -3
  265. package/dist/icons/UploadIcon.js +0 -15
  266. package/dist/icons/UserFilledIcon.d.ts +0 -3
  267. package/dist/icons/UserFilledIcon.js +0 -14
  268. package/dist/icons/UserIcon.d.ts +0 -3
  269. package/dist/icons/UserIcon.js +0 -14
  270. package/dist/icons/UsersFilledIcon.d.ts +0 -3
  271. package/dist/icons/UsersFilledIcon.js +0 -15
  272. package/dist/icons/UsersIcon.d.ts +0 -3
  273. package/dist/icons/UsersIcon.js +0 -15
  274. package/dist/icons/VersionIcon.d.ts +0 -3
  275. package/dist/icons/VersionIcon.js +0 -15
  276. package/dist/icons/WarningIcon.d.ts +0 -3
  277. package/dist/icons/WarningIcon.js +0 -14
  278. package/dist/icons/WrapLinesIcon.d.ts +0 -3
  279. package/dist/icons/WrapLinesIcon.js +0 -15
  280. package/dist/icons/XIcon.d.ts +0 -3
  281. package/dist/icons/XIcon.js +0 -14
  282. package/dist/icons/YoutubeIcon.d.ts +0 -3
  283. package/dist/icons/YoutubeIcon.js +0 -14
  284. package/dist/icons/index.d.ts +0 -130
  285. package/dist/icons/index.js +0 -265
  286. package/dist/logos/DocsLogo.js +0 -15
  287. package/dist/logos/ExpoGoLogo.js +0 -14
  288. package/dist/logos/Logo.js +0 -14
  289. package/dist/logos/SnackLogo.js +0 -15
  290. package/dist/logos/WordMarkLogo.js +0 -14
  291. package/dist/logos/index.js +0 -13
  292. package/dist/styles/breakpoints.d.ts +0 -5
  293. package/dist/styles/breakpoints.js +0 -8
  294. package/dist/styles/palette.d.ts +0 -200
  295. package/dist/styles/palette.js +0 -50
  296. package/dist/styles/shadows.js +0 -11
  297. package/dist/styles/sizing.d.ts +0 -19
  298. package/dist/styles/sizing.js +0 -22
  299. package/dist/styles/spacing.d.ts +0 -36
  300. package/dist/styles/spacing.js +0 -40
  301. package/dist/styles/themes.d.ts +0 -463
  302. package/dist/styles/themes.js +0 -467
  303. package/dist/styles/typography.js +0 -348
  304. package/dist/types/index.js +0 -2
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export declare const ButtonBase: React.ForwardRefExoticComponent<React.DOMAttributes<HTMLButtonElement | HTMLAnchorElement> & {
3
+ className?: string | undefined;
4
+ testID?: string | undefined;
5
+ type?: "button" | "submit" | "reset" | undefined;
6
+ disabled?: boolean | undefined;
7
+ } & {
8
+ children?: React.ReactNode;
9
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -4,7 +4,7 @@ export declare enum Themes {
4
4
  DARK = "dark",
5
5
  LIGHT = "light"
6
6
  }
7
- declare type ThemeProviderProps = {
7
+ type ThemeProviderProps = {
8
8
  children: ReactNode;
9
9
  disabled?: boolean;
10
10
  };
@@ -0,0 +1,3 @@
1
+ export { BlockingSetInitialColorMode } from './BlockingSetInitialColorMode';
2
+ export { ThemeProvider, useTheme } from './ThemeProvider';
3
+ export { ButtonBase } from './ButtonBase';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,227 @@
1
+ export declare const theme: {
2
+ background: {
3
+ default: string;
4
+ screen: string;
5
+ subtle: string;
6
+ element: string;
7
+ hover: string;
8
+ selected: string;
9
+ overlay: string;
10
+ success: string;
11
+ warning: string;
12
+ danger: string;
13
+ info: string;
14
+ };
15
+ icon: {
16
+ default: string;
17
+ secondary: string;
18
+ tertiary: string;
19
+ quaternary: string;
20
+ success: string;
21
+ warning: string;
22
+ danger: string;
23
+ info: string;
24
+ };
25
+ text: {
26
+ default: string;
27
+ secondary: string;
28
+ tertiary: string;
29
+ quaternary: string;
30
+ link: string;
31
+ success: string;
32
+ warning: string;
33
+ danger: string;
34
+ info: string;
35
+ };
36
+ border: {
37
+ default: string;
38
+ secondary: string;
39
+ success: string;
40
+ warning: string;
41
+ danger: string;
42
+ info: string;
43
+ };
44
+ button: {
45
+ primary: {
46
+ background: string;
47
+ border: string;
48
+ hover: string;
49
+ icon: string;
50
+ text: string;
51
+ disabled: {
52
+ background: string;
53
+ border: string;
54
+ text: string;
55
+ };
56
+ destructive: {
57
+ background: string;
58
+ border: string;
59
+ hover: string;
60
+ icon: string;
61
+ text: string;
62
+ disabled: {
63
+ background: string;
64
+ border: string;
65
+ text: string;
66
+ };
67
+ };
68
+ };
69
+ secondary: {
70
+ background: string;
71
+ border: string;
72
+ hover: string;
73
+ icon: string;
74
+ text: string;
75
+ disabled: {
76
+ background: string;
77
+ border: string;
78
+ text: string;
79
+ };
80
+ destructive: {
81
+ background: string;
82
+ border: string;
83
+ hover: string;
84
+ icon: string;
85
+ text: string;
86
+ disabled: {
87
+ background: string;
88
+ border: string;
89
+ text: string;
90
+ };
91
+ };
92
+ };
93
+ tertiary: {
94
+ background: string;
95
+ border: string;
96
+ hover: string;
97
+ icon: string;
98
+ text: string;
99
+ disabled: {
100
+ background: string;
101
+ border: string;
102
+ text: string;
103
+ };
104
+ };
105
+ quaternary: {
106
+ background: string;
107
+ border: string;
108
+ hover: string;
109
+ icon: string;
110
+ text: string;
111
+ disabled: {
112
+ background: string;
113
+ border: string;
114
+ text: string;
115
+ };
116
+ };
117
+ };
118
+ project: {
119
+ blue: string;
120
+ green: string;
121
+ yellow: string;
122
+ orange: string;
123
+ red: string;
124
+ pink: string;
125
+ purple: string;
126
+ };
127
+ palette: {
128
+ white: string;
129
+ black: string;
130
+ green1: string;
131
+ green2: string;
132
+ green3: string;
133
+ green4: string;
134
+ green5: string;
135
+ green6: string;
136
+ green7: string;
137
+ green8: string;
138
+ green9: string;
139
+ green10: string;
140
+ green11: string;
141
+ green12: string;
142
+ purple1: string;
143
+ purple2: string;
144
+ purple3: string;
145
+ purple4: string;
146
+ purple5: string;
147
+ purple6: string;
148
+ purple7: string;
149
+ purple8: string;
150
+ purple9: string;
151
+ purple10: string;
152
+ purple11: string;
153
+ purple12: string;
154
+ pink1: string;
155
+ pink2: string;
156
+ pink3: string;
157
+ pink4: string;
158
+ pink5: string;
159
+ pink6: string;
160
+ pink7: string;
161
+ pink8: string;
162
+ pink9: string;
163
+ pink10: string;
164
+ pink11: string;
165
+ pink12: string;
166
+ orange1: string;
167
+ orange2: string;
168
+ orange3: string;
169
+ orange4: string;
170
+ orange5: string;
171
+ orange6: string;
172
+ orange7: string;
173
+ orange8: string;
174
+ orange9: string;
175
+ orange10: string;
176
+ orange11: string;
177
+ orange12: string;
178
+ yellow1: string;
179
+ yellow2: string;
180
+ yellow3: string;
181
+ yellow4: string;
182
+ yellow5: string;
183
+ yellow6: string;
184
+ yellow7: string;
185
+ yellow8: string;
186
+ yellow9: string;
187
+ yellow10: string;
188
+ yellow11: string;
189
+ yellow12: string;
190
+ blue1: string;
191
+ blue2: string;
192
+ blue3: string;
193
+ blue4: string;
194
+ blue5: string;
195
+ blue6: string;
196
+ blue7: string;
197
+ blue8: string;
198
+ blue9: string;
199
+ blue10: string;
200
+ blue11: string;
201
+ blue12: string;
202
+ red1: string;
203
+ red2: string;
204
+ red3: string;
205
+ red4: string;
206
+ red5: string;
207
+ red6: string;
208
+ red7: string;
209
+ red8: string;
210
+ red9: string;
211
+ red10: string;
212
+ red11: string;
213
+ red12: string;
214
+ gray1: string;
215
+ gray2: string;
216
+ gray3: string;
217
+ gray4: string;
218
+ gray5: string;
219
+ gray6: string;
220
+ gray7: string;
221
+ gray8: string;
222
+ gray9: string;
223
+ gray10: string;
224
+ gray11: string;
225
+ gray12: string;
226
+ };
227
+ };
File without changes
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type IconProps = {
2
+ export type IconProps = {
3
3
  size?: number | string;
4
4
  title?: string;
5
5
  color?: string;
@@ -0,0 +1,396 @@
1
+ const expoTailwindConfig = {
2
+ theme: {
3
+ borderRadius: {
4
+ none: 0,
5
+ xs: 2,
6
+ sm: 4,
7
+ md: 6,
8
+ lg: 10,
9
+ xl: 16,
10
+ '2xl': 20,
11
+ '3xl': 24,
12
+ full: 9999,
13
+ },
14
+ backgroundColor: {
15
+ default: 'var(--expo-theme-background-default)',
16
+ screen: 'var(--expo-theme-background-screen)',
17
+ subtle: 'var(--expo-theme-background-subtle)',
18
+ element: 'var(--expo-theme-background-element)',
19
+ hover: 'var(--expo-theme-background-hover)',
20
+ selected: 'var(--expo-theme-background-selected)',
21
+ overlay: 'var(--expo-theme-background-overlay)',
22
+ success: 'var(--expo-theme-background-success)',
23
+ warning: 'var(--expo-theme-background-warning)',
24
+ danger: 'var(--expo-theme-background-danger)',
25
+ info: 'var(--expo-theme-background-info)',
26
+ },
27
+ borderColor: {
28
+ default: 'var(--expo-theme-border-default)',
29
+ secondary: 'var(--expo-theme-border-secondary)',
30
+ success: 'var(--expo-theme-border-success)',
31
+ warning: 'var(--expo-theme-border-warning)',
32
+ danger: 'var(--expo-theme-border-danger)',
33
+ info: 'var(--expo-theme-border-info)',
34
+ },
35
+ colors: {
36
+ transparent: 'transparent',
37
+ current: 'currentColor',
38
+ default: 'var(--expo-theme-text-default)',
39
+ secondary: 'var(--expo-theme-text-secondary)',
40
+ tertiary: 'var(--expo-theme-text-tertiary)',
41
+ quaternary: 'var(--expo-theme-text-quaternary)',
42
+ link: 'var(--expo-theme-text-link)',
43
+ success: 'var(--expo-theme-text-success)',
44
+ warning: 'var(--expo-theme-text-warning)',
45
+ danger: 'var(--expo-theme-text-danger)',
46
+ info: 'var(--expo-theme-text-info)',
47
+ background: {
48
+ default: 'var(--expo-theme-background-default)',
49
+ screen: 'var(--expo-theme-background-screen)',
50
+ subtle: 'var(--expo-theme-background-subtle)',
51
+ element: 'var(--expo-theme-background-element)',
52
+ hover: 'var(--expo-theme-background-hover)',
53
+ selected: 'var(--expo-theme-background-selected)',
54
+ overlay: 'var(--expo-theme-background-overlay)',
55
+ success: 'var(--expo-theme-background-success)',
56
+ warning: 'var(--expo-theme-background-warning)',
57
+ danger: 'var(--expo-theme-background-danger)',
58
+ info: 'var(--expo-theme-background-info)',
59
+ },
60
+ icon: {
61
+ default: 'var(--expo-theme-icon-default)',
62
+ secondary: 'var(--expo-theme-icon-secondary)',
63
+ tertiary: 'var(--expo-theme-icon-tertiary)',
64
+ quaternary: 'var(--expo-theme-icon-quaternary)',
65
+ success: 'var(--expo-theme-icon-success)',
66
+ warning: 'var(--expo-theme-icon-warning)',
67
+ danger: 'var(--expo-theme-icon-danger)',
68
+ info: 'var(--expo-theme-icon-info)',
69
+ },
70
+ text: {
71
+ default: 'var(--expo-theme-text-default)',
72
+ secondary: 'var(--expo-theme-text-secondary)',
73
+ tertiary: 'var(--expo-theme-text-tertiary)',
74
+ quaternary: 'var(--expo-theme-text-quaternary)',
75
+ link: 'var(--expo-theme-text-link)',
76
+ success: 'var(--expo-theme-text-success)',
77
+ warning: 'var(--expo-theme-text-warning)',
78
+ danger: 'var(--expo-theme-text-danger)',
79
+ info: 'var(--expo-theme-text-info)',
80
+ },
81
+ border: {
82
+ default: 'var(--expo-theme-border-default)',
83
+ secondary: 'var(--expo-theme-border-secondary)',
84
+ success: 'var(--expo-theme-border-success)',
85
+ warning: 'var(--expo-theme-border-warning)',
86
+ danger: 'var(--expo-theme-border-danger)',
87
+ info: 'var(--expo-theme-border-info)',
88
+ },
89
+ button: {
90
+ primary: {
91
+ background: 'var(--expo-theme-button-primary-background)',
92
+ border: 'var(--expo-theme-button-primary-border)',
93
+ hover: 'var(--expo-theme-button-primary-hover)',
94
+ icon: 'var(--expo-theme-button-primary-icon)',
95
+ text: 'var(--expo-theme-button-primary-text)',
96
+ disabled: {
97
+ background: 'var(--expo-theme-button-primary-disabled-background)',
98
+ border: 'var(--expo-theme-button-primary-disabled-border)',
99
+ text: 'var(--expo-theme-button-primary-disabled-text)',
100
+ },
101
+ destructive: {
102
+ background:
103
+ 'var(--expo-theme-button-primary-destructive-background)',
104
+ border: 'var(--expo-theme-button-primary-destructive-border)',
105
+ hover: 'var(--expo-theme-button-primary-destructive-hover)',
106
+ icon: 'var(--expo-theme-button-primary-destructive-icon)',
107
+ text: 'var(--expo-theme-button-primary-destructive-text)',
108
+ disabled: {
109
+ background:
110
+ 'var(--expo-theme-button-primary-destructive-disabled-background)',
111
+ border:
112
+ 'var(--expo-theme-button-primary-destructive-disabled-border)',
113
+ text: 'var(--expo-theme-button-primary-destructive-disabled-text)',
114
+ },
115
+ },
116
+ },
117
+ secondary: {
118
+ background: 'var(--expo-theme-button-secondary-background)',
119
+ border: 'var(--expo-theme-button-secondary-border)',
120
+ hover: 'var(--expo-theme-button-secondary-hover)',
121
+ icon: 'var(--expo-theme-button-secondary-icon)',
122
+ text: 'var(--expo-theme-button-secondary-text)',
123
+ disabled: {
124
+ background:
125
+ 'var(--expo-theme-button-secondary-disabled-background)',
126
+ border: 'var(--expo-theme-button-secondary-disabled-border)',
127
+ text: 'var(--expo-theme-button-secondary-disabled-text)',
128
+ },
129
+ destructive: {
130
+ background:
131
+ 'var(--expo-theme-button-secondary-destructive-background)',
132
+ border: 'var(--expo-theme-button-secondary-destructive-border)',
133
+ hover: 'var(--expo-theme-button-secondary-destructive-hover)',
134
+ icon: 'var(--expo-theme-button-secondary-destructive-icon)',
135
+ text: 'var(--expo-theme-button-secondary-destructive-text)',
136
+ disabled: {
137
+ background:
138
+ 'var(--expo-theme-button-secondary-destructive-disabled-background)',
139
+ border:
140
+ 'var(--expo-theme-button-secondary-destructive-disabled-border)',
141
+ text: 'var(--expo-theme-button-secondary-destructive-disabled-text)',
142
+ },
143
+ },
144
+ },
145
+ tertiary: {
146
+ background: 'var(--expo-theme-button-tertiary-background)',
147
+ border: 'var(--expo-theme-button-tertiary-border)',
148
+ hover: 'var(--expo-theme-button-tertiary-hover)',
149
+ icon: 'var(--expo-theme-button-tertiary-icon)',
150
+ text: 'var(--expo-theme-button-tertiary-text)',
151
+ disabled: {
152
+ background: 'var(--expo-theme-button-tertiary-disabled-background)',
153
+ border: 'var(--expo-theme-button-tertiary-disabled-border)',
154
+ text: 'var(--expo-theme-button-tertiary-disabled-text)',
155
+ },
156
+ },
157
+ quaternary: {
158
+ background: 'var(--expo-theme-button-quaternary-background)',
159
+ border: 'var(--expo-theme-button-quaternary-border)',
160
+ hover: 'var(--expo-theme-button-quaternary-hover)',
161
+ icon: 'var(--expo-theme-button-quaternary-icon)',
162
+ text: 'var(--expo-theme-button-quaternary-text)',
163
+ disabled: {
164
+ background:
165
+ 'var(--expo-theme-button-quaternary-disabled-background)',
166
+ border: 'var(--expo-theme-button-quaternary-disabled-border)',
167
+ text: 'var(--expo-theme-button-quaternary-disabled-text)',
168
+ },
169
+ },
170
+ },
171
+ project: {
172
+ blue: 'var(--expo-theme-project-blue)',
173
+ green: 'var(--expo-theme-project-green)',
174
+ yellow: 'var(--expo-theme-project-yellow)',
175
+ orange: 'var(--expo-theme-project-orange)',
176
+ red: 'var(--expo-theme-project-red)',
177
+ pink: 'var(--expo-theme-project-pink)',
178
+ purple: 'var(--expo-theme-project-purple)',
179
+ },
180
+ palette: {
181
+ white: 'var(--expo-color-white)',
182
+ black: 'var(--expo-color-black)',
183
+ green1: 'var(--green1)',
184
+ green2: 'var(--green2)',
185
+ green3: 'var(--green3)',
186
+ green4: 'var(--green4)',
187
+ green5: 'var(--green5)',
188
+ green6: 'var(--green6)',
189
+ green7: 'var(--green7)',
190
+ green8: 'var(--green8)',
191
+ green9: 'var(--green9)',
192
+ green10: 'var(--green10)',
193
+ green11: 'var(--green11)',
194
+ green12: 'var(--green12)',
195
+ purple1: 'var(--purple1)',
196
+ purple2: 'var(--purple2)',
197
+ purple3: 'var(--purple3)',
198
+ purple4: 'var(--purple4)',
199
+ purple5: 'var(--purple5)',
200
+ purple6: 'var(--purple6)',
201
+ purple7: 'var(--purple7)',
202
+ purple8: 'var(--purple8)',
203
+ purple9: 'var(--purple9)',
204
+ purple10: 'var(--purple10)',
205
+ purple11: 'var(--purple11)',
206
+ purple12: 'var(--purple12)',
207
+ pink1: 'var(--pink1)',
208
+ pink2: 'var(--pink2)',
209
+ pink3: 'var(--pink3)',
210
+ pink4: 'var(--pink4)',
211
+ pink5: 'var(--pink5)',
212
+ pink6: 'var(--pink6)',
213
+ pink7: 'var(--pink7)',
214
+ pink8: 'var(--pink8)',
215
+ pink9: 'var(--pink9)',
216
+ pink10: 'var(--pink10)',
217
+ pink11: 'var(--pink11)',
218
+ pink12: 'var(--pink12)',
219
+ orange1: 'var(--orange1)',
220
+ orange2: 'var(--orange2)',
221
+ orange3: 'var(--orange3)',
222
+ orange4: 'var(--orange4)',
223
+ orange5: 'var(--orange5)',
224
+ orange6: 'var(--orange6)',
225
+ orange7: 'var(--orange7)',
226
+ orange8: 'var(--orange8)',
227
+ orange9: 'var(--orange9)',
228
+ orange10: 'var(--orange10)',
229
+ orange11: 'var(--orange11)',
230
+ orange12: 'var(--orange12)',
231
+ yellow1: 'var(--yellow1)',
232
+ yellow2: 'var(--yellow2)',
233
+ yellow3: 'var(--yellow3)',
234
+ yellow4: 'var(--yellow4)',
235
+ yellow5: 'var(--yellow5)',
236
+ yellow6: 'var(--yellow6)',
237
+ yellow7: 'var(--yellow7)',
238
+ yellow8: 'var(--yellow8)',
239
+ yellow9: 'var(--yellow9)',
240
+ yellow10: 'var(--yellow10)',
241
+ yellow11: 'var(--yellow11)',
242
+ yellow12: 'var(--yellow12)',
243
+ blue1: 'var(--blue1)',
244
+ blue2: 'var(--blue2)',
245
+ blue3: 'var(--blue3)',
246
+ blue4: 'var(--blue4)',
247
+ blue5: 'var(--blue5)',
248
+ blue6: 'var(--blue6)',
249
+ blue7: 'var(--blue7)',
250
+ blue8: 'var(--blue8)',
251
+ blue9: 'var(--blue9)',
252
+ blue10: 'var(--blue10)',
253
+ blue11: 'var(--blue11)',
254
+ blue12: 'var(--blue12)',
255
+ red1: 'var(--red1)',
256
+ red2: 'var(--red2)',
257
+ red3: 'var(--red3)',
258
+ red4: 'var(--red4)',
259
+ red5: 'var(--red5)',
260
+ red6: 'var(--red6)',
261
+ red7: 'var(--red7)',
262
+ red8: 'var(--red8)',
263
+ red9: 'var(--red9)',
264
+ red10: 'var(--red10)',
265
+ red11: 'var(--red11)',
266
+ red12: 'var(--red12)',
267
+ gray1: 'var(--slate1)',
268
+ gray2: 'var(--slate2)',
269
+ gray3: 'var(--slate3)',
270
+ gray4: 'var(--slate4)',
271
+ gray5: 'var(--slate5)',
272
+ gray6: 'var(--slate6)',
273
+ gray7: 'var(--slate7)',
274
+ gray8: 'var(--slate8)',
275
+ gray9: 'var(--slate9)',
276
+ gray10: 'var(--slate10)',
277
+ gray11: 'var(--slate11)',
278
+ gray12: 'var(--slate12)',
279
+ },
280
+ },
281
+ boxShadow: {
282
+ none: 'var(--expo-theme-shadows-none)',
283
+ xs: 'var(--expo-theme-shadows-xs)',
284
+ sm: 'var(--expo-theme-shadows-sm)',
285
+ md: 'var(--expo-theme-shadows-md)',
286
+ lg: 'var(--expo-theme-shadows-lg)',
287
+ xl: 'var(--expo-theme-shadows-xl)',
288
+ },
289
+ fontFamily: {},
290
+ fontSize: {
291
+ 'heading-5xl': [
292
+ 'calc(var(--expo-theme-heading-base-font-size) * 3.815)',
293
+ {
294
+ lineHeight: 1.2,
295
+ letterSpacing: '-0.022rem',
296
+ },
297
+ ],
298
+ 'heading-4xl': [
299
+ 'calc(var(--expo-theme-heading-base-font-size) * 3.052)',
300
+ {
301
+ lineHeight: 1.2,
302
+ letterSpacing: '-0.022rem',
303
+ },
304
+ ],
305
+ 'heading-3xl': [
306
+ 'calc(var(--expo-theme-heading-base-font-size) * 2.441)',
307
+ {
308
+ lineHeight: 1.3,
309
+ letterSpacing: '-0.022rem',
310
+ },
311
+ ],
312
+ 'heading-2xl': [
313
+ 'calc(var(--expo-theme-heading-base-font-size) * 1.953)',
314
+ {
315
+ lineHeight: 1.4,
316
+ letterSpacing: '-0.021rem',
317
+ },
318
+ ],
319
+ 'heading-xl': [
320
+ 'calc(var(--expo-theme-heading-base-font-size) * 1.563)',
321
+ {
322
+ lineHeight: 1.5,
323
+ letterSpacing: '-0.017rem',
324
+ },
325
+ ],
326
+ 'heading-lg': [
327
+ 'calc(var(--expo-theme-heading-base-font-size) * 1.25)',
328
+ {
329
+ lineHeight: 1.5,
330
+ letterSpacing: '-0.017rem',
331
+ },
332
+ ],
333
+ 'heading-base': [
334
+ 'calc(var(--expo-theme-heading-base-font-size) * 1)',
335
+ {
336
+ lineHeight: 1.625,
337
+ letterSpacing: '-0.011rem',
338
+ },
339
+ ],
340
+ 'heading-sm': [
341
+ 'calc(var(--expo-theme-heading-base-font-size) * 0.8)',
342
+ {
343
+ lineHeight: 1.615,
344
+ letterSpacing: '-0.003rem',
345
+ },
346
+ ],
347
+ 'heading-xs': [
348
+ 'calc(var(--expo-theme-heading-base-font-size) * 0.64)',
349
+ {
350
+ lineHeight: 1.58,
351
+ },
352
+ ],
353
+ base: [
354
+ '16px',
355
+ {
356
+ lineHeight: 1.625,
357
+ letterSpacing: '-0.011rem',
358
+ },
359
+ ],
360
+ sm: [
361
+ '15px',
362
+ {
363
+ lineHeight: 1.6,
364
+ letterSpacing: '-0.009rem',
365
+ },
366
+ ],
367
+ xs: [
368
+ '14px',
369
+ {
370
+ lineHeight: 1.57,
371
+ letterSpacing: '-0.006rem',
372
+ },
373
+ ],
374
+ '2xs': [
375
+ '13px',
376
+ {
377
+ lineHeight: 1.61,
378
+ letterSpacing: '-0.003rem',
379
+ },
380
+ ],
381
+ '3xs': [
382
+ '12px',
383
+ {
384
+ lineHeight: 1.58,
385
+ },
386
+ ],
387
+ },
388
+ },
389
+ screens: {
390
+ small: 400,
391
+ medium: 900,
392
+ large: 1200,
393
+ },
394
+ };
395
+
396
+ module.exports = expoTailwindConfig;