@stokr/components-library 4.2.6 → 5.0.1

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 (274) hide show
  1. package/README.md +147 -118
  2. package/dist/components/AddressItem/AddressItem.styles.js +12 -14
  3. package/dist/components/AdminDashboard/Table/Table.styles.d.ts +110 -0
  4. package/dist/components/AdminDashboard/Table/Table.styles.js +21 -20
  5. package/dist/components/AgreementItem/AgreementItem.styles.js +1 -1
  6. package/dist/components/BackButton/BackButton.styles.d.ts +24 -0
  7. package/dist/components/BackButton/BackButton.styles.js +15 -16
  8. package/dist/components/Background/Background.styles.d.ts +30 -0
  9. package/dist/components/Background/Background.styles.js +3 -3
  10. package/dist/components/BasicTable/BasicTable.d.ts +14 -0
  11. package/dist/components/BasicTable/BasicTable.js +0 -10
  12. package/dist/components/BasicTable/BasicTable.styles.d.ts +22 -0
  13. package/dist/components/BasicTable/BasicTable.styles.js +6 -7
  14. package/dist/components/BlogPost/BlogPost.js +3 -3
  15. package/dist/components/BlogPost/BlogPost.styles.d.ts +67 -0
  16. package/dist/components/BlogPost/BlogPost.styles.js +14 -20
  17. package/dist/components/Button/Button.styles.d.ts +12 -8
  18. package/dist/components/Button/Button.styles.js +131 -115
  19. package/dist/components/Button/GlareButton.d.ts +31 -0
  20. package/dist/components/Button/GlareButton.js +4 -22
  21. package/dist/components/Card/Card.styles.d.ts +30 -0
  22. package/dist/components/Card/Card.styles.js +3 -4
  23. package/dist/components/CardTabs/CardTabs.styles.js +26 -29
  24. package/dist/components/ChartLegend/ChartLegend.styles.d.ts +46 -0
  25. package/dist/components/ChartLegend/ChartLegend.styles.js +4 -5
  26. package/dist/components/Checkbox/Checkbox.styles.js +10 -12
  27. package/dist/components/Checklist/ChecklistCard.d.ts +18 -0
  28. package/dist/components/Checklist/ChecklistCard.js +4 -17
  29. package/dist/components/Checklist/ChecklistCard.styles.d.ts +17 -0
  30. package/dist/components/Checklist/ChecklistCard.styles.js +7 -7
  31. package/dist/components/Chips/Chip.d.ts +18 -0
  32. package/dist/components/Chips/Chip.js +4 -20
  33. package/dist/components/Chips/Chip.styles.d.ts +23 -0
  34. package/dist/components/Chips/Chip.styles.js +3 -6
  35. package/dist/components/Chips/ChipWrapper.js +2 -2
  36. package/dist/components/Collapsible/Collapsible.styles.js +20 -20
  37. package/dist/components/ComponentScroll/ComponentScroll.js +2 -1
  38. package/dist/components/ComponentScroll/ComponentScroll.styles.d.ts +34 -0
  39. package/dist/components/ComponentScroll/ComponentScroll.styles.js +15 -12
  40. package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +11 -13
  41. package/dist/components/ConfirmModal/ConfirmModal.styles.d.ts +18 -0
  42. package/dist/components/ConfirmModal/ConfirmModal.styles.js +6 -7
  43. package/dist/components/Country/CountrySelect.js +6 -6
  44. package/dist/components/CryptoAddress/ComponentWrap.d.ts +9 -0
  45. package/dist/components/CryptoAddress/ComponentWrap.js +7 -10
  46. package/dist/components/CryptoAddress/CryptoAddress.d.ts +45 -0
  47. package/dist/components/CryptoAddress/CryptoAddress.js +9 -41
  48. package/dist/components/CryptoAddress/CryptoAddress.styles.d.ts +85 -0
  49. package/dist/components/CryptoAddress/CryptoAddress.styles.js +21 -22
  50. package/dist/components/CryptoAddress/RadioWrap.d.ts +21 -0
  51. package/dist/components/CryptoAddress/RadioWrap.js +1 -16
  52. package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.d.ts +30 -0
  53. package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +19 -11
  54. package/dist/components/DisplayOnBreakpoint/DisplayOnBreakpoint.d.ts +12 -0
  55. package/dist/components/DisplayOnBreakpoint/DisplayOnBreakpoint.js +28 -0
  56. package/dist/components/FAQ/FAQ.styles.d.ts +2 -1
  57. package/dist/components/FAQ/FAQ.styles.js +15 -19
  58. package/dist/components/Form/Form.styles.d.ts +22 -0
  59. package/dist/components/Form/Form.styles.js +7 -8
  60. package/dist/components/Grid/Grid.styles.d.ts +49 -0
  61. package/dist/components/Grid/Grid.styles.js +37 -40
  62. package/dist/components/IdentityInfo/IdentityInfo.styles.d.ts +24 -0
  63. package/dist/components/IdentityInfo/IdentityInfo.styles.js +5 -6
  64. package/dist/components/InfoBox/InfoBox.d.ts +22 -0
  65. package/dist/components/InfoBox/InfoBox.js +26 -65
  66. package/dist/components/InfoIcon/InfoIcon.styles.js +2 -3
  67. package/dist/components/Input/DatePickerInput.d.ts +24 -0
  68. package/dist/components/Input/DatePickerInput.js +2 -13
  69. package/dist/components/Input/DatePickerInput.styles.d.ts +18 -0
  70. package/dist/components/Input/DatePickerInput.styles.js +27 -24
  71. package/dist/components/Input/Input.js +1 -0
  72. package/dist/components/Input/Input.styles.d.ts +1 -0
  73. package/dist/components/Input/Input.styles.js +27 -24
  74. package/dist/components/Input/InputPassword.styles.d.ts +32 -0
  75. package/dist/components/Input/InputPassword.styles.js +11 -12
  76. package/dist/components/Input/InputWithButton.styles.d.ts +14 -0
  77. package/dist/components/Input/InputWithButton.styles.js +5 -6
  78. package/dist/components/Input/MultiSelect.d.ts +60 -0
  79. package/dist/components/Input/MultiSelect.js +20 -52
  80. package/dist/components/Input/OtpInput.d.ts +17 -0
  81. package/dist/components/Input/OtpInput.js +8 -15
  82. package/dist/components/Input/RangeInput.d.ts +14 -0
  83. package/dist/components/Input/RangeInput.js +2 -17
  84. package/dist/components/Input/SearchInput.styles.d.ts +15 -0
  85. package/dist/components/Input/SearchInput.styles.js +10 -11
  86. package/dist/components/Input/Select.js +91 -25
  87. package/dist/components/Input/Select.styles.d.ts +2 -2
  88. package/dist/components/Input/Select.styles.js +24 -26
  89. package/dist/components/Input/TableFilterDropdown.d.ts +33 -0
  90. package/dist/components/Input/TableFilterDropdown.js +6 -39
  91. package/dist/components/Input/Textarea.styles.d.ts +9 -0
  92. package/dist/components/Input/Textarea.styles.js +9 -10
  93. package/dist/components/MaterialIcon/MaterialIcon.d.ts +17 -7
  94. package/dist/components/MaterialIcon/MaterialIcon.js +14 -3
  95. package/dist/components/MenuNav/MenuNav.styles.d.ts +6 -0
  96. package/dist/components/MenuNav/MenuNav.styles.js +3 -0
  97. package/dist/components/Modal/Modal.styles.js +35 -36
  98. package/dist/components/Modal/PaymentModal.d.ts +55 -0
  99. package/dist/components/Modal/PaymentModal.js +11 -13
  100. package/dist/components/Modal/SideModal.styles.js +13 -14
  101. package/dist/components/Modal/SideModalParts.js +18 -20
  102. package/dist/components/Modal/SuccessModal/SuccessModal.styles.d.ts +15 -0
  103. package/dist/components/Modal/SuccessModal/SuccessModal.styles.js +3 -4
  104. package/dist/components/NotificationCounter/NotificationCounter.styles.d.ts +8 -0
  105. package/dist/components/NotificationCounter/NotificationCounter.styles.js +2 -3
  106. package/dist/components/Number/Number.js +1 -1
  107. package/dist/components/Number/Number.styles.d.ts +4 -0
  108. package/dist/components/Number/Number.styles.js +2 -3
  109. package/dist/components/Pagination/Pagination.styles.d.ts +15 -0
  110. package/dist/components/Pagination/Pagination.styles.js +12 -11
  111. package/dist/components/PanelCard/PanelCard.styles.js +24 -27
  112. package/dist/components/Payment/DetailRows.d.ts +14 -0
  113. package/dist/components/Payment/DetailRows.js +1 -2
  114. package/dist/components/Payment/DetailsToggle.d.ts +23 -0
  115. package/dist/components/Payment/DetailsToggle.js +12 -4
  116. package/dist/components/Payment/PaymentDetailsCard.d.ts +95 -0
  117. package/dist/components/Payment/PaymentDetailsCard.js +32 -23
  118. package/dist/components/Payment/PaymentDisplay.d.ts +59 -0
  119. package/dist/components/Payment/PaymentDisplay.js +18 -11
  120. package/dist/components/Payment/PaymentPendingCard.d.ts +39 -0
  121. package/dist/components/Payment/PaymentPendingCard.js +13 -13
  122. package/dist/components/Payment/PaymentSuccessCard.d.ts +41 -0
  123. package/dist/components/Payment/PaymentSuccessCard.js +27 -11
  124. package/dist/components/Payment/TimerComponent.d.ts +26 -0
  125. package/dist/components/Payment/TimerComponent.js +6 -7
  126. package/dist/components/Process/Process.styles.d.ts +11 -0
  127. package/dist/components/Process/Process.styles.js +22 -19
  128. package/dist/components/ProfileBadge/ProfileBadge.d.ts +13 -0
  129. package/dist/components/ProfileBadge/ProfileBadge.js +14 -15
  130. package/dist/components/ProfileBadge/ProfileBadge.styles.d.ts +10 -0
  131. package/dist/components/ProfileBadge/ProfileBadge.styles.js +8 -9
  132. package/dist/components/ProfileBox/ProfileBox.js +3 -3
  133. package/dist/components/ProfileBox/ProfileBox.styles.d.ts +22 -0
  134. package/dist/components/ProfileBox/ProfileBox.styles.js +18 -7
  135. package/dist/components/Radio/Radio.styles.d.ts +24 -0
  136. package/dist/components/Radio/Radio.styles.js +19 -11
  137. package/dist/components/RefreshButton/RefreshButton.styles.d.ts +29 -0
  138. package/dist/components/RefreshButton/RefreshButton.styles.js +5 -6
  139. package/dist/components/RequestDataBox/RequestDataBox.styles.d.ts +9 -0
  140. package/dist/components/RequestDataBox/RequestDataBox.styles.js +4 -5
  141. package/dist/components/Section/Section.d.ts +1 -1
  142. package/dist/components/Section/Section.js +4 -3
  143. package/dist/components/Section/Section.styles.d.ts +5 -0
  144. package/dist/components/Section/Section.styles.js +31 -36
  145. package/dist/components/SectionTitle/SectionTitle.styles.js +1 -1
  146. package/dist/components/Skeleton/Skeleton.d.ts +4 -2
  147. package/dist/components/Skeleton/Skeleton.js +8 -8
  148. package/dist/components/SmartLink/SmartLink.js +2 -2
  149. package/dist/components/Snackbar/Snackbar.styles.d.ts +28 -0
  150. package/dist/components/Snackbar/Snackbar.styles.js +10 -29
  151. package/dist/components/SpanButton/SpanButton.styles.js +2 -2
  152. package/dist/components/StatusDot/StatusDot.d.ts +29 -0
  153. package/dist/components/StatusDot/StatusDot.js +17 -23
  154. package/dist/components/StatusDot/StatusDot.styles.d.ts +20 -0
  155. package/dist/components/StatusTag/StatusTag.d.ts +35 -0
  156. package/dist/components/StatusTag/StatusTag.js +9 -38
  157. package/dist/components/StatusTag/StatusTag.styles.d.ts +28 -0
  158. package/dist/components/StatusTag/StatusTag.styles.js +6 -6
  159. package/dist/components/StepController/StepController.styles.d.ts +23 -0
  160. package/dist/components/StepController/StepController.styles.js +12 -14
  161. package/dist/components/StepSidebar/MobileStepProgress.styles.js +4 -5
  162. package/dist/components/StepSidebar/StepProgress.styles.js +29 -26
  163. package/dist/components/StepSidebar/StepSidebar.js +1 -1
  164. package/dist/components/StepSidebar/StepSidebar.styles.d.ts +1 -0
  165. package/dist/components/StepSidebar/StepSidebar.styles.js +30 -31
  166. package/dist/components/StokrLoader/StokrLoader.d.ts +25 -3
  167. package/dist/components/StokrLoader/StokrLoader.js +171 -26
  168. package/dist/components/SvgIcons/AdminBadgeSvg.js +1 -0
  169. package/dist/components/SvgIcons/CapsLockSvg.js +1 -0
  170. package/dist/components/SvgIcons/LogoSvg.js +1 -11
  171. package/dist/components/SvgIcons/RefreshSvg.js +1 -0
  172. package/dist/components/SvgIcons/VerifiedBadge.js +2 -4
  173. package/dist/components/Switch/Switch.styles.d.ts +20 -0
  174. package/dist/components/Switch/Switch.styles.js +10 -11
  175. package/dist/components/Tabs/Tabs.js +2 -2
  176. package/dist/components/TabsNav/TabsNav.styles.d.ts +25 -0
  177. package/dist/components/TabsNav/TabsNav.styles.js +8 -9
  178. package/dist/components/TaxResidenceCard/TaxResidenceCard.js +1 -2
  179. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.d.ts +74 -0
  180. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +31 -35
  181. package/dist/components/Text/Text.styles.d.ts +17 -1
  182. package/dist/components/Text/Text.styles.js +50 -25
  183. package/dist/components/TextLink/TextLink.styles.d.ts +16 -0
  184. package/dist/components/TextLink/TextLink.styles.js +4 -4
  185. package/dist/components/Timeline/Timeline.styles.d.ts +41 -0
  186. package/dist/components/Timeline/Timeline.styles.js +14 -15
  187. package/dist/components/Timeline/TimelineStep.js +1 -1
  188. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  189. package/dist/components/Tooltip/Tooltip.js +2 -2
  190. package/dist/components/Tooltip/Tooltip.styles.js +2 -3
  191. package/dist/components/breakdown/Breakdown.d.ts +18 -0
  192. package/dist/components/breakdown/Breakdown.js +7 -7
  193. package/dist/components/logo/Logo.js +1 -1
  194. package/dist/design-system/css/base.css +74 -0
  195. package/dist/design-system/css/index.css +5 -0
  196. package/dist/design-system/fonts/Inter-LICENSE.txt +93 -0
  197. package/dist/design-system/fonts/inter-bitcoin-sign.woff2 +0 -0
  198. package/dist/design-system/fonts/inter-latin-ext.woff2 +0 -0
  199. package/dist/design-system/fonts/inter-latin.woff2 +0 -0
  200. package/dist/design-system/fonts/open-sans-latin-ext-italic.woff2 +0 -0
  201. package/dist/design-system/fonts/open-sans-latin-ext.woff2 +0 -0
  202. package/dist/design-system/fonts/open-sans-latin-italic.woff2 +0 -0
  203. package/dist/design-system/fonts/open-sans-latin.woff2 +0 -0
  204. package/dist/design-system/generated/fonts.css +296 -0
  205. package/dist/design-system/generated/text-classes.css +198 -0
  206. package/dist/design-system/generated/text-styles.d.ts +26 -0
  207. package/dist/design-system/generated/text-styles.js +179 -0
  208. package/dist/design-system/generated/tokens.css +429 -0
  209. package/dist/design-system/index.d.ts +9 -0
  210. package/dist/design-system/stories/foundations.d.ts +31 -0
  211. package/dist/design-system/stories/foundationsData.d.ts +18 -0
  212. package/dist/design-system/styled/breakpoint.d.ts +43 -0
  213. package/dist/design-system/styled/breakpoint.js +27 -0
  214. package/dist/design-system/styled/build-theme.d.ts +21 -0
  215. package/dist/design-system/styled/build-theme.js +27 -0
  216. package/dist/design-system/styled/text.d.ts +3 -0
  217. package/dist/design-system/styled/text.js +5 -0
  218. package/dist/design-system/styled/theme.d.ts +6 -0
  219. package/dist/design-system/tokens/breakpoints.d.ts +17 -0
  220. package/dist/design-system/tokens/breakpoints.js +16 -0
  221. package/dist/design-system/tokens/colors.d.ts +92 -0
  222. package/dist/design-system/tokens/colors.js +98 -0
  223. package/dist/design-system/tokens/fonts.d.ts +32 -0
  224. package/dist/design-system/tokens/fonts.js +49 -0
  225. package/dist/design-system/tokens/index.d.ts +6 -0
  226. package/dist/design-system/tokens/layout.d.ts +71 -0
  227. package/dist/design-system/tokens/layout.js +40 -0
  228. package/dist/design-system/tokens/semantic.d.ts +272 -0
  229. package/dist/design-system/tokens/semantic.js +76 -0
  230. package/dist/design-system/tokens/typography.d.ts +38 -0
  231. package/dist/design-system/tokens/typography.js +120 -0
  232. package/dist/hooks/useMediaQuery.d.ts +1 -1
  233. package/dist/index.d.ts +115 -53
  234. package/dist/index.js +48 -43
  235. package/dist/static/images/numbers/number_eight.svg +1 -1
  236. package/dist/static/images/numbers/number_eight.svg.js +1 -1
  237. package/dist/static/images/numbers/number_five.svg +2 -2
  238. package/dist/static/images/numbers/number_five.svg.js +1 -1
  239. package/dist/static/images/numbers/number_four.svg +1 -1
  240. package/dist/static/images/numbers/number_four.svg.js +1 -1
  241. package/dist/static/images/numbers/number_nine.svg +2 -2
  242. package/dist/static/images/numbers/number_nine.svg.js +1 -1
  243. package/dist/static/images/numbers/number_one.svg +2 -2
  244. package/dist/static/images/numbers/number_one.svg.js +1 -1
  245. package/dist/static/images/numbers/number_seven.svg +2 -2
  246. package/dist/static/images/numbers/number_seven.svg.js +1 -1
  247. package/dist/static/images/numbers/number_six.svg +2 -2
  248. package/dist/static/images/numbers/number_six.svg.js +1 -1
  249. package/dist/static/images/numbers/number_three.svg +1 -1
  250. package/dist/static/images/numbers/number_three.svg.js +1 -1
  251. package/dist/static/images/numbers/number_two.svg +2 -2
  252. package/dist/static/images/numbers/number_two.svg.js +1 -1
  253. package/dist/static/images/numbers/number_zero.svg +1 -1
  254. package/dist/static/images/numbers/number_zero.svg.js +1 -1
  255. package/dist/styles/borderedField.d.ts +1 -1
  256. package/dist/styles/borderedField.js +15 -18
  257. package/dist/utils/customHooks.d.ts +4 -4
  258. package/dist/utils/customHooks.js +6 -6
  259. package/package.json +16 -11
  260. package/dist/static/images/address-refreshing.gif.js +0 -4
  261. package/dist/static/images/process-waiting.gif.js +0 -4
  262. package/dist/styles/colors.d.ts +0 -68
  263. package/dist/styles/colors.js +0 -69
  264. package/dist/styles/elevation.d.ts +0 -13
  265. package/dist/styles/elevation.js +0 -15
  266. package/dist/styles/global.js +0 -63
  267. package/dist/styles/rwd.d.ts +0 -55
  268. package/dist/styles/rwd.js +0 -79
  269. package/dist/styles/spacing.d.ts +0 -36
  270. package/dist/styles/spacing.js +0 -38
  271. package/dist/styles/theme.d.ts +0 -92
  272. package/dist/styles/theme.js +0 -36
  273. package/dist/styles/typography.d.ts +0 -42
  274. package/dist/styles/typography.js +0 -56
@@ -0,0 +1,92 @@
1
+ /**
2
+ * The colours of the STOKR UI kit (the kit calls them primitives; the library exports them as `colors`) (artifact snapshot: source/artifact-tokens.json).
3
+ * Keys are the kit's own names; CSS variables are --stokr-<key> for brand and --stokr-color-<key> for the rest.
4
+ * Never reference these in components: use the semantic tokens (semantic.ts) or the theme.
5
+ */
6
+ export declare const colors: {
7
+ readonly 'brand-future-black': "#0A0A0A";
8
+ readonly 'brand-carbon-black': "#202020";
9
+ readonly 'brand-pure-white': "#FFFFFF";
10
+ readonly 'brand-venture-green': "#84FB6F";
11
+ readonly 'brand-future-blue': "#0050CA";
12
+ readonly 'brand-flame-red': "#EE220D";
13
+ readonly 'neutral-50': "#F8F8F8";
14
+ readonly 'neutral-100': "#F0F0F0";
15
+ readonly 'neutral-200': "#E1E1E1";
16
+ readonly 'neutral-300': "#CFCFCF";
17
+ readonly 'neutral-400': "#B3B3B3";
18
+ readonly 'neutral-500': "#9B9B9B";
19
+ readonly 'neutral-600': "#7A7A7A";
20
+ readonly 'neutral-700': "#5E5E5E";
21
+ readonly 'neutral-800': "#3F3F3F";
22
+ readonly 'neutral-900': "#202020";
23
+ readonly 'custom-01': "#ACACAC";
24
+ readonly 'custom-02': "#8A8A8A";
25
+ readonly 'custom-03': "#444444";
26
+ readonly 'custom-04': "#333333";
27
+ readonly 'custom-05': "#303030";
28
+ readonly 'custom-06': "#2C2C2C";
29
+ readonly 'custom-07': "#242424";
30
+ readonly 'custom-08': "#1A1A1A";
31
+ readonly 'custom-09': "#161616";
32
+ readonly 'custom-10': "#0E0E0E";
33
+ readonly 'red-50': "#FDE8E8";
34
+ readonly 'red-100': "#FBD2D1";
35
+ readonly 'red-200': "#F8A7A4";
36
+ readonly 'red-300': "#F57C76";
37
+ readonly 'red-400': "#F24F45";
38
+ readonly 'red-500': "#EE220D";
39
+ readonly 'red-600': "#BE1B09";
40
+ readonly 'red-700': "#8E150A";
41
+ readonly 'red-800': "#5E0F08";
42
+ readonly 'red-900': "#300606";
43
+ readonly 'blue-50': "#E7EEFA";
44
+ readonly 'blue-100': "#CEDDF5";
45
+ readonly 'blue-200': "#9CB9EB";
46
+ readonly 'blue-300': "#6A97E0";
47
+ readonly 'blue-400': "#3873D5";
48
+ readonly 'blue-500': "#0050CA";
49
+ readonly 'blue-600': "#0240A2";
50
+ readonly 'blue-700': "#032F78";
51
+ readonly 'blue-800': "#021F51";
52
+ readonly 'blue-900': "#021128";
53
+ readonly 'green-50': "#F3FFF1";
54
+ readonly 'green-100': "#E6FEE2";
55
+ readonly 'green-200': "#CEFEC6";
56
+ readonly 'green-300': "#B5FCA9";
57
+ readonly 'green-400': "#9BFC8C";
58
+ readonly 'green-500': "#84FB6F";
59
+ readonly 'green-600': "#69C858";
60
+ readonly 'green-700': "#4D9741";
61
+ readonly 'green-800': "#34652C";
62
+ readonly 'green-900': "#1A3315";
63
+ readonly 'yellow-50': "#FFFEDF";
64
+ readonly 'yellow-100': "#FEFAC0";
65
+ readonly 'yellow-200': "#FCF48E";
66
+ readonly 'yellow-300': "#FBEE5E";
67
+ readonly 'yellow-400': "#F9EA3A";
68
+ readonly 'yellow-500': "#F8E71C";
69
+ readonly 'yellow-600': "#FACC33";
70
+ readonly 'yellow-700': "#C99A12";
71
+ readonly 'yellow-800': "#8A6A0C";
72
+ readonly 'yellow-900': "#4A3906";
73
+ readonly 'orange-50': "#FFF6EB";
74
+ readonly 'orange-100': "#FFE9CC";
75
+ readonly 'orange-200': "#FDD199";
76
+ readonly 'orange-300': "#F9B65C";
77
+ readonly 'orange-400': "#F29C2E";
78
+ readonly 'orange-500': "#EB8003";
79
+ readonly 'orange-600': "#BC6602";
80
+ readonly 'orange-700': "#8D4D02";
81
+ readonly 'orange-800': "#5E3301";
82
+ readonly 'orange-900': "#2F1A01";
83
+ readonly 'progress-green-start': "#69BD53";
84
+ readonly 'progress-green-stop': "#A9EF9C";
85
+ readonly 'progress-red-start': "#EE220D";
86
+ readonly 'progress-red-stop': "#F57C76";
87
+ readonly 'progress-blue-start': "#0240A2";
88
+ readonly 'progress-blue-stop': "#66A3FE";
89
+ };
90
+ export type ColorName = keyof typeof colors;
91
+ /** CSS custom property that holds a colour. */
92
+ export declare const colorVar: (name: ColorName) => string;
@@ -0,0 +1,98 @@
1
+ const colors = {
2
+ /* brand */
3
+ "brand-future-black": "#0A0A0A",
4
+ "brand-carbon-black": "#202020",
5
+ "brand-pure-white": "#FFFFFF",
6
+ "brand-venture-green": "#84FB6F",
7
+ "brand-future-blue": "#0050CA",
8
+ "brand-flame-red": "#EE220D",
9
+ /* neutral */
10
+ "neutral-50": "#F8F8F8",
11
+ "neutral-100": "#F0F0F0",
12
+ "neutral-200": "#E1E1E1",
13
+ "neutral-300": "#CFCFCF",
14
+ "neutral-400": "#B3B3B3",
15
+ "neutral-500": "#9B9B9B",
16
+ "neutral-600": "#7A7A7A",
17
+ "neutral-700": "#5E5E5E",
18
+ "neutral-800": "#3F3F3F",
19
+ "neutral-900": "#202020",
20
+ /* custom */
21
+ "custom-01": "#ACACAC",
22
+ "custom-02": "#8A8A8A",
23
+ "custom-03": "#444444",
24
+ "custom-04": "#333333",
25
+ "custom-05": "#303030",
26
+ "custom-06": "#2C2C2C",
27
+ "custom-07": "#242424",
28
+ "custom-08": "#1A1A1A",
29
+ "custom-09": "#161616",
30
+ "custom-10": "#0E0E0E",
31
+ /* red */
32
+ "red-50": "#FDE8E8",
33
+ "red-100": "#FBD2D1",
34
+ "red-200": "#F8A7A4",
35
+ "red-300": "#F57C76",
36
+ "red-400": "#F24F45",
37
+ "red-500": "#EE220D",
38
+ "red-600": "#BE1B09",
39
+ "red-700": "#8E150A",
40
+ "red-800": "#5E0F08",
41
+ "red-900": "#300606",
42
+ /* blue */
43
+ "blue-50": "#E7EEFA",
44
+ "blue-100": "#CEDDF5",
45
+ "blue-200": "#9CB9EB",
46
+ "blue-300": "#6A97E0",
47
+ "blue-400": "#3873D5",
48
+ "blue-500": "#0050CA",
49
+ "blue-600": "#0240A2",
50
+ "blue-700": "#032F78",
51
+ "blue-800": "#021F51",
52
+ "blue-900": "#021128",
53
+ /* green */
54
+ "green-50": "#F3FFF1",
55
+ "green-100": "#E6FEE2",
56
+ "green-200": "#CEFEC6",
57
+ "green-300": "#B5FCA9",
58
+ "green-400": "#9BFC8C",
59
+ "green-500": "#84FB6F",
60
+ "green-600": "#69C858",
61
+ "green-700": "#4D9741",
62
+ "green-800": "#34652C",
63
+ "green-900": "#1A3315",
64
+ /* yellow */
65
+ "yellow-50": "#FFFEDF",
66
+ "yellow-100": "#FEFAC0",
67
+ "yellow-200": "#FCF48E",
68
+ "yellow-300": "#FBEE5E",
69
+ "yellow-400": "#F9EA3A",
70
+ "yellow-500": "#F8E71C",
71
+ "yellow-600": "#FACC33",
72
+ "yellow-700": "#C99A12",
73
+ "yellow-800": "#8A6A0C",
74
+ "yellow-900": "#4A3906",
75
+ /* orange */
76
+ "orange-50": "#FFF6EB",
77
+ "orange-100": "#FFE9CC",
78
+ "orange-200": "#FDD199",
79
+ "orange-300": "#F9B65C",
80
+ "orange-400": "#F29C2E",
81
+ "orange-500": "#EB8003",
82
+ "orange-600": "#BC6602",
83
+ "orange-700": "#8D4D02",
84
+ "orange-800": "#5E3301",
85
+ "orange-900": "#2F1A01",
86
+ /* progress gradients (start → stop) */
87
+ "progress-green-start": "#69BD53",
88
+ "progress-green-stop": "#A9EF9C",
89
+ "progress-red-start": "#EE220D",
90
+ "progress-red-stop": "#F57C76",
91
+ "progress-blue-start": "#0240A2",
92
+ "progress-blue-stop": "#66A3FE"
93
+ };
94
+ const colorVar = (name) => name.startsWith("brand-") ? `--stokr-${name}` : `--stokr-color-${name}`;
95
+ export {
96
+ colorVar,
97
+ colors
98
+ };
@@ -0,0 +1,32 @@
1
+ import { FontFamilyName } from './typography';
2
+ /**
3
+ * Self-hosted font files (woff2) per family and the Unicode subsets they cover. The active family is ACTIVE_FONT in
4
+ * typography.ts: to switch, change the constant (both families' files are in fonts/ and shipped); `npm run gen:tokens`
5
+ * regenerates the @font-face rules and fails with the list of missing files if any are absent.
6
+ */
7
+ export interface FontFile {
8
+ file: string;
9
+ style: 'normal' | 'italic';
10
+ range: string;
11
+ /** The file the page needs for first paint (main latin subset): hosts `<link rel="preload">` it, see `activeFontPreloadFile`. */
12
+ preload?: true;
13
+ }
14
+ export interface FontFaceSet {
15
+ family: string;
16
+ /** Weights the family covers (the kit uses 300–800). */
17
+ weights: readonly number[];
18
+ /**
19
+ * One @font-face per file with `font-weight: <min> <max>`. Without it, one face per weight, all pointing at the same
20
+ * variable file (for a face that must not mix with other single-weight faces of the same family). Files are always
21
+ * variable (wght axis covering 300–800): static per-weight files are not allowed, design-system.test.ts checks it.
22
+ */
23
+ weightRange?: readonly [number, number];
24
+ /** Open Sans ships `font-stretch: 100%`; the others do not. */
25
+ stretch: boolean;
26
+ files: readonly FontFile[];
27
+ }
28
+ /** Weights the site loads (the kit uses 300–800). One face per weight, not a `300 800` range: mixed with the single-weight Bitcoin face a range face lost the match at some weights and text fell back to serif. */
29
+ export declare const loadedWeights: readonly [300, 400, 500, 600, 700, 800];
30
+ export declare const fontFaces: Record<FontFamilyName, readonly FontFaceSet[]>;
31
+ /** File name (in fonts/, shipped under `@stokr/components-library/design-system/fonts/`) of the active family's main latin file: what a host preloads. */
32
+ export declare const activeFontPreloadFile: string;
@@ -0,0 +1,49 @@
1
+ import { ACTIVE_FONT } from "./typography.js";
2
+ const LATIN = "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD";
3
+ const LATIN_EXT = "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF";
4
+ const INTER_LATIN_EXT = LATIN_EXT.replace("U+20AD-20C4", "U+20AD-20C0");
5
+ const loadedWeights = [300, 400, 500, 600, 700, 800];
6
+ const fontFaces = {
7
+ openSans: [
8
+ {
9
+ family: "Open Sans",
10
+ weights: loadedWeights,
11
+ stretch: true,
12
+ files: [
13
+ { file: "open-sans-latin-ext.woff2", style: "normal", range: LATIN_EXT },
14
+ { file: "open-sans-latin.woff2", style: "normal", range: LATIN, preload: true },
15
+ { file: "open-sans-latin-ext-italic.woff2", style: "italic", range: LATIN_EXT },
16
+ { file: "open-sans-latin-italic.woff2", style: "italic", range: LATIN }
17
+ ]
18
+ },
19
+ {
20
+ // Open Sans draws the Bitcoin sign as a serif B: this one character comes from Inter (OFL), declared after Open Sans.
21
+ family: "Open Sans",
22
+ weights: loadedWeights,
23
+ stretch: false,
24
+ files: [{ file: "inter-bitcoin-sign.woff2", style: "normal", range: "U+20BF" }]
25
+ }
26
+ ],
27
+ inter: [
28
+ {
29
+ // Variable font (wght 100–900), @fontsource-variable/inter 5.3.0 (OFL 1.1, fonts/Inter-LICENSE.txt). The latin-ext
30
+ // file includes the Bitcoin sign, so no separate face is needed.
31
+ family: "Inter",
32
+ weights: loadedWeights,
33
+ weightRange: [300, 800],
34
+ stretch: false,
35
+ files: [
36
+ { file: "inter-latin-ext.woff2", style: "normal", range: INTER_LATIN_EXT },
37
+ { file: "inter-latin.woff2", style: "normal", range: LATIN, preload: true }
38
+ ]
39
+ }
40
+ ]
41
+ };
42
+ const preloadFontFile = fontFaces[ACTIVE_FONT].flatMap((set) => set.files).find((f) => f.preload);
43
+ if (!preloadFontFile) throw new Error(`fontFaces.${ACTIVE_FONT} has no file marked preload`);
44
+ const activeFontPreloadFile = preloadFontFile.file;
45
+ export {
46
+ activeFontPreloadFile,
47
+ fontFaces,
48
+ loadedWeights
49
+ };
@@ -0,0 +1,6 @@
1
+ export * from './colors';
2
+ export * from './semantic';
3
+ export * from './typography';
4
+ export * from './layout';
5
+ export * from './fonts';
6
+ export * from './breakpoints';
@@ -0,0 +1,71 @@
1
+ import { ColorName } from './colors';
2
+ /** Spacing scale, 4 px base: space-4 = 16 px. `0-5` is the kit's `space/0-5`. */
3
+ export declare const space: {
4
+ readonly '0': "0px";
5
+ readonly '0-5': "2px";
6
+ readonly '1': "4px";
7
+ readonly '2': "8px";
8
+ readonly '3': "12px";
9
+ readonly '4': "16px";
10
+ readonly '5': "20px";
11
+ readonly '6': "24px";
12
+ readonly '8': "32px";
13
+ readonly '10': "40px";
14
+ readonly '12': "48px";
15
+ readonly '16': "64px";
16
+ readonly '20': "80px";
17
+ readonly '24': "96px";
18
+ readonly '32': "128px";
19
+ };
20
+ export declare const radius: {
21
+ readonly none: "0px";
22
+ readonly xs: "2px";
23
+ readonly sm: "4px";
24
+ readonly md: "6px";
25
+ readonly lg: "8px";
26
+ readonly xl: "12px";
27
+ readonly '2xl': "16px";
28
+ readonly '3xl': "24px";
29
+ readonly full: "9999px";
30
+ };
31
+ /** Shadows are the same in both themes; dark adds a hairline border instead of relying on the shadow. */
32
+ export declare const elevation: {
33
+ readonly xs: "0 1px 2px rgba(0, 0, 0, 0.05)";
34
+ readonly sm: "0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04)";
35
+ readonly md: "0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04)";
36
+ readonly lg: "0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06)";
37
+ readonly xl: "0 16px 32px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08)";
38
+ };
39
+ /** Dark-mode border that accompanies each elevation (light: none). */
40
+ export declare const elevationBorderDark: Record<keyof typeof elevation, ColorName | null>;
41
+ /** Low-opacity fills for chips, segmented controls and hovers: black in light, white in dark. */
42
+ export declare const fills: {
43
+ readonly light: {
44
+ readonly 1: 0.03;
45
+ readonly 2: 0.06;
46
+ readonly 3: 0.1;
47
+ readonly 4: 0.14;
48
+ readonly 5: 0.2;
49
+ };
50
+ readonly dark: {
51
+ readonly 1: 0.02;
52
+ readonly 2: 0.08;
53
+ readonly 3: 0.12;
54
+ readonly 4: 0.16;
55
+ readonly 5: 0.24;
56
+ };
57
+ };
58
+ /** Scrim behind drawers and modals (`background-overlay` is the colour, this is its opacity). */
59
+ export declare const overlayOpacity = 0.48;
60
+ /** Focus ring opacity (3 px ring around `border-focus`). */
61
+ export declare const focusRingOpacity = 0.25;
62
+ /** Motion used by interactive components. */
63
+ export declare const motion: {
64
+ readonly fast: "120ms";
65
+ readonly base: "200ms";
66
+ };
67
+ /** Fixed chrome heights (the old `spacing.headerHeight` / `footerHeight`). */
68
+ export declare const chrome: {
69
+ readonly headerHeight: "96px";
70
+ readonly footerHeight: "70px";
71
+ };
@@ -0,0 +1,40 @@
1
+ const space = {
2
+ "0": "0px",
3
+ "0-5": "2px",
4
+ "1": "4px",
5
+ "2": "8px",
6
+ "3": "12px",
7
+ "4": "16px",
8
+ "5": "20px",
9
+ "6": "24px",
10
+ "8": "32px",
11
+ "10": "40px",
12
+ "12": "48px",
13
+ "16": "64px",
14
+ "20": "80px",
15
+ "24": "96px",
16
+ "32": "128px"
17
+ };
18
+ const radius = {
19
+ none: "0px",
20
+ xs: "2px",
21
+ sm: "4px",
22
+ md: "6px",
23
+ lg: "8px",
24
+ xl: "12px",
25
+ "2xl": "16px",
26
+ "3xl": "24px",
27
+ full: "9999px"
28
+ };
29
+ const elevation = {
30
+ xs: "0 1px 2px rgba(0, 0, 0, 0.05)",
31
+ sm: "0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04)",
32
+ md: "0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04)",
33
+ lg: "0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06)",
34
+ xl: "0 16px 32px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08)"
35
+ };
36
+ export {
37
+ elevation,
38
+ radius,
39
+ space
40
+ };
@@ -0,0 +1,272 @@
1
+ import { ColorName } from './colors';
2
+ /**
3
+ * Semantic colour tokens: what components use. Names mirror the kit's variables (text/primary → text-primary,
4
+ * CSS --stokr-text-primary). Each token points at a colour for the light and the dark theme.
5
+ */
6
+ export interface SemanticPair {
7
+ light: ColorName;
8
+ dark: ColorName;
9
+ }
10
+ export declare const semantic: {
11
+ readonly 'text-primary': {
12
+ readonly light: "neutral-900";
13
+ readonly dark: "brand-pure-white";
14
+ };
15
+ readonly 'text-on-brand': {
16
+ readonly light: "brand-pure-white";
17
+ readonly dark: "brand-pure-white";
18
+ };
19
+ readonly 'text-body': {
20
+ readonly light: "neutral-900";
21
+ readonly dark: "neutral-100";
22
+ };
23
+ readonly 'text-secondary': {
24
+ readonly light: "neutral-700";
25
+ readonly dark: "custom-01";
26
+ };
27
+ readonly 'text-tertiary': {
28
+ readonly light: "neutral-500";
29
+ readonly dark: "neutral-700";
30
+ };
31
+ readonly 'text-link': {
32
+ readonly light: "neutral-900";
33
+ readonly dark: "brand-pure-white";
34
+ };
35
+ readonly 'background-default': {
36
+ readonly light: "brand-pure-white";
37
+ readonly dark: "custom-10";
38
+ };
39
+ readonly 'background-surface': {
40
+ readonly light: "neutral-50";
41
+ readonly dark: "custom-08";
42
+ };
43
+ readonly 'background-surface-raised': {
44
+ readonly light: "brand-pure-white";
45
+ readonly dark: "custom-09";
46
+ };
47
+ readonly 'background-overlay': {
48
+ readonly light: "brand-future-black";
49
+ readonly dark: "brand-future-black";
50
+ };
51
+ readonly 'border-subtle': {
52
+ readonly light: "neutral-200";
53
+ readonly dark: "custom-07";
54
+ };
55
+ readonly 'border-default': {
56
+ readonly light: "neutral-300";
57
+ readonly dark: "custom-05";
58
+ };
59
+ readonly 'border-strong': {
60
+ readonly light: "neutral-900";
61
+ readonly dark: "neutral-100";
62
+ };
63
+ readonly 'border-focus': {
64
+ readonly light: "blue-500";
65
+ readonly dark: "blue-400";
66
+ };
67
+ readonly 'action-accent-bg': {
68
+ readonly light: "blue-500";
69
+ readonly dark: "green-500";
70
+ };
71
+ readonly 'action-accent-bg-hover': {
72
+ readonly light: "blue-600";
73
+ readonly dark: "green-600";
74
+ };
75
+ readonly 'action-accent-text': {
76
+ readonly light: "brand-pure-white";
77
+ readonly dark: "brand-future-black";
78
+ };
79
+ readonly 'action-primary-bg': {
80
+ readonly light: "neutral-900";
81
+ readonly dark: "brand-pure-white";
82
+ };
83
+ readonly 'action-primary-bg-hover': {
84
+ readonly light: "neutral-800";
85
+ readonly dark: "neutral-100";
86
+ };
87
+ readonly 'action-primary-bg-pressed': {
88
+ readonly light: "brand-future-black";
89
+ readonly dark: "neutral-200";
90
+ };
91
+ readonly 'action-primary-text': {
92
+ readonly light: "brand-pure-white";
93
+ readonly dark: "brand-future-black";
94
+ };
95
+ readonly 'action-secondary-bg': {
96
+ readonly light: "neutral-100";
97
+ readonly dark: "neutral-900";
98
+ };
99
+ readonly 'action-secondary-bg-hover': {
100
+ readonly light: "neutral-200";
101
+ readonly dark: "custom-04";
102
+ };
103
+ readonly 'action-secondary-text': {
104
+ readonly light: "neutral-900";
105
+ readonly dark: "brand-pure-white";
106
+ };
107
+ readonly 'action-outline-border': {
108
+ readonly light: "neutral-100";
109
+ readonly dark: "neutral-900";
110
+ };
111
+ readonly 'action-outline-bg-hover': {
112
+ readonly light: "neutral-100";
113
+ readonly dark: "neutral-900";
114
+ };
115
+ readonly 'action-outline-text': {
116
+ readonly light: "neutral-900";
117
+ readonly dark: "brand-pure-white";
118
+ };
119
+ readonly 'action-negative-bg': {
120
+ readonly light: "red-50";
121
+ readonly dark: "red-900";
122
+ };
123
+ readonly 'action-negative-bg-hover': {
124
+ readonly light: "red-100";
125
+ readonly dark: "red-800";
126
+ };
127
+ readonly 'action-negative-text': {
128
+ readonly light: "red-500";
129
+ readonly dark: "red-500";
130
+ };
131
+ readonly 'action-disabled-accent-bg': {
132
+ readonly light: "blue-200";
133
+ readonly dark: "green-800";
134
+ };
135
+ readonly 'action-disabled-accent-text': {
136
+ readonly light: "brand-pure-white";
137
+ readonly dark: "brand-future-black";
138
+ };
139
+ readonly 'action-disabled-primary-bg': {
140
+ readonly light: "neutral-100";
141
+ readonly dark: "custom-04";
142
+ };
143
+ readonly 'action-disabled-primary-text': {
144
+ readonly light: "neutral-500";
145
+ readonly dark: "custom-02";
146
+ };
147
+ readonly 'action-disabled-secondary-bg': {
148
+ readonly light: "neutral-50";
149
+ readonly dark: "custom-09";
150
+ };
151
+ readonly 'action-disabled-secondary-text': {
152
+ readonly light: "neutral-300";
153
+ readonly dark: "custom-03";
154
+ };
155
+ readonly 'action-disabled-outline-border': {
156
+ readonly light: "neutral-50";
157
+ readonly dark: "custom-09";
158
+ };
159
+ readonly 'action-disabled-outline-text': {
160
+ readonly light: "neutral-300";
161
+ readonly dark: "custom-03";
162
+ };
163
+ readonly 'action-disabled-negative-text': {
164
+ readonly light: "red-200";
165
+ readonly dark: "red-700";
166
+ };
167
+ readonly 'status-success-bg': {
168
+ readonly light: "green-200";
169
+ readonly dark: "green-800";
170
+ };
171
+ readonly 'status-success-border': {
172
+ readonly light: "green-600";
173
+ readonly dark: "green-400";
174
+ };
175
+ readonly 'status-success-text': {
176
+ readonly light: "green-700";
177
+ readonly dark: "green-300";
178
+ };
179
+ readonly 'status-success-icon': {
180
+ readonly light: "green-600";
181
+ readonly dark: "green-400";
182
+ };
183
+ readonly 'status-warning-bg': {
184
+ readonly light: "yellow-50";
185
+ readonly dark: "yellow-900";
186
+ };
187
+ readonly 'status-warning-border': {
188
+ readonly light: "yellow-600";
189
+ readonly dark: "yellow-600";
190
+ };
191
+ readonly 'status-warning-text': {
192
+ readonly light: "orange-700";
193
+ readonly dark: "yellow-500";
194
+ };
195
+ readonly 'status-warning-icon': {
196
+ readonly light: "yellow-600";
197
+ readonly dark: "yellow-600";
198
+ };
199
+ readonly 'status-error-bg': {
200
+ readonly light: "red-100";
201
+ readonly dark: "red-900";
202
+ };
203
+ readonly 'status-error-border': {
204
+ readonly light: "red-500";
205
+ readonly dark: "red-500";
206
+ };
207
+ readonly 'status-error-text': {
208
+ readonly light: "red-700";
209
+ readonly dark: "red-300";
210
+ };
211
+ readonly 'status-error-icon': {
212
+ readonly light: "red-500";
213
+ readonly dark: "red-400";
214
+ };
215
+ readonly 'status-info-bg': {
216
+ readonly light: "neutral-100";
217
+ readonly dark: "neutral-900";
218
+ };
219
+ readonly 'status-info-border': {
220
+ readonly light: "neutral-300";
221
+ readonly dark: "neutral-700";
222
+ };
223
+ readonly 'status-info-text': {
224
+ readonly light: "neutral-900";
225
+ readonly dark: "brand-pure-white";
226
+ };
227
+ readonly 'status-info-icon': {
228
+ readonly light: "neutral-700";
229
+ readonly dark: "neutral-500";
230
+ };
231
+ readonly 'tag-pending-bg': {
232
+ readonly light: "yellow-50";
233
+ readonly dark: "yellow-900";
234
+ };
235
+ readonly 'tag-pending-text': {
236
+ readonly light: "orange-700";
237
+ readonly dark: "yellow-500";
238
+ };
239
+ readonly 'tag-initiated-bg': {
240
+ readonly light: "neutral-100";
241
+ readonly dark: "neutral-800";
242
+ };
243
+ readonly 'tag-initiated-text': {
244
+ readonly light: "neutral-900";
245
+ readonly dark: "brand-pure-white";
246
+ };
247
+ readonly 'tag-confirmed-bg': {
248
+ readonly light: "green-200";
249
+ readonly dark: "green-800";
250
+ };
251
+ readonly 'tag-confirmed-text': {
252
+ readonly light: "neutral-900";
253
+ readonly dark: "green-300";
254
+ };
255
+ readonly 'tag-declined-bg': {
256
+ readonly light: "red-100";
257
+ readonly dark: "red-900";
258
+ };
259
+ readonly 'tag-declined-text': {
260
+ readonly light: "red-700";
261
+ readonly dark: "red-300";
262
+ };
263
+ readonly 'tag-paid-bg': {
264
+ readonly light: "green-600";
265
+ readonly dark: "green-400";
266
+ };
267
+ readonly 'tag-paid-text': {
268
+ readonly light: "neutral-900";
269
+ readonly dark: "neutral-900";
270
+ };
271
+ };
272
+ export type SemanticName = keyof typeof semantic;