@getmicdrop/svelte-components 5.20.2 → 5.21.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 (259) hide show
  1. package/dist/calendar/AboutShow/AboutShow.spec.js +10 -10
  2. package/dist/calendar/AboutShow/AboutShow.svelte +11 -11
  3. package/dist/calendar/Calendar/MiniMonthCalendar.spec.js +9 -8
  4. package/dist/calendar/Calendar/MiniMonthCalendar.svelte +22 -25
  5. package/dist/calendar/Calendar/MiniMonthCalendar.svelte.d.ts.map +1 -1
  6. package/dist/calendar/FAQs/FAQs.spec.js +6 -6
  7. package/dist/calendar/FAQs/FAQs.svelte +4 -4
  8. package/dist/calendar/MonthSwitcher/MonthSwitcher.svelte +8 -12
  9. package/dist/calendar/OrderSummary/OrderSummary.svelte +36 -36
  10. package/dist/calendar/PublicCard/PublicCard.spec.js +3 -3
  11. package/dist/calendar/PublicCard/PublicCard.svelte +7 -7
  12. package/dist/calendar/ShowCard/ShowCard.spec.js +8 -8
  13. package/dist/calendar/ShowCard/ShowCard.svelte +8 -8
  14. package/dist/calendar/ShowTimeCard/ShowTimeCard.spec.js +4 -4
  15. package/dist/calendar/ShowTimeCard/ShowTimeCard.svelte +4 -4
  16. package/dist/components/Heading.spec.js +1 -1
  17. package/dist/components/Heading.svelte +1 -1
  18. package/dist/components/Layout/AppShell.svelte +4 -4
  19. package/dist/components/Layout/ContentSection.svelte +2 -2
  20. package/dist/components/Layout/Heading.svelte +3 -3
  21. package/dist/components/Layout/PageContainer.svelte +2 -2
  22. package/dist/components/Layout/Section.spec.js +4 -4
  23. package/dist/components/Layout/Text.svelte +7 -7
  24. package/dist/components/Layout/__tests__/AppShell.test.js +5 -5
  25. package/dist/components/Layout/__tests__/ContentSection.test.js +1 -1
  26. package/dist/components/Layout/__tests__/Heading.test.js +3 -3
  27. package/dist/components/Layout/__tests__/PageContainer.test.js +4 -4
  28. package/dist/components/Layout/__tests__/Text.test.js +9 -9
  29. package/dist/components/Text.spec.js +4 -4
  30. package/dist/components/Text.svelte +7 -7
  31. package/dist/patterns/chat/ChatActivityNotice.spec.js +1 -1
  32. package/dist/patterns/chat/ChatActivityNotice.svelte +3 -3
  33. package/dist/patterns/chat/ChatBubble.spec.js +1 -1
  34. package/dist/patterns/chat/ChatBubble.svelte +7 -7
  35. package/dist/patterns/chat/ChatContainer.spec.js +1 -1
  36. package/dist/patterns/chat/ChatContainer.svelte +3 -3
  37. package/dist/patterns/chat/ChatDateDivider.svelte +1 -1
  38. package/dist/patterns/chat/ChatInvitationBubble.spec.js +2 -2
  39. package/dist/patterns/chat/ChatInvitationBubble.svelte +1 -1
  40. package/dist/patterns/chat/ChatInvitationNotice.spec.js +2 -2
  41. package/dist/patterns/chat/ChatInvitationNotice.svelte +1 -1
  42. package/dist/patterns/chat/ChatMessageGroup.svelte +2 -2
  43. package/dist/patterns/chat/ChatSlotUpdate.svelte +2 -2
  44. package/dist/patterns/chat/ChatStatusBadge.spec.js +10 -10
  45. package/dist/patterns/chat/ChatStatusBadge.svelte +8 -8
  46. package/dist/patterns/chat/ChatStatusTransition.spec.js +9 -9
  47. package/dist/patterns/chat/ChatStatusTransition.svelte +5 -5
  48. package/dist/patterns/chat/ChatTextBubble.spec.js +4 -4
  49. package/dist/patterns/chat/ChatTextBubble.svelte +2 -2
  50. package/dist/patterns/data/DataList.spec.js +5 -5
  51. package/dist/patterns/data/DataList.svelte +1 -1
  52. package/dist/patterns/data/DataTable.spec.js +18 -18
  53. package/dist/patterns/data/DataTable.svelte +3 -3
  54. package/dist/patterns/forms/FormActions.spec.js +6 -6
  55. package/dist/patterns/forms/FormActions.stories.svelte +1 -1
  56. package/dist/patterns/forms/FormActions.svelte +1 -1
  57. package/dist/patterns/forms/FormSection.spec.js +4 -4
  58. package/dist/patterns/forms/FormSection.svelte +2 -2
  59. package/dist/patterns/forms/FormValidationSummary.spec.js +2 -2
  60. package/dist/patterns/forms/FormValidationSummary.stories.svelte +4 -4
  61. package/dist/patterns/forms/FormValidationSummary.svelte +4 -4
  62. package/dist/patterns/navigation/BottomNav.stories.svelte +23 -23
  63. package/dist/patterns/navigation/BottomNav.svelte +3 -3
  64. package/dist/patterns/navigation/Header.spec.js +9 -9
  65. package/dist/patterns/navigation/Header.svelte +13 -15
  66. package/dist/patterns/navigation/Header.svelte.d.ts.map +1 -1
  67. package/dist/patterns/page/PageLayout.spec.js +5 -5
  68. package/dist/patterns/page/PageLayout.svelte +1 -1
  69. package/dist/patterns/page/PageLoader.stories.svelte +5 -5
  70. package/dist/patterns/page/SectionHeader.spec.js +8 -8
  71. package/dist/patterns/page/SectionHeader.svelte +2 -2
  72. package/dist/presets/buttons.js +1 -1
  73. package/dist/presets/buttons.spec.js +4 -4
  74. package/dist/primitives/Accordion/Accordion.spec.js +5 -5
  75. package/dist/primitives/Accordion/Accordion.stories.svelte +9 -9
  76. package/dist/primitives/Accordion/Accordion.svelte +2 -2
  77. package/dist/primitives/Accordion/AccordionItem.spec.js +19 -28
  78. package/dist/primitives/Accordion/AccordionItem.svelte +4 -4
  79. package/dist/primitives/Avatar/Avatar.spec.js +11 -11
  80. package/dist/primitives/Avatar/Avatar.stories.svelte +6 -5
  81. package/dist/primitives/Avatar/Avatar.stories.svelte.d.ts.map +1 -1
  82. package/dist/primitives/Avatar/Avatar.svelte +3 -3
  83. package/dist/primitives/Badges/Badge.spec.js +10 -10
  84. package/dist/primitives/BottomSheet/BottomSheet.spec.js +5 -5
  85. package/dist/primitives/BottomSheet/BottomSheet.svelte +7 -7
  86. package/dist/primitives/Breadcrumb/Breadcrumb.spec.js +4 -2
  87. package/dist/primitives/Breadcrumb/Breadcrumb.svelte +4 -4
  88. package/dist/primitives/Button/Button.spec.js +15 -15
  89. package/dist/primitives/Button/Button.svelte +16 -16
  90. package/dist/primitives/Button/ButtonVariantShowcase.spec.js +1 -1
  91. package/dist/primitives/Button/ButtonVariantShowcase.svelte +18 -18
  92. package/dist/primitives/Card.spec.js +1 -1
  93. package/dist/primitives/Card.stories.svelte +1 -1
  94. package/dist/primitives/Card.svelte +1 -1
  95. package/dist/primitives/CardAction/CardAction.svelte +3 -3
  96. package/dist/primitives/Checkbox/Checkbox.spec.js +16 -16
  97. package/dist/primitives/Checkbox/Checkbox.stories.svelte +3 -3
  98. package/dist/primitives/Checkbox/Checkbox.svelte +9 -9
  99. package/dist/primitives/DarkModeToggle.spec.js +11 -11
  100. package/dist/primitives/DarkModeToggle.stories.svelte +8 -8
  101. package/dist/primitives/DarkModeToggle.svelte +4 -4
  102. package/dist/primitives/Drawer/Drawer.spec.js +4 -4
  103. package/dist/primitives/Drawer/Drawer.stories.svelte +6 -6
  104. package/dist/primitives/Drawer/Drawer.svelte +11 -11
  105. package/dist/primitives/Dropdown/Dropdown.spec.js +9 -9
  106. package/dist/primitives/Dropdown/Dropdown.stories.svelte +4 -4
  107. package/dist/primitives/Dropdown/Dropdown.svelte +2 -2
  108. package/dist/primitives/Dropdown/DropdownDivider.svelte +1 -1
  109. package/dist/primitives/Dropdown/DropdownItem.spec.js +8 -15
  110. package/dist/primitives/Dropdown/DropdownItem.svelte +3 -3
  111. package/dist/primitives/Helper/Helper.spec.js +6 -6
  112. package/dist/primitives/Helper/Helper.svelte +3 -3
  113. package/dist/primitives/Icons/Icon.stories.svelte +15 -15
  114. package/dist/primitives/Icons/IconGallery.stories.svelte +26 -26
  115. package/dist/primitives/Icons/Icons.spec.js +3 -3
  116. package/dist/primitives/Input/Input.spec.js +9 -9
  117. package/dist/primitives/Input/Input.svelte +11 -11
  118. package/dist/primitives/Input/Select.spec.js +7 -7
  119. package/dist/primitives/Input/Select.stories.svelte +1 -1
  120. package/dist/primitives/Input/Select.svelte +6 -6
  121. package/dist/primitives/Input/Textarea.spec.js +8 -8
  122. package/dist/primitives/Input/Textarea.stories.svelte +1 -1
  123. package/dist/primitives/Input/Textarea.svelte +2 -2
  124. package/dist/primitives/Label/Label.spec.js +20 -21
  125. package/dist/primitives/Label/Label.svelte +4 -4
  126. package/dist/primitives/LandingButton/LandingButton.svelte +3 -3
  127. package/dist/primitives/MenuItem/MenuItem.spec.js +5 -5
  128. package/dist/primitives/MenuItem/MenuItem.svelte +4 -4
  129. package/dist/primitives/Modal/Modal.stories.svelte +8 -8
  130. package/dist/primitives/Modal/Modal.svelte +4 -4
  131. package/dist/primitives/NavItem/NavItem.spec.js +2 -2
  132. package/dist/primitives/NavItem/NavItem.svelte +3 -3
  133. package/dist/primitives/NumberInput/NumberInput.spec.js +17 -17
  134. package/dist/primitives/NumberInput/NumberInput.svelte +8 -8
  135. package/dist/primitives/Pagination/DotIndicator.svelte +6 -6
  136. package/dist/primitives/Pagination/Pagination.spec.js +6 -6
  137. package/dist/primitives/Pagination/Pagination.stories.svelte +4 -4
  138. package/dist/primitives/Pagination/Pagination.svelte +3 -3
  139. package/dist/primitives/Radio/Radio.spec.js +19 -19
  140. package/dist/primitives/Radio/Radio.stories.svelte +5 -5
  141. package/dist/primitives/Radio/Radio.svelte +8 -8
  142. package/dist/primitives/SearchResultItem/SearchResultItem.svelte +5 -5
  143. package/dist/primitives/SidebarToggle/SidebarToggle.svelte +2 -2
  144. package/dist/primitives/Skeleton/CardPlaceholder.spec.js +1 -1
  145. package/dist/primitives/Skeleton/CardPlaceholder.svelte +11 -11
  146. package/dist/primitives/Skeleton/ImagePlaceholder.spec.js +2 -2
  147. package/dist/primitives/Skeleton/ImagePlaceholder.svelte +7 -7
  148. package/dist/primitives/Skeleton/ListPlaceholder.spec.js +2 -2
  149. package/dist/primitives/Skeleton/ListPlaceholder.svelte +5 -5
  150. package/dist/primitives/Skeleton/Skeleton.spec.js +7 -7
  151. package/dist/primitives/Skeleton/Skeleton.stories.svelte +4 -4
  152. package/dist/primitives/Skeleton/Skeleton.svelte +1 -1
  153. package/dist/primitives/Spinner/Spinner.spec.js +4 -5
  154. package/dist/primitives/Spinner/Spinner.stories.svelte +2 -2
  155. package/dist/primitives/Spinner/Spinner.svelte +1 -1
  156. package/dist/primitives/Tabs/Tabs.spec.js +14 -14
  157. package/dist/primitives/Tabs/Tabs.stories.svelte +6 -6
  158. package/dist/primitives/Tabs/Tabs.svelte +8 -8
  159. package/dist/primitives/Toggle.spec.js +3 -5
  160. package/dist/primitives/Toggle.stories.svelte +7 -7
  161. package/dist/primitives/Toggle.svelte +7 -7
  162. package/dist/primitives/Tooltip/Tooltip.svelte +5 -5
  163. package/dist/primitives/ValidationError.spec.js +1 -1
  164. package/dist/primitives/ValidationError.stories.svelte +8 -8
  165. package/dist/primitives/ValidationError.svelte +1 -1
  166. package/dist/recipes/CropImage/CropImage.stories.svelte +8 -8
  167. package/dist/recipes/CropImage/CropImage.svelte +7 -7
  168. package/dist/recipes/ImageUploader/ImageUploader.spec.js +1 -1
  169. package/dist/recipes/ImageUploader/ImageUploader.svelte +34 -56
  170. package/dist/recipes/SuperLogin/SuperLogin.svelte +25 -25
  171. package/dist/recipes/Toaster/Toaster.stories.svelte +10 -10
  172. package/dist/recipes/feedback/EmptyState/EmptyState.svelte +1 -1
  173. package/dist/recipes/feedback/ErrorDisplay.spec.js +1 -1
  174. package/dist/recipes/feedback/ErrorDisplay.stories.svelte +2 -2
  175. package/dist/recipes/feedback/ErrorDisplay.svelte +2 -2
  176. package/dist/recipes/feedback/StatusIndicator/StatusIndicator.svelte +7 -7
  177. package/dist/recipes/fields/CheckboxField.spec.js +2 -2
  178. package/dist/recipes/fields/CheckboxField.svelte +2 -2
  179. package/dist/recipes/fields/FormField.spec.js +4 -4
  180. package/dist/recipes/fields/FormField.svelte +1 -1
  181. package/dist/recipes/fields/RadioGroup.spec.js +1 -1
  182. package/dist/recipes/fields/RadioGroup.svelte +2 -2
  183. package/dist/recipes/fields/SelectField.spec.js +2 -2
  184. package/dist/recipes/fields/TextareaField.spec.js +2 -2
  185. package/dist/recipes/fields/ToggleField.spec.js +2 -2
  186. package/dist/recipes/fields/ToggleField.svelte +1 -1
  187. package/dist/recipes/inputs/MultiSelect.stories.svelte +2 -2
  188. package/dist/recipes/inputs/MultiSelect.svelte +10 -10
  189. package/dist/recipes/inputs/OTPInput.stories.svelte +9 -9
  190. package/dist/recipes/inputs/OTPInput.svelte +1 -1
  191. package/dist/recipes/inputs/PasswordInput.spec.js +2 -2
  192. package/dist/recipes/inputs/PasswordStrengthIndicator/PasswordStrengthIndicator.spec.js +14 -14
  193. package/dist/recipes/inputs/PasswordStrengthIndicator/PasswordStrengthIndicator.svelte +3 -3
  194. package/dist/recipes/inputs/PasswordStrengthIndicator/TestWrapper.svelte +2 -2
  195. package/dist/recipes/inputs/PhoneInput.svelte +5 -5
  196. package/dist/recipes/inputs/PlaceAutocomplete/PlaceAutocomplete.spec.js +10 -10
  197. package/dist/recipes/inputs/PlaceAutocomplete/PlaceAutocomplete.stories.svelte +7 -7
  198. package/dist/recipes/inputs/PlaceAutocomplete/PlaceAutocomplete.svelte +11 -14
  199. package/dist/recipes/inputs/PlaceAutocomplete/PlaceAutocomplete.svelte.d.ts.map +1 -1
  200. package/dist/recipes/inputs/Search.spec.js +3 -3
  201. package/dist/recipes/inputs/Search.svelte +1 -1
  202. package/dist/recipes/inputs/phoneInput/CountrySelector.svelte +5 -5
  203. package/dist/recipes/modals/AlertModal.spec.js +36 -36
  204. package/dist/recipes/modals/AlertModal.svelte +8 -8
  205. package/dist/recipes/modals/ConfirmationModal.spec.js +20 -20
  206. package/dist/recipes/modals/ConfirmationModal.svelte +1 -1
  207. package/dist/recipes/modals/FeedbackModal.svelte +7 -7
  208. package/dist/recipes/modals/InputModal.spec.js +17 -17
  209. package/dist/recipes/modals/InputModal.svelte +3 -3
  210. package/dist/recipes/modals/ModalStateManager.spec.js +1 -1
  211. package/dist/recipes/modals/ModalStateManager.svelte +2 -2
  212. package/dist/recipes/modals/StatusModal.spec.js +7 -7
  213. package/dist/recipes/modals/StatusModal.svelte +10 -10
  214. package/dist/schemas/__tests__/order.test.js +1 -1
  215. package/dist/schemas/auth.d.ts +107 -17
  216. package/dist/schemas/auth.d.ts.map +1 -1
  217. package/dist/schemas/common.d.ts +41 -13
  218. package/dist/schemas/common.d.ts.map +1 -1
  219. package/dist/schemas/event.d.ts +147 -41
  220. package/dist/schemas/event.d.ts.map +1 -1
  221. package/dist/schemas/order.d.ts +208 -51
  222. package/dist/schemas/order.d.ts.map +1 -1
  223. package/dist/schemas/performer.d.ts +199 -44
  224. package/dist/schemas/performer.d.ts.map +1 -1
  225. package/dist/schemas/promo.d.ts +221 -55
  226. package/dist/schemas/promo.d.ts.map +1 -1
  227. package/dist/schemas/ticket.d.ts +187 -61
  228. package/dist/schemas/ticket.d.ts.map +1 -1
  229. package/dist/schemas/user.d.ts +114 -54
  230. package/dist/schemas/user.d.ts.map +1 -1
  231. package/dist/schemas/venue.d.ts +238 -20
  232. package/dist/schemas/venue.d.ts.map +1 -1
  233. package/dist/stories/ButtonAuditDashboard.spec.js +12 -12
  234. package/dist/stories/ButtonAuditDashboard.svelte +55 -55
  235. package/dist/stories/ButtonAuditReview.spec.js +8 -8
  236. package/dist/stories/ButtonAuditReview.svelte +87 -87
  237. package/dist/stories/ButtonGridView.spec.js +27 -27
  238. package/dist/stories/ButtonGridView.svelte +22 -22
  239. package/dist/stories/ButtonShowcase.spec.js +4 -4
  240. package/dist/stories/ButtonShowcase.svelte +119 -119
  241. package/dist/stories/ComponentConsolidation.stories.svelte +453 -453
  242. package/dist/stories/DesignSystemAudit.stories.svelte +127 -127
  243. package/dist/stories/PatternsGallery.spec.js +3 -3
  244. package/dist/stories/PatternsGallery.svelte +23 -23
  245. package/dist/stories/PrimitivesGallery.spec.js +9 -9
  246. package/dist/stories/PrimitivesGallery.svelte +68 -68
  247. package/dist/stories/RecipesGallery.svelte +26 -26
  248. package/dist/tokens/__tests__/typography-base.test.js +5 -5
  249. package/dist/tokens/__tests__/typography.test.js +32 -36
  250. package/dist/tokens/__tests__/variants.test.js +63 -78
  251. package/dist/tokens/tokens.css +15 -15
  252. package/dist/tokens/typography-base.css +16 -16
  253. package/dist/tokens/typography.d.ts +29 -29
  254. package/dist/tokens/typography.js +29 -29
  255. package/dist/tokens/utilities.css +35 -47
  256. package/dist/tokens/variants.d.ts +32 -32
  257. package/dist/tokens/variants.js +32 -32
  258. package/dist/utils/utils/utils.spec.js +2 -2
  259. package/package.json +1 -1
@@ -26,27 +26,27 @@
26
26
  * ========================================================================== */
27
27
 
28
28
  h1 {
29
- @apply text-2xl font-semibold text-gray-900 dark:text-white leading-tight;
29
+ @apply text-2xl font-semibold text-text-primary leading-tight;
30
30
  }
31
31
 
32
32
  h2 {
33
- @apply text-xl font-semibold text-gray-900 dark:text-white leading-tight;
33
+ @apply text-xl font-semibold text-text-primary leading-tight;
34
34
  }
35
35
 
36
36
  h3 {
37
- @apply text-lg font-semibold text-gray-900 dark:text-white leading-tight;
37
+ @apply text-lg font-semibold text-text-primary leading-tight;
38
38
  }
39
39
 
40
40
  h4 {
41
- @apply text-base font-semibold text-gray-900 dark:text-white leading-tight;
41
+ @apply text-base font-semibold text-text-primary leading-tight;
42
42
  }
43
43
 
44
44
  h5 {
45
- @apply text-sm font-semibold text-gray-900 dark:text-white leading-tight;
45
+ @apply text-sm font-semibold text-text-primary leading-tight;
46
46
  }
47
47
 
48
48
  h6 {
49
- @apply text-xs font-semibold text-gray-900 dark:text-white leading-tight uppercase tracking-wide;
49
+ @apply text-xs font-semibold text-text-primary leading-tight uppercase tracking-wide;
50
50
  }
51
51
 
52
52
  /* ==========================================================================
@@ -57,7 +57,7 @@
57
57
  * ========================================================================== */
58
58
 
59
59
  p {
60
- @apply text-base text-gray-600 dark:text-gray-300 leading-relaxed;
60
+ @apply text-base text-text-secondary leading-relaxed;
61
61
  }
62
62
 
63
63
  /* ==========================================================================
@@ -67,7 +67,7 @@
67
67
  * ========================================================================== */
68
68
 
69
69
  label {
70
- @apply text-sm font-medium text-gray-900 dark:text-white;
70
+ @apply text-sm font-medium text-text-primary;
71
71
  }
72
72
 
73
73
  /* ==========================================================================
@@ -76,7 +76,7 @@
76
76
  * ========================================================================== */
77
77
 
78
78
  a {
79
- @apply text-blue-600 dark:text-blue-400 hover:underline;
79
+ @apply text-brand-primary hover:underline;
80
80
  }
81
81
 
82
82
  /* ==========================================================================
@@ -98,7 +98,7 @@
98
98
  * ========================================================================== */
99
99
 
100
100
  small {
101
- @apply text-sm text-gray-500 dark:text-gray-400;
101
+ @apply text-sm text-muted-foreground;
102
102
  }
103
103
 
104
104
  /* ==========================================================================
@@ -107,7 +107,7 @@
107
107
  * ========================================================================== */
108
108
 
109
109
  ul, ol {
110
- @apply text-base text-gray-600 dark:text-gray-300 leading-relaxed;
110
+ @apply text-base text-text-secondary leading-relaxed;
111
111
  }
112
112
 
113
113
  li {
@@ -120,7 +120,7 @@
120
120
  * ========================================================================== */
121
121
 
122
122
  blockquote {
123
- @apply pl-4 border-l-4 border-gray-200 dark:border-gray-700 text-gray-600 dark:text-gray-300 italic;
123
+ @apply pl-4 border-l-4 border-border text-text-secondary italic;
124
124
  }
125
125
 
126
126
  /* ==========================================================================
@@ -129,11 +129,11 @@
129
129
  * ========================================================================== */
130
130
 
131
131
  code {
132
- @apply font-mono text-sm bg-gray-100 dark:bg-gray-800 px-1.5 py-0.5 rounded text-gray-900 dark:text-gray-100;
132
+ @apply font-mono text-sm bg-muted px-1.5 py-0.5 rounded text-text-primary;
133
133
  }
134
134
 
135
135
  pre {
136
- @apply font-mono text-sm bg-gray-100 dark:bg-gray-800 p-4 rounded-lg overflow-x-auto text-gray-900 dark:text-gray-100;
136
+ @apply font-mono text-sm bg-muted p-4 rounded-lg overflow-x-auto text-text-primary;
137
137
  }
138
138
 
139
139
  pre code {
@@ -146,7 +146,7 @@
146
146
  * ========================================================================== */
147
147
 
148
148
  mark {
149
- @apply bg-yellow-200 dark:bg-yellow-800 px-1 rounded;
149
+ @apply bg-yellow-200 px-1 rounded;
150
150
  }
151
151
  }
152
152
 
@@ -155,7 +155,7 @@
155
155
  *
156
156
  * This file intentionally does NOT define utility classes like .text-muted,
157
157
  * .text-primary, etc. These are defined in individual app's app.css files
158
- * because they reference app-specific CSS custom properties (e.g., --Text-Tartiary).
158
+ * because they reference app-specific CSS custom properties (e.g., --text-tertiary).
159
159
  *
160
160
  * For typography utilities, import and use tokens from typography.ts:
161
161
  * import { typography } from '@getmicdrop/svelte-components';
@@ -17,65 +17,65 @@
17
17
  */
18
18
  export declare const typography: {
19
19
  /** Page title - 2xl semibold */
20
- readonly h1: "text-2xl font-semibold text-gray-900 dark:text-white";
20
+ readonly h1: "text-2xl font-semibold text-text-primary";
21
21
  /** Section title - xl semibold */
22
- readonly h2: "text-xl font-semibold text-gray-900 dark:text-white";
22
+ readonly h2: "text-xl font-semibold text-text-primary";
23
23
  /** Subsection title - lg semibold */
24
- readonly h3: "text-lg font-semibold text-gray-900 dark:text-white";
24
+ readonly h3: "text-lg font-semibold text-text-primary";
25
25
  /** Card/group title - base semibold */
26
- readonly h4: "text-base font-semibold text-gray-900 dark:text-white";
26
+ readonly h4: "text-base font-semibold text-text-primary";
27
27
  /** Small title - sm semibold */
28
- readonly h5: "text-sm font-semibold text-gray-900 dark:text-white";
28
+ readonly h5: "text-sm font-semibold text-text-primary";
29
29
  /** Micro title - xs semibold */
30
- readonly h6: "text-xs font-semibold text-gray-900 dark:text-white";
30
+ readonly h6: "text-xs font-semibold text-text-primary";
31
31
  /** Standard body text */
32
- readonly body: "text-base text-gray-900 dark:text-white leading-relaxed";
32
+ readonly body: "text-base text-text-primary leading-relaxed";
33
33
  /** Body text - muted/secondary */
34
- readonly bodyMuted: "text-base text-gray-500 dark:text-gray-400 leading-relaxed";
34
+ readonly bodyMuted: "text-base text-muted-foreground leading-relaxed";
35
35
  /** Small body text */
36
- readonly sm: "text-sm text-gray-900 dark:text-white";
36
+ readonly sm: "text-sm text-text-primary";
37
37
  /** Small text - muted/secondary */
38
- readonly smMuted: "text-sm text-gray-500 dark:text-gray-400";
38
+ readonly smMuted: "text-sm text-muted-foreground";
39
39
  /** Extra small text */
40
- readonly xs: "text-xs text-gray-900 dark:text-white";
40
+ readonly xs: "text-xs text-text-primary";
41
41
  /** Extra small text - muted */
42
- readonly xsMuted: "text-xs text-gray-500 dark:text-gray-400";
42
+ readonly xsMuted: "text-xs text-muted-foreground";
43
43
  /** Muted text color only (no size) - for applying to elements with other size classes */
44
- readonly textMuted: "text-gray-500 dark:text-gray-400";
44
+ readonly textMuted: "text-muted-foreground";
45
45
  /** Muted icon color - same as textMuted, for semantic clarity */
46
- readonly iconMuted: "text-gray-500 dark:text-gray-400";
46
+ readonly iconMuted: "text-muted-foreground";
47
47
  /** Form field label */
48
- readonly label: "text-sm font-medium text-gray-900 dark:text-white";
48
+ readonly label: "text-sm font-medium text-text-primary";
49
49
  /** Form field label - with standard spacing */
50
- readonly labelSpaced: "text-sm font-medium text-gray-900 dark:text-white mb-2";
50
+ readonly labelSpaced: "text-sm font-medium text-text-primary mb-2";
51
51
  /** Helper/description text below inputs */
52
- readonly helper: "text-sm text-gray-500 dark:text-gray-400";
52
+ readonly helper: "text-sm text-muted-foreground";
53
53
  /** Placeholder-style text */
54
- readonly placeholder: "text-sm text-gray-400 dark:text-gray-500";
54
+ readonly placeholder: "text-sm text-muted-foreground";
55
55
  /** Error message text */
56
- readonly error: "text-sm text-red-500 dark:text-red-400";
56
+ readonly error: "text-sm text-accent-danger";
57
57
  /** Success message text */
58
- readonly success: "text-sm text-green-600 dark:text-green-400";
58
+ readonly success: "text-sm text-accent-success";
59
59
  /** Warning message text */
60
- readonly warning: "text-sm text-yellow-600 dark:text-yellow-400";
60
+ readonly warning: "text-sm text-accent-warning";
61
61
  /** Info message text */
62
- readonly info: "text-sm text-blue-600 dark:text-blue-400";
62
+ readonly info: "text-sm text-brand-primary";
63
63
  /** Standard link */
64
- readonly link: "text-sm text-blue-700 dark:text-blue-500 hover:underline";
64
+ readonly link: "text-sm text-brand-primary hover:underline";
65
65
  /** Muted/subtle link */
66
- readonly linkMuted: "text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300";
66
+ readonly linkMuted: "text-sm text-muted-foreground hover:text-text-secondary";
67
67
  /** Price/currency display */
68
- readonly price: "text-lg font-semibold text-gray-900 dark:text-white";
68
+ readonly price: "text-lg font-semibold text-text-primary";
69
69
  /** Large price display */
70
- readonly priceLg: "text-2xl font-bold text-gray-900 dark:text-white";
70
+ readonly priceLg: "text-2xl font-bold text-text-primary";
71
71
  /** Badge/tag text */
72
72
  readonly badge: "text-xs font-medium";
73
73
  /** Table header */
74
- readonly tableHeader: "text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider";
74
+ readonly tableHeader: "text-xs font-semibold text-muted-foreground uppercase tracking-wider";
75
75
  /** Code/monospace */
76
- readonly code: "text-sm font-mono text-gray-900 dark:text-white";
76
+ readonly code: "text-sm font-mono text-text-primary";
77
77
  /** Muted code */
78
- readonly codeMuted: "text-xs font-mono text-gray-500 dark:text-gray-400";
78
+ readonly codeMuted: "text-xs font-mono text-muted-foreground";
79
79
  };
80
80
  export type TypographyToken = keyof typeof typography;
81
81
  //# sourceMappingURL=typography.d.ts.map
@@ -20,78 +20,78 @@ export const typography = {
20
20
  // HEADINGS
21
21
  // ==========================================================================
22
22
  /** Page title - 2xl semibold */
23
- h1: "text-2xl font-semibold text-gray-900 dark:text-white",
23
+ h1: "text-2xl font-semibold text-text-primary",
24
24
  /** Section title - xl semibold */
25
- h2: "text-xl font-semibold text-gray-900 dark:text-white",
25
+ h2: "text-xl font-semibold text-text-primary",
26
26
  /** Subsection title - lg semibold */
27
- h3: "text-lg font-semibold text-gray-900 dark:text-white",
27
+ h3: "text-lg font-semibold text-text-primary",
28
28
  /** Card/group title - base semibold */
29
- h4: "text-base font-semibold text-gray-900 dark:text-white",
29
+ h4: "text-base font-semibold text-text-primary",
30
30
  /** Small title - sm semibold */
31
- h5: "text-sm font-semibold text-gray-900 dark:text-white",
31
+ h5: "text-sm font-semibold text-text-primary",
32
32
  /** Micro title - xs semibold */
33
- h6: "text-xs font-semibold text-gray-900 dark:text-white",
33
+ h6: "text-xs font-semibold text-text-primary",
34
34
  // ==========================================================================
35
35
  // BODY TEXT
36
36
  // ==========================================================================
37
37
  /** Standard body text */
38
- body: "text-base text-gray-900 dark:text-white leading-relaxed",
38
+ body: "text-base text-text-primary leading-relaxed",
39
39
  /** Body text - muted/secondary */
40
- bodyMuted: "text-base text-gray-500 dark:text-gray-400 leading-relaxed",
40
+ bodyMuted: "text-base text-muted-foreground leading-relaxed",
41
41
  /** Small body text */
42
- sm: "text-sm text-gray-900 dark:text-white",
42
+ sm: "text-sm text-text-primary",
43
43
  /** Small text - muted/secondary */
44
- smMuted: "text-sm text-gray-500 dark:text-gray-400",
44
+ smMuted: "text-sm text-muted-foreground",
45
45
  /** Extra small text */
46
- xs: "text-xs text-gray-900 dark:text-white",
46
+ xs: "text-xs text-text-primary",
47
47
  /** Extra small text - muted */
48
- xsMuted: "text-xs text-gray-500 dark:text-gray-400",
48
+ xsMuted: "text-xs text-muted-foreground",
49
49
  /** Muted text color only (no size) - for applying to elements with other size classes */
50
- textMuted: "text-gray-500 dark:text-gray-400",
50
+ textMuted: "text-muted-foreground",
51
51
  /** Muted icon color - same as textMuted, for semantic clarity */
52
- iconMuted: "text-gray-500 dark:text-gray-400",
52
+ iconMuted: "text-muted-foreground",
53
53
  // ==========================================================================
54
54
  // LABELS & FORM TEXT
55
55
  // ==========================================================================
56
56
  /** Form field label */
57
- label: "text-sm font-medium text-gray-900 dark:text-white",
57
+ label: "text-sm font-medium text-text-primary",
58
58
  /** Form field label - with standard spacing */
59
- labelSpaced: "text-sm font-medium text-gray-900 dark:text-white mb-2",
59
+ labelSpaced: "text-sm font-medium text-text-primary mb-2",
60
60
  /** Helper/description text below inputs */
61
- helper: "text-sm text-gray-500 dark:text-gray-400",
61
+ helper: "text-sm text-muted-foreground",
62
62
  /** Placeholder-style text */
63
- placeholder: "text-sm text-gray-400 dark:text-gray-500",
63
+ placeholder: "text-sm text-muted-foreground",
64
64
  // ==========================================================================
65
65
  // STATUS & FEEDBACK
66
66
  // ==========================================================================
67
67
  /** Error message text */
68
- error: "text-sm text-red-500 dark:text-red-400",
68
+ error: "text-sm text-accent-danger",
69
69
  /** Success message text */
70
- success: "text-sm text-green-600 dark:text-green-400",
70
+ success: "text-sm text-accent-success",
71
71
  /** Warning message text */
72
- warning: "text-sm text-yellow-600 dark:text-yellow-400",
72
+ warning: "text-sm text-accent-warning",
73
73
  /** Info message text */
74
- info: "text-sm text-blue-600 dark:text-blue-400",
74
+ info: "text-sm text-brand-primary",
75
75
  // ==========================================================================
76
76
  // LINKS
77
77
  // ==========================================================================
78
78
  /** Standard link */
79
- link: "text-sm text-blue-700 dark:text-blue-500 hover:underline",
79
+ link: "text-sm text-brand-primary hover:underline",
80
80
  /** Muted/subtle link */
81
- linkMuted: "text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300",
81
+ linkMuted: "text-sm text-muted-foreground hover:text-text-secondary",
82
82
  // ==========================================================================
83
83
  // SPECIAL CASES
84
84
  // ==========================================================================
85
85
  /** Price/currency display */
86
- price: "text-lg font-semibold text-gray-900 dark:text-white",
86
+ price: "text-lg font-semibold text-text-primary",
87
87
  /** Large price display */
88
- priceLg: "text-2xl font-bold text-gray-900 dark:text-white",
88
+ priceLg: "text-2xl font-bold text-text-primary",
89
89
  /** Badge/tag text */
90
90
  badge: "text-xs font-medium",
91
91
  /** Table header */
92
- tableHeader: "text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider",
92
+ tableHeader: "text-xs font-semibold text-muted-foreground uppercase tracking-wider",
93
93
  /** Code/monospace */
94
- code: "text-sm font-mono text-gray-900 dark:text-white",
94
+ code: "text-sm font-mono text-text-primary",
95
95
  /** Muted code */
96
- codeMuted: "text-xs font-mono text-gray-500 dark:text-gray-400",
96
+ codeMuted: "text-xs font-mono text-muted-foreground",
97
97
  };
@@ -123,37 +123,37 @@
123
123
 
124
124
  /* Page title - largest heading */
125
125
  .text-heading-xl {
126
- @apply text-2xl font-bold text-gray-900 dark:text-white;
126
+ @apply text-2xl font-bold text-text-primary;
127
127
  }
128
128
 
129
129
  /* Section heading */
130
130
  .text-heading-lg {
131
- @apply text-xl font-semibold text-gray-900 dark:text-white;
131
+ @apply text-xl font-semibold text-text-primary;
132
132
  }
133
133
 
134
134
  /* Card/subsection heading */
135
135
  .text-heading-md {
136
- @apply text-lg font-semibold text-gray-900 dark:text-white;
136
+ @apply text-lg font-semibold text-text-primary;
137
137
  }
138
138
 
139
139
  /* Small heading */
140
140
  .text-heading-sm {
141
- @apply text-base font-semibold text-gray-900 dark:text-white;
141
+ @apply text-base font-semibold text-text-primary;
142
142
  }
143
143
 
144
144
  /* Form labels, table headers */
145
145
  .text-label {
146
- @apply text-sm font-medium text-gray-700 dark:text-gray-300;
146
+ @apply text-sm font-medium text-text-secondary;
147
147
  }
148
148
 
149
149
  /* Helper text, timestamps, metadata */
150
150
  .text-muted {
151
- @apply text-sm text-gray-500 dark:text-gray-400;
151
+ @apply text-sm text-muted-foreground;
152
152
  }
153
153
 
154
154
  /* Very small helper text */
155
155
  .text-caption {
156
- @apply text-xs text-gray-500 dark:text-gray-400;
156
+ @apply text-xs text-muted-foreground;
157
157
  }
158
158
 
159
159
  /* ==========================================================================
@@ -163,22 +163,22 @@
163
163
 
164
164
  /* Base card - white bg, border, rounded corners */
165
165
  .card-base {
166
- @apply bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg;
166
+ @apply bg-card border border-border rounded-lg;
167
167
  }
168
168
 
169
169
  /* Standard card with padding */
170
170
  .card {
171
- @apply bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg p-4;
171
+ @apply bg-card border border-border rounded-lg p-4;
172
172
  }
173
173
 
174
174
  /* Elevated card with shadow */
175
175
  .card-elevated {
176
- @apply bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg shadow;
176
+ @apply bg-card border border-border rounded-lg shadow;
177
177
  }
178
178
 
179
179
  /* Compact card with less padding */
180
180
  .card-compact {
181
- @apply bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg p-3;
181
+ @apply bg-card border border-border rounded-lg p-3;
182
182
  }
183
183
 
184
184
  /* ==========================================================================
@@ -188,12 +188,12 @@
188
188
 
189
189
  /* Standard border color */
190
190
  .border-default {
191
- @apply border-gray-200 dark:border-gray-700;
191
+ @apply border-border;
192
192
  }
193
193
 
194
194
  /* Divider/separator line */
195
195
  .border-separator {
196
- @apply border-t border-gray-200 dark:border-gray-700;
196
+ @apply border-t border-border;
197
197
  }
198
198
 
199
199
  /* ==========================================================================
@@ -203,17 +203,17 @@
203
203
 
204
204
  /* Base table row */
205
205
  .table-row-base {
206
- @apply border-b border-gray-200 dark:border-gray-700;
206
+ @apply border-b border-border;
207
207
  }
208
208
 
209
209
  /* Clickable table row with hover */
210
210
  .table-row-clickable {
211
- @apply border-b border-gray-200 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer transition-colors;
211
+ @apply border-b border-border hover:bg-bg-secondary cursor-pointer transition-colors;
212
212
  }
213
213
 
214
214
  /* Selected table row */
215
215
  .table-row-selected {
216
- @apply bg-blue-50 dark:bg-blue-900/20 border-b border-gray-200 dark:border-gray-700;
216
+ @apply bg-status-info-bg border-b border-border;
217
217
  }
218
218
 
219
219
  /* ==========================================================================
@@ -228,27 +228,27 @@
228
228
 
229
229
  /* Success/green badge */
230
230
  .badge-success {
231
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400;
231
+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-status-success-bg text-status-success-text;
232
232
  }
233
233
 
234
234
  /* Error/red badge */
235
235
  .badge-error {
236
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400;
236
+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-status-error-bg text-status-error-text;
237
237
  }
238
238
 
239
239
  /* Warning/yellow badge */
240
240
  .badge-warning {
241
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400;
241
+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-status-warning-bg text-status-warning-text;
242
242
  }
243
243
 
244
244
  /* Info/blue badge */
245
245
  .badge-info {
246
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400;
246
+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-status-info-bg text-status-info-text;
247
247
  }
248
248
 
249
249
  /* Neutral/gray badge */
250
250
  .badge-neutral {
251
- @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300;
251
+ @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-muted text-text-primary;
252
252
  }
253
253
 
254
254
  /* ==========================================================================
@@ -258,7 +258,7 @@
258
258
 
259
259
  /* Base input styling */
260
260
  .input-base {
261
- @apply w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-transparent;
261
+ @apply w-full px-3 py-2 border border-stroke-primary rounded-lg bg-card text-text-primary placeholder-muted-foreground focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:border-transparent;
262
262
  }
263
263
 
264
264
  /* Base button styling */
@@ -268,12 +268,12 @@
268
268
 
269
269
  /* Primary button */
270
270
  .btn-primary {
271
- @apply inline-flex items-center justify-center px-4 py-2 text-sm font-medium rounded-lg transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500;
271
+ @apply inline-flex items-center justify-center px-4 py-2 text-sm font-medium rounded-lg transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed bg-brand-primary text-white hover:bg-brand-primary focus:ring-focus-ring;
272
272
  }
273
273
 
274
274
  /* Secondary/outline button */
275
275
  .btn-secondary {
276
- @apply inline-flex items-center justify-center px-4 py-2 text-sm font-medium rounded-lg transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed bg-white dark:bg-gray-800 text-gray-700 dark:text-gray-200 border border-gray-300 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700 focus:ring-gray-500;
276
+ @apply inline-flex items-center justify-center px-4 py-2 text-sm font-medium rounded-lg transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed bg-card text-text-secondary border border-stroke-primary hover:bg-bg-secondary focus:ring-focus-ring;
277
277
  }
278
278
 
279
279
  /* ==========================================================================
@@ -283,17 +283,17 @@
283
283
 
284
284
  /* Dropdown container */
285
285
  .dropdown-base {
286
- @apply absolute z-10 mt-1 w-full bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg shadow-lg;
286
+ @apply absolute z-10 mt-1 w-full bg-card border border-border rounded-lg shadow-lg;
287
287
  }
288
288
 
289
289
  /* Dropdown item */
290
290
  .dropdown-item {
291
- @apply px-4 py-2 text-sm text-gray-700 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 cursor-pointer;
291
+ @apply px-4 py-2 text-sm text-text-secondary hover:bg-muted cursor-pointer;
292
292
  }
293
293
 
294
294
  /* Dropdown item active/selected */
295
295
  .dropdown-item-active {
296
- @apply px-4 py-2 text-sm bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300;
296
+ @apply px-4 py-2 text-sm bg-status-info-bg text-brand-primary;
297
297
  }
298
298
 
299
299
  /* ==========================================================================
@@ -303,17 +303,17 @@
303
303
 
304
304
  /* Hover effect for clickable items */
305
305
  .interactive-hover {
306
- @apply hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors;
306
+ @apply hover:bg-bg-secondary transition-colors;
307
307
  }
308
308
 
309
309
  /* Press/active effect */
310
310
  .interactive-press {
311
- @apply active:bg-gray-100 dark:active:bg-gray-700;
311
+ @apply active:bg-muted:bg-bg-secondary;
312
312
  }
313
313
 
314
314
  /* Combined interactive states */
315
315
  .interactive {
316
- @apply hover:bg-gray-50 dark:hover:bg-gray-800 active:bg-gray-100 dark:active:bg-gray-700 transition-colors cursor-pointer;
316
+ @apply hover:bg-bg-secondary active:bg-muted:bg-bg-secondary transition-colors cursor-pointer;
317
317
  }
318
318
 
319
319
  /* ==========================================================================
@@ -366,23 +366,11 @@
366
366
  animation: skeleton-shimmer 2.5s ease-in-out infinite;
367
367
  background: linear-gradient(
368
368
  90deg,
369
- #e5e7eb 0%,
370
- #e5e7eb 40%,
371
- #f3f4f6 50%,
372
- #e5e7eb 60%,
373
- #e5e7eb 100%
374
- );
375
- background-size: 200% 100%;
376
- }
377
-
378
- .dark .skeleton-loading {
379
- background: linear-gradient(
380
- 90deg,
381
- #374151 0%,
382
- #374151 40%,
383
- #4b5563 50%,
384
- #374151 60%,
385
- #374151 100%
369
+ hsl(var(--bg-tertiary)) 0%,
370
+ hsl(var(--bg-tertiary)) 40%,
371
+ hsl(var(--bg-secondary)) 50%,
372
+ hsl(var(--bg-tertiary)) 60%,
373
+ hsl(var(--bg-tertiary)) 100%
386
374
  );
387
375
  background-size: 200% 100%;
388
376
  }