@bloxwap/hig 0.0.0-stage → 0.2.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 (179) hide show
  1. package/LICENSE +5 -0
  2. package/README.md +44 -2
  3. package/chart/README.md +23 -0
  4. package/chart/dist/index.d.ts +8 -0
  5. package/chart/dist/index.js +12 -0
  6. package/contracts/README.md +3 -0
  7. package/contracts/dist/announcements.d.ts +12 -0
  8. package/contracts/dist/announcements.js +8 -0
  9. package/contracts/dist/feedback.d.ts +40 -0
  10. package/contracts/dist/feedback.js +1 -0
  11. package/contracts/dist/index.d.ts +41 -0
  12. package/contracts/dist/index.js +52 -0
  13. package/contracts/dist/messages.d.ts +162 -0
  14. package/contracts/dist/messages.js +68 -0
  15. package/feedback/README.md +7 -0
  16. package/feedback/assets/error.wav +0 -0
  17. package/feedback/assets/manifest.json +68 -0
  18. package/feedback/assets/success.wav +0 -0
  19. package/feedback/assets/tick.wav +0 -0
  20. package/feedback/assets/toggle.wav +0 -0
  21. package/feedback/dist/browser-haptic.d.ts +23 -0
  22. package/feedback/dist/browser-haptic.js +41 -0
  23. package/feedback/dist/contract.d.ts +96 -0
  24. package/feedback/dist/contract.js +58 -0
  25. package/feedback/dist/native.d.ts +27 -0
  26. package/feedback/dist/native.js +63 -0
  27. package/feedback/dist/preferences.d.ts +8 -0
  28. package/feedback/dist/preferences.js +24 -0
  29. package/feedback/dist/react.d.ts +19 -0
  30. package/feedback/dist/react.js +23 -0
  31. package/feedback/dist/web-haptic.d.ts +6 -0
  32. package/feedback/dist/web-haptic.js +6 -0
  33. package/feedback/dist/web-sound.d.ts +5 -0
  34. package/feedback/dist/web-sound.js +32 -0
  35. package/feedback/dist/web.d.ts +3 -0
  36. package/feedback/dist/web.js +4 -0
  37. package/native/README.md +11 -0
  38. package/native/android/build.gradle +28 -0
  39. package/native/android/src/main/java/com/bloxwap/hig/HIGAdjustableView.java +173 -0
  40. package/native/android/src/main/java/com/bloxwap/hig/HIGAdjustableViewManager.java +23 -0
  41. package/native/android/src/main/java/com/bloxwap/hig/HIGPackage.java +24 -0
  42. package/native/dist/animated-number-model.d.ts +24 -0
  43. package/native/dist/animated-number-model.js +110 -0
  44. package/native/dist/animated-number.d.ts +9 -0
  45. package/native/dist/animated-number.js +93 -0
  46. package/native/dist/brand.d.ts +7 -0
  47. package/native/dist/brand.js +6 -0
  48. package/native/dist/button.d.ts +29 -0
  49. package/native/dist/button.js +34 -0
  50. package/native/dist/checkbox.d.ts +3 -0
  51. package/native/dist/checkbox.js +11 -0
  52. package/native/dist/data.d.ts +40 -0
  53. package/native/dist/data.js +27 -0
  54. package/native/dist/field.d.ts +15 -0
  55. package/native/dist/field.js +13 -0
  56. package/native/dist/gesture-sheet.d.ts +73 -0
  57. package/native/dist/gesture-sheet.js +151 -0
  58. package/native/dist/navigation.d.ts +47 -0
  59. package/native/dist/navigation.js +16 -0
  60. package/native/dist/overlay.d.ts +36 -0
  61. package/native/dist/overlay.js +65 -0
  62. package/native/dist/provider.d.ts +43 -0
  63. package/native/dist/provider.js +52 -0
  64. package/native/dist/radio-group.d.ts +5 -0
  65. package/native/dist/radio-group.js +53 -0
  66. package/native/dist/recipes.d.ts +42 -0
  67. package/native/dist/recipes.js +19 -0
  68. package/native/dist/roles.d.ts +6 -0
  69. package/native/dist/roles.js +4 -0
  70. package/native/dist/select.d.ts +3 -0
  71. package/native/dist/select.js +9 -0
  72. package/native/dist/selection-types.d.ts +22 -0
  73. package/native/dist/selection-types.js +1 -0
  74. package/native/dist/selection.d.ts +7 -0
  75. package/native/dist/selection.js +6 -0
  76. package/native/dist/slider.d.ts +11 -0
  77. package/native/dist/slider.js +41 -0
  78. package/native/dist/status.d.ts +75 -0
  79. package/native/dist/status.js +72 -0
  80. package/native/dist/surface.d.ts +18 -0
  81. package/native/dist/surface.js +41 -0
  82. package/native/dist/switch-row.d.ts +8 -0
  83. package/native/dist/switch-row.js +18 -0
  84. package/native/dist/switch.d.ts +10 -0
  85. package/native/dist/switch.js +23 -0
  86. package/native/dist/text-content.d.ts +5 -0
  87. package/native/dist/text-content.js +6 -0
  88. package/native-fonts/README.md +17 -0
  89. package/native-fonts/dist/index.d.ts +164 -0
  90. package/native-fonts/dist/index.js +164 -0
  91. package/native-fonts/fonts/BloxwapMono-Bold.ttf +0 -0
  92. package/native-fonts/fonts/BloxwapMono-ExtraBold.ttf +0 -0
  93. package/native-fonts/fonts/BloxwapMono-Medium.ttf +0 -0
  94. package/native-fonts/fonts/BloxwapMono-SemiBold.ttf +0 -0
  95. package/native-fonts/fonts/BloxwapMono.ttf +0 -0
  96. package/native-fonts/fonts/BloxwapSans-Black.ttf +0 -0
  97. package/native-fonts/fonts/BloxwapSans-Bold.ttf +0 -0
  98. package/native-fonts/fonts/BloxwapSans-ExtraBold.ttf +0 -0
  99. package/native-fonts/fonts/BloxwapSans-Medium.ttf +0 -0
  100. package/native-fonts/fonts/BloxwapSans-SemiBold.ttf +0 -0
  101. package/native-fonts/fonts/BloxwapSans.ttf +0 -0
  102. package/native-fonts/fonts/BloxwapSansKR-SemiBold.ttf +0 -0
  103. package/native-fonts/fonts/BloxwapSansKR.ttf +0 -0
  104. package/native-fonts/fonts/BloxwapSansSC-SemiBold.ttf +0 -0
  105. package/native-fonts/fonts/BloxwapSansSC.ttf +0 -0
  106. package/native-fonts/fonts/OFL.txt +93 -0
  107. package/native-fonts/fonts/manifest.json +164 -0
  108. package/og-fonts/README.md +34 -0
  109. package/og-fonts/dist/index.d.ts +116 -0
  110. package/og-fonts/dist/index.js +102 -0
  111. package/og-fonts/dist/node.d.ts +11 -0
  112. package/og-fonts/dist/node.js +39 -0
  113. package/og-fonts/fonts/BloxwapMono-Medium.ttf +0 -0
  114. package/og-fonts/fonts/BloxwapSans-Black.ttf +0 -0
  115. package/og-fonts/fonts/BloxwapSans-Bold.ttf +0 -0
  116. package/og-fonts/fonts/BloxwapSans-Medium.ttf +0 -0
  117. package/og-fonts/fonts/BloxwapSans.ttf +0 -0
  118. package/og-fonts/fonts/OFL.txt +93 -0
  119. package/og-fonts/fonts/manifest.json +65 -0
  120. package/package.json +358 -4
  121. package/react/README.md +9 -0
  122. package/react/dist/animated-number-model.d.ts +20 -0
  123. package/react/dist/animated-number-model.js +92 -0
  124. package/react/dist/animated-number.d.ts +8 -0
  125. package/react/dist/animated-number.js +71 -0
  126. package/react/dist/base.css +9 -0
  127. package/react/dist/brand.d.ts +7 -0
  128. package/react/dist/brand.js +4 -0
  129. package/react/dist/button.d.ts +14 -0
  130. package/react/dist/button.js +20 -0
  131. package/react/dist/data.d.ts +63 -0
  132. package/react/dist/data.js +23 -0
  133. package/react/dist/dialog.d.ts +29 -0
  134. package/react/dist/dialog.js +21 -0
  135. package/react/dist/field.d.ts +15 -0
  136. package/react/dist/field.js +19 -0
  137. package/react/dist/gesture-sheet.d.ts +41 -0
  138. package/react/dist/gesture-sheet.js +128 -0
  139. package/react/dist/navigation.d.ts +48 -0
  140. package/react/dist/navigation.js +69 -0
  141. package/react/dist/overlay.d.ts +17 -0
  142. package/react/dist/overlay.js +18 -0
  143. package/react/dist/provider.d.ts +25 -0
  144. package/react/dist/provider.js +50 -0
  145. package/react/dist/recipes/activity-list.d.ts +8 -0
  146. package/react/dist/recipes/activity-list.js +6 -0
  147. package/react/dist/recipes/balance-card.d.ts +6 -0
  148. package/react/dist/recipes/balance-card.js +5 -0
  149. package/react/dist/recipes/code-window.d.ts +4 -0
  150. package/react/dist/recipes/code-window.js +4 -0
  151. package/react/dist/recipes/install-command.d.ts +5 -0
  152. package/react/dist/recipes/install-command.js +8 -0
  153. package/react/dist/recipes/market-row.d.ts +25 -0
  154. package/react/dist/recipes/market-row.js +8 -0
  155. package/react/dist/recipes/marketing-hero.d.ts +7 -0
  156. package/react/dist/recipes/marketing-hero.js +5 -0
  157. package/react/dist/recipes/trade-entry.d.ts +11 -0
  158. package/react/dist/recipes/trade-entry.js +12 -0
  159. package/react/dist/recipes.d.ts +8 -0
  160. package/react/dist/recipes.js +9 -0
  161. package/react/dist/select.d.ts +4 -0
  162. package/react/dist/select.js +172 -0
  163. package/react/dist/selection.d.ts +27 -0
  164. package/react/dist/selection.js +16 -0
  165. package/react/dist/slider.d.ts +11 -0
  166. package/react/dist/slider.js +10 -0
  167. package/react/dist/status.d.ts +53 -0
  168. package/react/dist/status.js +43 -0
  169. package/react/dist/styles.css +228 -0
  170. package/react/dist/surface.d.ts +291 -0
  171. package/react/dist/surface.js +9 -0
  172. package/tokens/README.md +9 -0
  173. package/tokens/assets/bloxwap-icon.svg +1 -0
  174. package/tokens/dist/index.d.ts +429 -0
  175. package/tokens/dist/index.js +507 -0
  176. package/tokens/dist/manifest.json +197 -0
  177. package/tokens/dist/theme.d.ts +11 -0
  178. package/tokens/dist/theme.js +22 -0
  179. package/tokens/dist/tokens.css +119 -0
@@ -0,0 +1,429 @@
1
+ export { resolvePrimaryColor, type PrimaryColors } from './theme.js';
2
+ export declare const tokens: {
3
+ readonly version: "0.1.1";
4
+ readonly mode: "dark";
5
+ readonly provenance: "bloxwap/monorepo@d47cef4c40363184bdfda8d8c263ead108ef9ff6/packages/hig/tokens/src/colors.ts; HIG semantic intent/density aliases documented in docs/foundations/source-reconciliation.md";
6
+ readonly colors: {
7
+ readonly background: {
8
+ readonly srgb: "#0a0a0a";
9
+ readonly p3: readonly [0.04, 0.04, 0.04];
10
+ readonly oklch: "oklch(0.145 0 0)";
11
+ };
12
+ readonly surface: {
13
+ readonly srgb: "#171717";
14
+ readonly oklch: "oklch(0.205 0 0)";
15
+ };
16
+ readonly nested: {
17
+ readonly srgb: "#262626";
18
+ readonly oklch: "oklch(0.269 0 0)";
19
+ };
20
+ readonly text: {
21
+ readonly srgb: "#fafafa";
22
+ readonly oklch: "oklch(0.985 0 0)";
23
+ };
24
+ readonly muted: {
25
+ readonly srgb: "#a1a1a1";
26
+ readonly oklch: "oklch(0.708 0 0)";
27
+ };
28
+ readonly faint: {
29
+ readonly srgb: "#858585";
30
+ };
31
+ readonly border: {
32
+ readonly srgb: "#3a3a3a";
33
+ };
34
+ readonly action: {
35
+ readonly srgb: "#00ff3f";
36
+ readonly p3: readonly [0, 1, 0.24];
37
+ };
38
+ readonly onAction: {
39
+ readonly srgb: "#0a0a0a";
40
+ readonly p3: readonly [0.04, 0.04, 0.04];
41
+ };
42
+ readonly focus: {
43
+ readonly srgb: "#00ff3f";
44
+ readonly p3: readonly [0, 1, 0.24];
45
+ };
46
+ readonly buy: {
47
+ readonly srgb: "#00ff3f";
48
+ readonly p3: readonly [0, 1, 0.24];
49
+ };
50
+ readonly sell: {
51
+ readonly srgb: "#ff479c";
52
+ readonly p3: readonly [1, 0.24, 0.62];
53
+ };
54
+ readonly positive: {
55
+ readonly srgb: "#00ff3f";
56
+ readonly p3: readonly [0, 1, 0.24];
57
+ };
58
+ readonly negative: {
59
+ readonly srgb: "#ff479c";
60
+ readonly p3: readonly [1, 0.24, 0.62];
61
+ };
62
+ readonly warning: {
63
+ readonly srgb: "#fffb38";
64
+ readonly p3: readonly [1, 0.98, 0.18];
65
+ };
66
+ readonly info: {
67
+ readonly srgb: "#35b5ff";
68
+ readonly p3: readonly [0.18, 0.72, 1];
69
+ };
70
+ };
71
+ readonly space: {
72
+ readonly xs: 4;
73
+ readonly sm: 8;
74
+ readonly md: 12;
75
+ readonly lg: 16;
76
+ readonly xl: 20;
77
+ readonly xxl: 24;
78
+ readonly xxxl: 32;
79
+ readonly section: 48;
80
+ };
81
+ readonly radius: {
82
+ readonly sm: 6;
83
+ readonly md: 8;
84
+ readonly lg: 10;
85
+ readonly xl: 14;
86
+ readonly pill: 9999;
87
+ };
88
+ readonly density: {
89
+ readonly comfortable: {
90
+ readonly control: 48;
91
+ readonly target: 48;
92
+ readonly gap: 12;
93
+ };
94
+ readonly compact: {
95
+ readonly control: 36;
96
+ readonly target: 36;
97
+ readonly gap: 8;
98
+ };
99
+ };
100
+ readonly motion: {
101
+ readonly fast: 180;
102
+ readonly base: 260;
103
+ readonly slow: 320;
104
+ };
105
+ readonly easing: {
106
+ readonly standard: readonly [0.22, 1, 0.36, 1];
107
+ };
108
+ readonly type: {
109
+ readonly caption: {
110
+ readonly size: 12;
111
+ readonly lineHeight: 18;
112
+ readonly weight: 500;
113
+ };
114
+ readonly label: {
115
+ readonly size: 14;
116
+ readonly lineHeight: 20;
117
+ readonly weight: 600;
118
+ };
119
+ readonly body: {
120
+ readonly size: 16;
121
+ readonly lineHeight: 24;
122
+ readonly weight: 400;
123
+ };
124
+ readonly title: {
125
+ readonly size: 24;
126
+ readonly lineHeight: 30;
127
+ readonly weight: 600;
128
+ };
129
+ readonly display: {
130
+ readonly size: 48;
131
+ readonly lineHeight: 52;
132
+ readonly weight: 600;
133
+ };
134
+ };
135
+ readonly font: {
136
+ readonly sans: {
137
+ readonly family: "Bloxwap Sans";
138
+ readonly loaderVariable: "--font-bloxwap-sans";
139
+ readonly fallback: readonly ["system-ui", "sans-serif"];
140
+ };
141
+ readonly mono: {
142
+ readonly family: "Bloxwap Mono";
143
+ readonly loaderVariable: "--font-bloxwap-mono";
144
+ readonly fallback: readonly ["ui-monospace", "monospace"];
145
+ };
146
+ };
147
+ };
148
+ export declare const nativeSrgb: {
149
+ readonly background: "#0a0a0a";
150
+ readonly surface: "#171717";
151
+ readonly nested: "#262626";
152
+ readonly text: "#fafafa";
153
+ readonly muted: "#a1a1a1";
154
+ readonly faint: "#858585";
155
+ readonly border: "#3a3a3a";
156
+ readonly action: "#00ff3f";
157
+ readonly onAction: "#0a0a0a";
158
+ readonly focus: "#00ff3f";
159
+ readonly buy: "#00ff3f";
160
+ readonly sell: "#ff479c";
161
+ readonly positive: "#00ff3f";
162
+ readonly negative: "#ff479c";
163
+ readonly warning: "#fffb38";
164
+ readonly info: "#35b5ff";
165
+ };
166
+ export declare const nativeDisplayP3: {
167
+ readonly background: "#0a0a0a";
168
+ readonly surface: "#171717";
169
+ readonly nested: "#262626";
170
+ readonly text: "#fafafa";
171
+ readonly muted: "#a1a1a1";
172
+ readonly faint: "#858585";
173
+ readonly border: "#3a3a3a";
174
+ readonly action: "#00ff3d";
175
+ readonly onAction: "#0a0a0a";
176
+ readonly focus: "#00ff3d";
177
+ readonly buy: "#00ff3d";
178
+ readonly sell: "#ff3d9e";
179
+ readonly positive: "#00ff3d";
180
+ readonly negative: "#ff3d9e";
181
+ readonly warning: "#fffa2e";
182
+ readonly info: "#2eb8ff";
183
+ };
184
+ export declare const nativeMetrics: {
185
+ readonly space: {
186
+ readonly xs: 4;
187
+ readonly sm: 8;
188
+ readonly md: 12;
189
+ readonly lg: 16;
190
+ readonly xl: 20;
191
+ readonly xxl: 24;
192
+ readonly xxxl: 32;
193
+ readonly section: 48;
194
+ };
195
+ readonly radius: {
196
+ readonly sm: 6;
197
+ readonly md: 8;
198
+ readonly lg: 10;
199
+ readonly xl: 14;
200
+ readonly pill: 9999;
201
+ };
202
+ readonly density: {
203
+ readonly comfortable: {
204
+ readonly control: 48;
205
+ readonly target: 48;
206
+ readonly gap: 12;
207
+ };
208
+ readonly compact: {
209
+ readonly control: 36;
210
+ readonly target: 36;
211
+ readonly gap: 8;
212
+ };
213
+ };
214
+ readonly motion: {
215
+ readonly fast: 180;
216
+ readonly base: 260;
217
+ readonly slow: 320;
218
+ };
219
+ };
220
+ export declare const sourceColors: {
221
+ readonly web: {
222
+ readonly background: "oklch(0.145 0 0)";
223
+ readonly foreground: "oklch(0.985 0 0)";
224
+ readonly card: "oklch(0.205 0 0)";
225
+ readonly "card-foreground": "oklch(0.985 0 0)";
226
+ readonly popover: "oklch(0.205 0 0)";
227
+ readonly "popover-foreground": "oklch(0.985 0 0)";
228
+ readonly primary: "oklch(0.922 0 0)";
229
+ readonly "primary-foreground": "oklch(0.205 0 0)";
230
+ readonly secondary: "oklch(0.269 0 0)";
231
+ readonly "secondary-foreground": "oklch(0.985 0 0)";
232
+ readonly muted: "oklch(0.269 0 0)";
233
+ readonly "muted-foreground": "oklch(0.708 0 0)";
234
+ readonly accent: "oklch(0.269 0 0)";
235
+ readonly "accent-foreground": "oklch(0.985 0 0)";
236
+ readonly destructive: "oklch(0.704 0.191 22.216)";
237
+ readonly border: "oklch(1 0 0 / 10%)";
238
+ readonly input: "oklch(1 0 0 / 15%)";
239
+ readonly ring: "oklch(0.556 0 0)";
240
+ readonly "chart-1": "oklch(0.488 0.243 264.376)";
241
+ readonly "chart-2": "oklch(0.696 0.17 162.48)";
242
+ readonly "chart-3": "oklch(0.769 0.188 70.08)";
243
+ readonly "chart-4": "oklch(0.627 0.265 303.9)";
244
+ readonly "chart-5": "oklch(0.645 0.246 16.439)";
245
+ readonly sidebar: "oklch(0.205 0 0)";
246
+ readonly "sidebar-foreground": "oklch(0.985 0 0)";
247
+ readonly "sidebar-primary": "oklch(0.488 0.243 264.376)";
248
+ readonly "sidebar-primary-foreground": "oklch(0.985 0 0)";
249
+ readonly "sidebar-accent": "oklch(0.269 0 0)";
250
+ readonly "sidebar-accent-foreground": "oklch(0.985 0 0)";
251
+ readonly "sidebar-border": "oklch(1 0 0 / 10%)";
252
+ readonly "sidebar-ring": "oklch(0.556 0 0)";
253
+ };
254
+ readonly android: {
255
+ readonly background: "#0a0a0a";
256
+ readonly foreground: "#fafafa";
257
+ readonly card: "#171717";
258
+ readonly "card-foreground": "#fafafa";
259
+ readonly popover: "#171717";
260
+ readonly "popover-foreground": "#fafafa";
261
+ readonly primary: "#e5e5e5";
262
+ readonly "primary-foreground": "#171717";
263
+ readonly secondary: "#262626";
264
+ readonly "secondary-foreground": "#fafafa";
265
+ readonly muted: "#262626";
266
+ readonly "muted-foreground": "#a1a1a1";
267
+ readonly accent: "#262626";
268
+ readonly "accent-foreground": "#fafafa";
269
+ readonly destructive: "#ff6467";
270
+ readonly border: "rgba(255, 255, 255, 0.1)";
271
+ readonly input: "rgba(255, 255, 255, 0.15)";
272
+ readonly ring: "#737373";
273
+ readonly "chart-1": "#1447e6";
274
+ readonly "chart-2": "#00bc7d";
275
+ readonly "chart-3": "#fe9a00";
276
+ readonly "chart-4": "#ad46ff";
277
+ readonly "chart-5": "#ff2056";
278
+ readonly sidebar: "#171717";
279
+ readonly "sidebar-foreground": "#fafafa";
280
+ readonly "sidebar-primary": "#1447e6";
281
+ readonly "sidebar-primary-foreground": "#fafafa";
282
+ readonly "sidebar-accent": "#262626";
283
+ readonly "sidebar-accent-foreground": "#fafafa";
284
+ readonly "sidebar-border": "rgba(255, 255, 255, 0.1)";
285
+ readonly "sidebar-ring": "#737373";
286
+ };
287
+ readonly iosDisplayP3: {
288
+ readonly background: "#0a0a0a";
289
+ readonly foreground: "#fafafa";
290
+ readonly card: "#171717";
291
+ readonly "card-foreground": "#fafafa";
292
+ readonly popover: "#171717";
293
+ readonly "popover-foreground": "#fafafa";
294
+ readonly primary: "#e5e5e5";
295
+ readonly "primary-foreground": "#171717";
296
+ readonly secondary: "#262626";
297
+ readonly "secondary-foreground": "#fafafa";
298
+ readonly muted: "#262626";
299
+ readonly "muted-foreground": "#a1a1a1";
300
+ readonly accent: "#262626";
301
+ readonly "accent-foreground": "#fafafa";
302
+ readonly destructive: "#ee6e6c";
303
+ readonly border: "rgba(255, 255, 255, 0.1)";
304
+ readonly input: "rgba(255, 255, 255, 0.15)";
305
+ readonly ring: "#737373";
306
+ readonly "chart-1": "#2346dd";
307
+ readonly "chart-2": "#44b982";
308
+ readonly "chart-3": "#f09e0f";
309
+ readonly "chart-4": "#a14dfd";
310
+ readonly "chart-5": "#eb3d5b";
311
+ readonly sidebar: "#171717";
312
+ readonly "sidebar-foreground": "#fafafa";
313
+ readonly "sidebar-primary": "#2346dd";
314
+ readonly "sidebar-primary-foreground": "#fafafa";
315
+ readonly "sidebar-accent": "#262626";
316
+ readonly "sidebar-accent-foreground": "#fafafa";
317
+ readonly "sidebar-border": "rgba(255, 255, 255, 0.1)";
318
+ readonly "sidebar-ring": "#737373";
319
+ };
320
+ };
321
+ export declare const nativeColors: {
322
+ readonly android: {
323
+ readonly background: "#0a0a0a";
324
+ readonly surface: "#171717";
325
+ readonly nested: "#262626";
326
+ readonly text: "#fafafa";
327
+ readonly muted: "#a1a1a1";
328
+ readonly faint: "#858585";
329
+ readonly border: "#3a3a3a";
330
+ readonly action: "#00ff3f";
331
+ readonly onAction: "#0a0a0a";
332
+ readonly focus: "#00ff3f";
333
+ readonly buy: "#00ff3f";
334
+ readonly sell: "#ff479c";
335
+ readonly positive: "#00ff3f";
336
+ readonly negative: "#ff479c";
337
+ readonly warning: "#fffb38";
338
+ readonly info: "#35b5ff";
339
+ };
340
+ readonly ios: {
341
+ readonly background: "#0a0a0a";
342
+ readonly surface: "#171717";
343
+ readonly nested: "#262626";
344
+ readonly text: "#fafafa";
345
+ readonly muted: "#a1a1a1";
346
+ readonly faint: "#858585";
347
+ readonly border: "#3a3a3a";
348
+ readonly action: "#00ff3f";
349
+ readonly onAction: "#0a0a0a";
350
+ readonly focus: "#00ff3f";
351
+ readonly buy: "#00ff3f";
352
+ readonly sell: "#ff479c";
353
+ readonly positive: "#00ff3f";
354
+ readonly negative: "#ff479c";
355
+ readonly warning: "#fffb38";
356
+ readonly info: "#35b5ff";
357
+ };
358
+ readonly iosDisplayP3: {
359
+ readonly background: "#0a0a0a";
360
+ readonly surface: "#171717";
361
+ readonly nested: "#262626";
362
+ readonly text: "#fafafa";
363
+ readonly muted: "#a1a1a1";
364
+ readonly faint: "#858585";
365
+ readonly border: "#3a3a3a";
366
+ readonly action: "#00ff3d";
367
+ readonly onAction: "#0a0a0a";
368
+ readonly focus: "#00ff3d";
369
+ readonly buy: "#00ff3d";
370
+ readonly sell: "#ff3d9e";
371
+ readonly positive: "#00ff3d";
372
+ readonly negative: "#ff3d9e";
373
+ readonly warning: "#fffa2e";
374
+ readonly info: "#2eb8ff";
375
+ };
376
+ readonly iosP3: {
377
+ readonly background: {
378
+ readonly space: "display-p3";
379
+ readonly components: readonly [0.04, 0.04, 0.04];
380
+ readonly alpha: 1;
381
+ };
382
+ readonly action: {
383
+ readonly space: "display-p3";
384
+ readonly components: readonly [0, 1, 0.24];
385
+ readonly alpha: 1;
386
+ };
387
+ readonly onAction: {
388
+ readonly space: "display-p3";
389
+ readonly components: readonly [0.04, 0.04, 0.04];
390
+ readonly alpha: 1;
391
+ };
392
+ readonly focus: {
393
+ readonly space: "display-p3";
394
+ readonly components: readonly [0, 1, 0.24];
395
+ readonly alpha: 1;
396
+ };
397
+ readonly buy: {
398
+ readonly space: "display-p3";
399
+ readonly components: readonly [0, 1, 0.24];
400
+ readonly alpha: 1;
401
+ };
402
+ readonly sell: {
403
+ readonly space: "display-p3";
404
+ readonly components: readonly [1, 0.24, 0.62];
405
+ readonly alpha: 1;
406
+ };
407
+ readonly positive: {
408
+ readonly space: "display-p3";
409
+ readonly components: readonly [0, 1, 0.24];
410
+ readonly alpha: 1;
411
+ };
412
+ readonly negative: {
413
+ readonly space: "display-p3";
414
+ readonly components: readonly [1, 0.24, 0.62];
415
+ readonly alpha: 1;
416
+ };
417
+ readonly warning: {
418
+ readonly space: "display-p3";
419
+ readonly components: readonly [1, 0.98, 0.18];
420
+ readonly alpha: 1;
421
+ };
422
+ readonly info: {
423
+ readonly space: "display-p3";
424
+ readonly components: readonly [0.18, 0.72, 1];
425
+ readonly alpha: 1;
426
+ };
427
+ };
428
+ };
429
+ export declare function withAlpha(hex: string, alpha: number): string;