@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.2.9 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/components/ui/accessibility-demo.esm.js +30 -24
  3. package/dist/components/ui/accessibility-demo.js +30 -24
  4. package/dist/components/ui/advanced-component-architecture-demo.esm.js +235 -179
  5. package/dist/components/ui/advanced-component-architecture-demo.js +235 -179
  6. package/dist/components/ui/advanced-transition-system-demo.esm.js +110 -64
  7. package/dist/components/ui/advanced-transition-system-demo.js +110 -64
  8. package/dist/components/ui/advanced-transition-system.esm.js +166 -122
  9. package/dist/components/ui/advanced-transition-system.js +166 -122
  10. package/dist/components/ui/animation/animated-container.esm.js +52 -29
  11. package/dist/components/ui/animation/animated-container.js +52 -29
  12. package/dist/components/ui/animation/staggered-container.esm.js +18 -9
  13. package/dist/components/ui/animation/staggered-container.js +18 -9
  14. package/dist/components/ui/animation-demo.esm.js +67 -35
  15. package/dist/components/ui/animation-demo.js +67 -35
  16. package/dist/components/ui/badge.esm.js +9 -6
  17. package/dist/components/ui/badge.js +9 -6
  18. package/dist/components/ui/battery-conscious-animation-demo.esm.js +122 -87
  19. package/dist/components/ui/battery-conscious-animation-demo.js +122 -87
  20. package/dist/components/ui/border-radius-shadow-demo.esm.js +23 -12
  21. package/dist/components/ui/border-radius-shadow-demo.js +23 -12
  22. package/dist/components/ui/button.esm.js +8 -2
  23. package/dist/components/ui/button.js +8 -2
  24. package/dist/components/ui/card.esm.js +33 -8
  25. package/dist/components/ui/card.js +33 -8
  26. package/dist/components/ui/checkbox.esm.js +3 -3
  27. package/dist/components/ui/checkbox.js +3 -3
  28. package/dist/components/ui/color-preview.esm.js +68 -45
  29. package/dist/components/ui/color-preview.js +68 -45
  30. package/dist/components/ui/data-display/chart.esm.js +112 -84
  31. package/dist/components/ui/data-display/chart.js +112 -84
  32. package/dist/components/ui/data-display/data-grid-simple.esm.js +1 -1
  33. package/dist/components/ui/data-display/data-grid-simple.js +1 -1
  34. package/dist/components/ui/data-display/data-grid.esm.js +80 -67
  35. package/dist/components/ui/data-display/data-grid.js +80 -67
  36. package/dist/components/ui/data-display/list.esm.js +53 -45
  37. package/dist/components/ui/data-display/list.js +53 -45
  38. package/dist/components/ui/data-display/table.esm.js +62 -54
  39. package/dist/components/ui/data-display/table.js +62 -54
  40. package/dist/components/ui/data-display/timeline.esm.js +39 -34
  41. package/dist/components/ui/data-display/timeline.js +39 -34
  42. package/dist/components/ui/data-display/tree.esm.js +116 -84
  43. package/dist/components/ui/data-display/tree.js +116 -84
  44. package/dist/components/ui/data-display/types.esm.js +389 -364
  45. package/dist/components/ui/data-display/types.js +389 -364
  46. package/dist/components/ui/enterprise-mobile-experience-demo.esm.js +120 -70
  47. package/dist/components/ui/enterprise-mobile-experience-demo.js +120 -70
  48. package/dist/components/ui/enterprise-mobile-experience.esm.js +124 -73
  49. package/dist/components/ui/enterprise-mobile-experience.js +124 -73
  50. package/dist/components/ui/feedback/alert.esm.js +22 -15
  51. package/dist/components/ui/feedback/alert.js +22 -15
  52. package/dist/components/ui/feedback/progress.esm.js +47 -24
  53. package/dist/components/ui/feedback/progress.js +47 -24
  54. package/dist/components/ui/feedback/skeleton.esm.js +39 -29
  55. package/dist/components/ui/feedback/skeleton.js +39 -29
  56. package/dist/components/ui/feedback/toast.esm.js +62 -38
  57. package/dist/components/ui/feedback/toast.js +62 -38
  58. package/dist/components/ui/feedback/types.esm.js +83 -83
  59. package/dist/components/ui/feedback/types.js +83 -83
  60. package/dist/components/ui/font-preview.esm.js +41 -39
  61. package/dist/components/ui/font-preview.js +41 -39
  62. package/dist/components/ui/form-demo.esm.js +150 -113
  63. package/dist/components/ui/form-demo.js +150 -113
  64. package/dist/components/ui/hardware-acceleration-demo.esm.js +137 -87
  65. package/dist/components/ui/hardware-acceleration-demo.js +137 -87
  66. package/dist/components/ui/input.esm.js +4 -1
  67. package/dist/components/ui/input.js +4 -1
  68. package/dist/components/ui/layout-demo.esm.js +81 -56
  69. package/dist/components/ui/layout-demo.js +81 -56
  70. package/dist/components/ui/layouts/adaptive-layout.esm.js +27 -8
  71. package/dist/components/ui/layouts/adaptive-layout.js +27 -8
  72. package/dist/components/ui/layouts/desktop-layout.esm.js +39 -19
  73. package/dist/components/ui/layouts/desktop-layout.js +39 -19
  74. package/dist/components/ui/layouts/mobile-layout.esm.js +19 -9
  75. package/dist/components/ui/layouts/mobile-layout.js +19 -9
  76. package/dist/components/ui/layouts/tablet-layout.esm.js +28 -14
  77. package/dist/components/ui/layouts/tablet-layout.js +28 -14
  78. package/dist/components/ui/mobile-form-validation.esm.js +120 -87
  79. package/dist/components/ui/mobile-form-validation.js +120 -87
  80. package/dist/components/ui/mobile-input-demo.esm.js +19 -13
  81. package/dist/components/ui/mobile-input-demo.js +19 -13
  82. package/dist/components/ui/mobile-input.esm.js +185 -120
  83. package/dist/components/ui/mobile-input.js +185 -120
  84. package/dist/components/ui/mobile-skeleton-loading-demo.esm.js +128 -111
  85. package/dist/components/ui/mobile-skeleton-loading-demo.js +128 -111
  86. package/dist/components/ui/navigation/breadcrumb.esm.js +17 -14
  87. package/dist/components/ui/navigation/breadcrumb.js +17 -14
  88. package/dist/components/ui/navigation/index.esm.js +23 -1
  89. package/dist/components/ui/navigation/index.js +23 -1
  90. package/dist/components/ui/navigation/menu.esm.js +49 -35
  91. package/dist/components/ui/navigation/menu.js +49 -35
  92. package/dist/components/ui/navigation/navigation-demo.esm.js +81 -74
  93. package/dist/components/ui/navigation/navigation-demo.js +81 -74
  94. package/dist/components/ui/navigation/pagination.esm.js +62 -50
  95. package/dist/components/ui/navigation/pagination.js +62 -50
  96. package/dist/components/ui/navigation/sidebar.esm.js +56 -42
  97. package/dist/components/ui/navigation/sidebar.js +56 -42
  98. package/dist/components/ui/navigation/stepper.esm.js +34 -23
  99. package/dist/components/ui/navigation/stepper.js +34 -23
  100. package/dist/components/ui/navigation/tabs.esm.js +32 -21
  101. package/dist/components/ui/navigation/tabs.js +32 -21
  102. package/dist/components/ui/navigation/types.esm.js +196 -195
  103. package/dist/components/ui/navigation/types.js +196 -195
  104. package/dist/components/ui/overlay/backdrop.esm.js +17 -16
  105. package/dist/components/ui/overlay/backdrop.js +17 -16
  106. package/dist/components/ui/overlay/focus-manager.esm.js +21 -19
  107. package/dist/components/ui/overlay/focus-manager.js +21 -19
  108. package/dist/components/ui/overlay/index.esm.js +22 -2
  109. package/dist/components/ui/overlay/index.js +22 -2
  110. package/dist/components/ui/overlay/modal.esm.js +38 -34
  111. package/dist/components/ui/overlay/modal.js +38 -34
  112. package/dist/components/ui/overlay/overlay-manager.esm.js +25 -20
  113. package/dist/components/ui/overlay/overlay-manager.js +25 -20
  114. package/dist/components/ui/overlay/popover.esm.js +74 -58
  115. package/dist/components/ui/overlay/popover.js +74 -58
  116. package/dist/components/ui/overlay/portal.esm.js +7 -7
  117. package/dist/components/ui/overlay/portal.js +7 -7
  118. package/dist/components/ui/overlay/tooltip.esm.js +54 -39
  119. package/dist/components/ui/overlay/tooltip.js +54 -39
  120. package/dist/components/ui/overlay/types.esm.js +132 -131
  121. package/dist/components/ui/overlay/types.js +132 -131
  122. package/dist/components/ui/performance-demo.esm.js +135 -88
  123. package/dist/components/ui/performance-demo.js +135 -88
  124. package/dist/components/ui/semantic-input-system-demo.esm.js +117 -80
  125. package/dist/components/ui/semantic-input-system-demo.js +117 -80
  126. package/dist/components/ui/theme-customizer.esm.js +84 -52
  127. package/dist/components/ui/theme-customizer.js +84 -52
  128. package/dist/components/ui/theme-preview.esm.js +95 -43
  129. package/dist/components/ui/theme-preview.js +95 -43
  130. package/dist/components/ui/theme-switcher.esm.js +70 -44
  131. package/dist/components/ui/theme-switcher.js +70 -44
  132. package/dist/components/ui/theme-toggle.esm.js +3 -3
  133. package/dist/components/ui/theme-toggle.js +3 -3
  134. package/dist/components/ui/token-demo.esm.js +33 -21
  135. package/dist/components/ui/token-demo.js +33 -21
  136. package/dist/components/ui/touch-demo.esm.js +102 -73
  137. package/dist/components/ui/touch-demo.js +102 -73
  138. package/dist/components/ui/touch-friendly-interface-demo.esm.js +102 -64
  139. package/dist/components/ui/touch-friendly-interface-demo.js +102 -64
  140. package/dist/components/ui/touch-friendly-interface.esm.js +85 -61
  141. package/dist/components/ui/touch-friendly-interface.js +85 -61
  142. package/dist/hooks/use-accessibility-support.esm.js +115 -85
  143. package/dist/hooks/use-accessibility-support.js +115 -85
  144. package/dist/hooks/use-adaptive-layout.esm.js +56 -33
  145. package/dist/hooks/use-adaptive-layout.js +56 -33
  146. package/dist/hooks/use-advanced-patterns.esm.js +57 -42
  147. package/dist/hooks/use-advanced-patterns.js +57 -42
  148. package/dist/hooks/use-advanced-transition-system.esm.js +112 -71
  149. package/dist/hooks/use-advanced-transition-system.js +112 -71
  150. package/dist/hooks/use-animation-profile.esm.js +63 -34
  151. package/dist/hooks/use-animation-profile.js +63 -34
  152. package/dist/hooks/use-battery-animations.esm.js +80 -55
  153. package/dist/hooks/use-battery-animations.js +80 -55
  154. package/dist/hooks/use-battery-conscious-loading.esm.js +166 -123
  155. package/dist/hooks/use-battery-conscious-loading.js +166 -123
  156. package/dist/hooks/use-battery-optimization.esm.js +78 -55
  157. package/dist/hooks/use-battery-optimization.js +78 -55
  158. package/dist/hooks/use-battery-status.esm.js +73 -51
  159. package/dist/hooks/use-battery-status.js +73 -51
  160. package/dist/hooks/use-component-performance.esm.js +62 -47
  161. package/dist/hooks/use-component-performance.js +62 -47
  162. package/dist/hooks/use-device-loading-states.esm.js +152 -109
  163. package/dist/hooks/use-device-loading-states.js +152 -109
  164. package/dist/hooks/use-device.esm.js +25 -14
  165. package/dist/hooks/use-device.js +25 -14
  166. package/dist/hooks/use-enterprise-mobile-experience.esm.js +137 -88
  167. package/dist/hooks/use-enterprise-mobile-experience.js +137 -88
  168. package/dist/hooks/use-form-feedback.esm.js +124 -81
  169. package/dist/hooks/use-form-feedback.js +124 -81
  170. package/dist/hooks/use-form-performance.esm.js +127 -92
  171. package/dist/hooks/use-form-performance.js +127 -92
  172. package/dist/hooks/use-frame-rate.esm.js +56 -37
  173. package/dist/hooks/use-frame-rate.js +56 -37
  174. package/dist/hooks/use-gestures.esm.js +96 -72
  175. package/dist/hooks/use-gestures.js +96 -72
  176. package/dist/hooks/use-hardware-acceleration.esm.js +65 -37
  177. package/dist/hooks/use-hardware-acceleration.js +65 -37
  178. package/dist/hooks/use-input-accessibility.esm.js +157 -119
  179. package/dist/hooks/use-input-accessibility.js +157 -119
  180. package/dist/hooks/use-input-performance.esm.js +139 -104
  181. package/dist/hooks/use-input-performance.js +139 -104
  182. package/dist/hooks/use-layout-performance.esm.js +50 -29
  183. package/dist/hooks/use-layout-performance.js +50 -29
  184. package/dist/hooks/use-loading-accessibility.esm.js +209 -169
  185. package/dist/hooks/use-loading-accessibility.js +209 -169
  186. package/dist/hooks/use-loading-performance.esm.js +117 -93
  187. package/dist/hooks/use-loading-performance.js +117 -93
  188. package/dist/hooks/use-memory-usage.esm.js +57 -38
  189. package/dist/hooks/use-memory-usage.js +57 -38
  190. package/dist/hooks/use-mobile-form-layout.esm.js +111 -74
  191. package/dist/hooks/use-mobile-form-layout.js +111 -74
  192. package/dist/hooks/use-mobile-form-validation.esm.js +211 -144
  193. package/dist/hooks/use-mobile-form-validation.js +211 -144
  194. package/dist/hooks/use-mobile-keyboard-optimization.esm.js +154 -113
  195. package/dist/hooks/use-mobile-keyboard-optimization.js +154 -113
  196. package/dist/hooks/use-mobile-layout.esm.js +73 -51
  197. package/dist/hooks/use-mobile-layout.js +73 -51
  198. package/dist/hooks/use-mobile-optimization.esm.js +72 -44
  199. package/dist/hooks/use-mobile-optimization.js +72 -44
  200. package/dist/hooks/use-mobile-skeleton.esm.js +97 -64
  201. package/dist/hooks/use-mobile-skeleton.js +97 -64
  202. package/dist/hooks/use-mobile-touch.esm.js +128 -93
  203. package/dist/hooks/use-mobile-touch.js +128 -93
  204. package/dist/hooks/use-performance-throttling.esm.js +72 -48
  205. package/dist/hooks/use-performance-throttling.js +72 -48
  206. package/dist/hooks/use-performance.esm.js +90 -52
  207. package/dist/hooks/use-performance.js +90 -52
  208. package/dist/hooks/use-reusable-architecture.esm.js +94 -65
  209. package/dist/hooks/use-reusable-architecture.js +94 -65
  210. package/dist/hooks/use-semantic-input-types.esm.js +166 -124
  211. package/dist/hooks/use-semantic-input-types.js +166 -124
  212. package/dist/hooks/use-semantic-input.esm.js +178 -126
  213. package/dist/hooks/use-semantic-input.js +178 -126
  214. package/dist/hooks/use-tablet-layout.esm.js +67 -38
  215. package/dist/hooks/use-tablet-layout.js +67 -38
  216. package/dist/hooks/use-touch-friendly-input.esm.js +193 -149
  217. package/dist/hooks/use-touch-friendly-input.js +193 -149
  218. package/dist/hooks/use-touch-friendly-interface.esm.js +99 -67
  219. package/dist/hooks/use-touch-friendly-interface.js +99 -67
  220. package/dist/hooks/use-touch-optimization.esm.js +99 -72
  221. package/dist/hooks/use-touch-optimization.js +99 -72
  222. package/dist/index.esm.js +289 -280
  223. package/dist/index.js +289 -280
  224. package/dist/lib/utils.esm.js +1 -1
  225. package/dist/lib/utils.js +1 -1
  226. package/dist/plugins/theme-css-generator.esm.js +104 -55
  227. package/dist/plugins/theme-css-generator.js +104 -55
  228. package/dist/provider.esm.js +4 -4
  229. package/dist/provider.js +4 -4
  230. package/dist/styles.css +1 -1
  231. package/dist/theme.esm.js +633 -468
  232. package/dist/theme.js +633 -468
  233. package/dist/themes/ThemeContext.esm.js +15 -15
  234. package/dist/themes/ThemeContext.js +15 -15
  235. package/dist/themes/ThemeProvider.esm.js +25 -22
  236. package/dist/themes/ThemeProvider.js +25 -22
  237. package/dist/themes/accessibility.esm.js +147 -108
  238. package/dist/themes/accessibility.js +147 -108
  239. package/dist/themes/aria-patterns.esm.js +198 -162
  240. package/dist/themes/aria-patterns.js +198 -162
  241. package/dist/themes/base-themes.esm.js +14 -11
  242. package/dist/themes/base-themes.js +14 -11
  243. package/dist/themes/colorManager.esm.js +101 -83
  244. package/dist/themes/colorManager.js +101 -83
  245. package/dist/themes/examples/dark-theme.esm.js +133 -103
  246. package/dist/themes/examples/dark-theme.js +133 -103
  247. package/dist/themes/examples/minimal-theme.esm.js +83 -61
  248. package/dist/themes/examples/minimal-theme.js +83 -61
  249. package/dist/themes/focus-management.esm.js +202 -143
  250. package/dist/themes/focus-management.js +202 -143
  251. package/dist/themes/fontLoader.esm.js +28 -19
  252. package/dist/themes/fontLoader.js +28 -19
  253. package/dist/themes/high-contrast.esm.js +152 -104
  254. package/dist/themes/high-contrast.js +152 -104
  255. package/dist/themes/inheritance.esm.js +35 -27
  256. package/dist/themes/inheritance.js +35 -27
  257. package/dist/themes/keyboard-navigation.esm.js +152 -123
  258. package/dist/themes/keyboard-navigation.js +152 -123
  259. package/dist/themes/motion-reduction.esm.js +193 -133
  260. package/dist/themes/motion-reduction.js +193 -133
  261. package/dist/themes/navigation.esm.js +146 -146
  262. package/dist/themes/navigation.js +146 -146
  263. package/dist/themes/screen-reader.esm.js +159 -94
  264. package/dist/themes/screen-reader.js +159 -94
  265. package/dist/themes/systemThemeDetector.esm.js +42 -34
  266. package/dist/themes/systemThemeDetector.js +42 -34
  267. package/dist/themes/themeCSSUpdater.esm.js +21 -9
  268. package/dist/themes/themeCSSUpdater.js +21 -9
  269. package/dist/themes/themePersistence.esm.js +68 -47
  270. package/dist/themes/themePersistence.js +68 -47
  271. package/dist/themes/themes/stan-design.esm.js +633 -468
  272. package/dist/themes/themes/stan-design.js +633 -468
  273. package/dist/themes/types.esm.js +301 -287
  274. package/dist/themes/types.js +301 -287
  275. package/dist/themes/useSystemTheme.esm.js +4 -4
  276. package/dist/themes/useSystemTheme.js +4 -4
  277. package/dist/themes/useTheme.esm.js +4 -4
  278. package/dist/themes/useTheme.js +4 -4
  279. package/dist/themes/validation.esm.js +128 -77
  280. package/dist/themes/validation.js +128 -77
  281. package/dist/tokens/index.esm.js +15 -4
  282. package/dist/tokens/index.js +15 -4
  283. package/dist/tokens/tokenExporter.esm.js +87 -61
  284. package/dist/tokens/tokenExporter.js +87 -61
  285. package/dist/tokens/tokenGenerator.esm.js +86 -77
  286. package/dist/tokens/tokenGenerator.js +86 -77
  287. package/dist/tokens/tokenManager.esm.js +64 -51
  288. package/dist/tokens/tokenManager.js +64 -51
  289. package/dist/tokens/tokenValidator.esm.js +193 -147
  290. package/dist/tokens/tokenValidator.js +193 -147
  291. package/dist/tokens/types.esm.js +49 -35
  292. package/dist/tokens/types.js +49 -35
  293. package/dist/utils/bundle-analyzer.esm.js +83 -65
  294. package/dist/utils/bundle-analyzer.js +83 -65
  295. package/dist/utils/bundle-splitting.esm.js +142 -117
  296. package/dist/utils/bundle-splitting.js +142 -117
  297. package/dist/utils/lazy-loading.esm.js +132 -106
  298. package/dist/utils/lazy-loading.js +132 -106
  299. package/dist/utils/performance-monitor.esm.js +170 -129
  300. package/dist/utils/performance-monitor.js +170 -129
  301. package/dist/utils/tree-shaking.esm.js +69 -61
  302. package/dist/utils/tree-shaking.js +69 -61
  303. package/package.json +1 -1
  304. package/src/index.ts +146 -146
@@ -4,514 +4,679 @@ import { MultiThemeConfig } from '../types';
4
4
  * Stan Design Base Theme
5
5
  * Modern, professional design with Clash Display font
6
6
  */
7
- export const stanDesignTheme= {
8
- fonts,
9
- fallbacks, 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif'],
10
- weights, 400, 500, 600, 700],
11
- display,
12
- source,
13
- files}
7
+ export const stanDesignTheme: MultiThemeConfig = {
8
+ fonts: {
9
+ primary: {
10
+ family: 'Clash Display',
11
+ fallbacks: ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif'],
12
+ weights: [300, 400, 500, 600, 700],
13
+ display: 'swap',
14
+ source: {
15
+ type: 'custom',
16
+ files: {
17
+ woff2: '/fonts/clash-display/ClashDisplay-Variable.woff2'
18
+ }
14
19
  },
15
- sizes,
16
- sm,
17
- md,
18
- lg,
19
- xl,
20
- '2xl',
21
- '3xl',
22
- '4xl',
23
- '5xl',
24
- '6xl'},
25
- lineHeights,
26
- normal,
27
- relaxed,
28
- loose},
29
- letterSpacing,
30
- normal,
31
- wide,
32
- wider,
33
- widest}
20
+ sizes: {
21
+ xs: '0.75rem',
22
+ sm: '0.875rem',
23
+ md: '1rem',
24
+ lg: '1.125rem',
25
+ xl: '1.25rem',
26
+ '2xl': '1.5rem',
27
+ '3xl': '1.875rem',
28
+ '4xl': '2.25rem',
29
+ '5xl': '3rem',
30
+ '6xl': '3.75rem'
31
+ },
32
+ lineHeights: {
33
+ tight: '1.25',
34
+ normal: '1.5',
35
+ relaxed: '1.75',
36
+ loose: '2'
37
+ },
38
+ letterSpacing: {
39
+ tight: '-0.025em',
40
+ normal: '0em',
41
+ wide: '0.025em',
42
+ wider: '0.05em',
43
+ widest: '0.1em'
44
+ }
34
45
  },
35
- secondary,
36
- fallbacks, 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif'],
37
- weights, 400, 500, 600, 700],
38
- display,
39
- source,
40
- files}
46
+ secondary: {
47
+ family: 'Clash Display',
48
+ fallbacks: ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif'],
49
+ weights: [300, 400, 500, 600, 700],
50
+ display: 'swap',
51
+ source: {
52
+ type: 'custom',
53
+ files: {
54
+ woff2: '/fonts/clash-display/ClashDisplay-Variable.woff2'
55
+ }
56
+ },
57
+ sizes: {
58
+ xs: '0.75rem',
59
+ sm: '0.875rem',
60
+ md: '1rem',
61
+ lg: '1.125rem',
62
+ xl: '1.25rem',
63
+ '2xl': '1.5rem',
64
+ '3xl': '1.875rem',
65
+ '4xl': '2.25rem',
66
+ '5xl': '3rem',
67
+ '6xl': '3.75rem'
68
+ },
69
+ lineHeights: {
70
+ tight: '1.25',
71
+ normal: '1.5',
72
+ relaxed: '1.75',
73
+ loose: '2'
41
74
  },
42
- sizes,
43
- sm,
44
- md,
45
- lg,
46
- xl,
47
- '2xl',
48
- '3xl',
49
- '4xl',
50
- '5xl',
51
- '6xl'},
52
- lineHeights,
53
- normal,
54
- relaxed,
55
- loose},
56
- letterSpacing,
57
- normal,
58
- wide,
59
- wider,
60
- widest}
75
+ letterSpacing: {
76
+ tight: '-0.025em',
77
+ normal: '0em',
78
+ wide: '0.025em',
79
+ wider: '0.05em',
80
+ widest: '0.1em'
81
+ }
61
82
  },
62
- display, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
63
- weights, 500, 600, 700],
64
- sizes,
65
- sm,
66
- md,
67
- lg,
68
- xl,
69
- '2xl',
70
- '3xl',
71
- '4xl',
72
- '5xl',
73
- '6xl'},
74
- lineHeights,
75
- normal,
76
- relaxed,
77
- loose},
78
- letterSpacing,
79
- normal,
80
- wide,
81
- wider,
82
- widest}
83
+ display: {
84
+ family: 'Clash Display, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
85
+ weights: [400, 500, 600, 700],
86
+ sizes: {
87
+ xs: '1.5rem',
88
+ sm: '1.875rem',
89
+ md: '2.25rem',
90
+ lg: '3rem',
91
+ xl: '3.75rem',
92
+ '2xl': '4.5rem',
93
+ '3xl': '6rem',
94
+ '4xl': '7.5rem',
95
+ '5xl': '9rem',
96
+ '6xl': '12rem'
97
+ },
98
+ lineHeights: {
99
+ tight: '1.1',
100
+ normal: '1.2',
101
+ relaxed: '1.3',
102
+ loose: '1.4'
103
+ },
104
+ letterSpacing: {
105
+ tight: '-0.02em',
106
+ normal: '-0.01em',
107
+ wide: '0em',
108
+ wider: '0.01em',
109
+ widest: '0.02em'
110
+ }
83
111
  },
84
- body, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
85
- weights, 400, 500],
86
- sizes,
87
- sm,
88
- md,
89
- lg,
90
- xl,
91
- '2xl',
92
- '3xl',
93
- '4xl',
94
- '5xl',
95
- '6xl'},
96
- lineHeights,
97
- normal,
98
- relaxed,
99
- loose},
100
- letterSpacing,
101
- normal,
102
- wide,
103
- wider,
104
- widest}
112
+ body: {
113
+ family: 'Clash Display, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
114
+ weights: [300, 400, 500],
115
+ sizes: {
116
+ xs: '0.75rem',
117
+ sm: '0.875rem',
118
+ md: '1rem',
119
+ lg: '1.125rem',
120
+ xl: '1.25rem',
121
+ '2xl': '1.5rem',
122
+ '3xl': '1.875rem',
123
+ '4xl': '2.25rem',
124
+ '5xl': '3rem',
125
+ '6xl': '3.75rem'
126
+ },
127
+ lineHeights: {
128
+ tight: '1.4',
129
+ normal: '1.6',
130
+ relaxed: '1.8',
131
+ loose: '2'
132
+ },
133
+ letterSpacing: {
134
+ tight: '-0.01em',
135
+ normal: '0em',
136
+ wide: '0.01em',
137
+ wider: '0.02em',
138
+ widest: '0.05em'
139
+ }
105
140
  },
106
- mono, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace',
107
- weights, 500, 600],
108
- sizes,
109
- sm,
110
- md,
111
- lg,
112
- xl,
113
- '2xl',
114
- '3xl',
115
- '4xl',
116
- '5xl',
117
- '6xl'},
118
- lineHeights,
119
- normal,
120
- relaxed,
121
- loose},
122
- letterSpacing,
123
- normal,
124
- wide,
125
- wider,
126
- widest}
141
+ mono: {
142
+ family: 'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace',
143
+ weights: [400, 500, 600],
144
+ sizes: {
145
+ xs: '0.75rem',
146
+ sm: '0.875rem',
147
+ md: '1rem',
148
+ lg: '1.125rem',
149
+ xl: '1.25rem',
150
+ '2xl': '1.5rem',
151
+ '3xl': '1.875rem',
152
+ '4xl': '2.25rem',
153
+ '5xl': '3rem',
154
+ '6xl': '3.75rem'
155
+ },
156
+ lineHeights: {
157
+ tight: '1.25',
158
+ normal: '1.5',
159
+ relaxed: '1.75',
160
+ loose: '2'
161
+ },
162
+ letterSpacing: {
163
+ tight: '-0.025em',
164
+ normal: '0em',
165
+ wide: '0.025em',
166
+ wider: '0.05em',
167
+ widest: '0.1em'
168
+ }
127
169
  }
128
170
  },
129
- colors,
130
- 100,
131
- 200,
132
- 300,
133
- 400,
134
- 500, // Updated to match original poker project
135
- 600,
136
- 700,
137
- 800,
138
- 900,
171
+ colors: {
172
+ primary: {
173
+ 50: '#eff6ff',
174
+ 100: '#dbeafe',
175
+ 200: '#bfdbfe',
176
+ 300: '#93c5fd',
177
+ 400: '#60a5fa',
178
+ 500: '#2563eb', // Updated to match original poker project
179
+ 600: '#1d4ed8',
180
+ 700: '#1e40af',
181
+ 800: '#1e3a8a',
182
+ 900: '#1e3a8a',
139
183
  // RGB versions for rgba() usage
140
- '500-rgb', 99, 235',
141
- '600-rgb', 78, 216',
142
- '700-rgb', 64, 175'
184
+ '500-rgb': '37, 99, 235',
185
+ '600-rgb': '29, 78, 216',
186
+ '700-rgb': '30, 64, 175'
143
187
  },
144
- secondary,
145
- 100,
146
- 200,
147
- 300,
148
- 400,
149
- 500,
150
- 600,
151
- 700,
152
- 800,
153
- 900},
154
- semantic, // Updated to match original poker project
155
- warning,
156
- error,
157
- errorDark, // Darker red for destructive hover states
158
- info, // Updated to match original poker project
188
+ secondary: {
189
+ 50: '#f9fafb',
190
+ 100: '#f3f4f6',
191
+ 200: '#e5e7eb',
192
+ 300: '#d1d5db',
193
+ 400: '#9ca3af',
194
+ 500: '#6b7280',
195
+ 600: '#4b5563',
196
+ 700: '#374151',
197
+ 800: '#1f2937',
198
+ 900: '#111827'
199
+ },
200
+ semantic: {
201
+ success: '#059669', // Updated to match original poker project
202
+ warning: '#f59e0b',
203
+ error: '#ef4444',
204
+ errorDark: '#dc2626', // Darker red for destructive hover states
205
+ info: '#2563eb', // Updated to match original poker project
159
206
  // RGB versions for rgba() usage
160
- successRgb, 150, 105',
161
- warningRgb, 158, 11',
162
- errorRgb, 68, 68',
163
- errorDarkRgb, 38, 38',
164
- infoRgb, 99, 235',
207
+ successRgb: '5, 150, 105',
208
+ warningRgb: '245, 158, 11',
209
+ errorRgb: '239, 68, 68',
210
+ errorDarkRgb: '220, 38, 38',
211
+ infoRgb: '37, 99, 235',
165
212
  // Additional RGB versions referenced in CSS
166
- 'success-rgb', 150, 105',
167
- 'warning-rgb', 158, 11',
168
- 'error-rgb', 68, 68',
169
- 'error-dark-rgb', 38, 38',
170
- 'info-rgb', 99, 235'
213
+ 'success-rgb': '5, 150, 105',
214
+ 'warning-rgb': '245, 158, 11',
215
+ 'error-rgb': '239, 68, 68',
216
+ 'error-dark-rgb': '220, 38, 38',
217
+ 'info-rgb': '37, 99, 235'
218
+ },
219
+ neutral: {
220
+ 50: '#fafafa',
221
+ 100: '#f5f5f5',
222
+ 200: '#e5e5e5',
223
+ 300: '#d4d4d4',
224
+ 400: '#a3a3a3',
225
+ 500: '#737373',
226
+ 600: '#525252',
227
+ 700: '#404040',
228
+ 800: '#262626',
229
+ 900: '#171717'
230
+ },
231
+ surface: {
232
+ background: '#ffffff',
233
+ surface: '#f3f4f6', // Updated to match original poker project
234
+ border: '#e5e7eb', // Updated to match original poker project
235
+ divider: '#d1d5db' // Updated to match original poker project
236
+ },
237
+ text: {
238
+ primary: '#111827', // Updated to match original poker project
239
+ secondary: '#4b5563', // Updated to match original poker project
240
+ muted: '#6b7280', // Updated to match original poker project
241
+ inverse: '#ffffff',
242
+ onPrimary: '#ffffff',
243
+ onSecondary: '#ffffff',
244
+ onSurface: '#111827' // Updated to match original poker project
245
+ },
246
+ interactive: {
247
+ hover: '#f8fafc', // Updated to match original poker project
248
+ active: '#f3f4f6', // Updated to match original poker project
249
+ focus: '#2563eb', // Updated to match original poker project
250
+ disabled: '#d1d5db' // Updated to match original poker project
171
251
  },
172
- neutral,
173
- 100,
174
- 200,
175
- 300,
176
- 400,
177
- 500,
178
- 600,
179
- 700,
180
- 800,
181
- 900},
182
- surface,
183
- surface, // Updated to match original poker project
184
- border, // Updated to match original poker project
185
- divider},
186
- text, // Updated to match original poker project
187
- secondary, // Updated to match original poker project
188
- muted, // Updated to match original poker project
189
- inverse,
190
- onPrimary,
191
- onSecondary,
192
- onSurface},
193
- interactive, // Updated to match original poker project
194
- active, // Updated to match original poker project
195
- focus, // Updated to match original poker project
196
- disabled},
197
252
  // Additional colors referenced in CSS
198
- accent,
199
- 'bg-primary',
200
- 'bg-secondary', // Updated to match original poker project
201
- 'surface-bg', // Updated to match original poker project
253
+ accent: '#6366f1',
254
+ 'bg-primary': '#ffffff',
255
+ 'bg-secondary': '#f3f4f6', // Updated to match original poker project
256
+ 'surface-bg': '#f3f4f6', // Updated to match original poker project
202
257
  // Additional missing CSS variables
203
- 'primary-hover', // Updated to match original poker project
204
- 'primary-active', // Updated to match original poker project
205
- 'accent-rgb', 102, 241',
206
- 'border', // Updated to match original poker project
258
+ 'primary-hover': '#1d4ed8', // Updated to match original poker project
259
+ 'primary-active': '#1e40af', // Updated to match original poker project
260
+ 'accent-rgb': '99, 102, 241',
261
+ 'border': '#e5e7eb', // Updated to match original poker project
207
262
  // Border semantic variables
208
- 'border-transparent',
263
+ 'border-transparent': 'transparent',
209
264
  // Text colors referenced in CSS
210
- 'text-primary', // Updated to match original poker project
211
- 'text-secondary'},
212
- navigation,
213
- style,
214
- behavior,
215
- responsive,
216
- animations,
217
- normal,
218
- slow,
219
- instant},
220
- easing,
221
- ease,
222
- easeIn,
223
- easeOut,
224
- easeInOut,
225
- bounce, -0.55, 0.265, 1.55)',
226
- elastic, 0.885, 0.32, 1.275)'
265
+ 'text-primary': '#111827', // Updated to match original poker project
266
+ 'text-secondary': '#4b5563' // Updated to match original poker project
267
+ },
268
+ navigation: {
269
+ layout: 'horizontal',
270
+ style: 'enhanced',
271
+ behavior: 'static',
272
+ responsive: 'mobile-first',
273
+ animations: {
274
+ duration: {
275
+ fast: '0.15s',
276
+ normal: '0.2s',
277
+ slow: '0.3s',
278
+ instant: '0s'
279
+ },
280
+ easing: {
281
+ linear: 'linear',
282
+ ease: 'ease',
283
+ easeIn: 'ease-in',
284
+ easeOut: 'ease-out',
285
+ easeInOut: 'ease-in-out',
286
+ bounce: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',
287
+ elastic: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)'
288
+ },
289
+ stagger: {
290
+ enabled: true,
291
+ delay: '0.05s',
292
+ direction: 'forward'
293
+ },
294
+ transitions: {
295
+ enter: '0.2s ease-out',
296
+ exit: '0.15s ease-in',
297
+ move: '0.2s ease',
298
+ resize: '0.1s ease'
299
+ }
300
+ },
301
+ spacing: {
302
+ container: '1rem',
303
+ item: '0.5rem',
304
+ group: '1rem',
305
+ divider: '0.25rem',
306
+ icon: '0.5rem',
307
+ text: '0.25rem',
308
+ padding: {
309
+ horizontal: '1rem',
310
+ vertical: '0.75rem',
311
+ top: '0.75rem',
312
+ right: '1rem',
313
+ bottom: '0.75rem',
314
+ left: '1rem'
315
+ },
316
+ margin: {
317
+ horizontal: '0.5rem',
318
+ vertical: '0.25rem',
319
+ top: '0.25rem',
320
+ right: '0.5rem',
321
+ bottom: '0.25rem',
322
+ left: '0.5rem'
323
+ }
324
+ },
325
+ colors: {
326
+ background: {
327
+ primary: '#ffffff',
328
+ secondary: '#f3f4f6', // Updated to match original poker project
329
+ tertiary: '#f8fafc', // Updated to match original poker project
330
+ light: '#ffffff',
331
+ dark: '#0f172a',
332
+ contrast: '#000000'
333
+ },
334
+ text: {
335
+ primary: '#111827', // Updated to match original poker project
336
+ secondary: '#4b5563', // Updated to match original poker project
337
+ tertiary: '#6b7280', // Updated to match original poker project
338
+ light: '#9ca3af', // Updated to match original poker project
339
+ dark: '#0f172a',
340
+ contrast: '#ffffff'
341
+ },
342
+ border: {
343
+ primary: '#e5e7eb', // Updated to match original poker project
344
+ secondary: '#d1d5db', // Updated to match original poker project
345
+ tertiary: '#9ca3af', // Updated to match original poker project
346
+ light: '#f8fafc', // Updated to match original poker project
347
+ dark: '#475569',
348
+ contrast: '#000000'
349
+ },
350
+ accent: {
351
+ primary: '#2563eb', // Updated to match original poker project
352
+ secondary: '#6366f1',
353
+ tertiary: '#8b5cf6',
354
+ light: '#dbeafe',
355
+ dark: '#1d4ed8', // Updated to match original poker project
356
+ contrast: '#ffffff'
357
+ },
358
+ hover: {
359
+ primary: '#f8fafc', // Updated to match original poker project
360
+ secondary: '#f3f4f6', // Updated to match original poker project
361
+ tertiary: '#d1d5db', // Updated to match original poker project
362
+ light: '#ffffff',
363
+ dark: '#1e293b',
364
+ contrast: '#f8fafc'
227
365
  },
228
- stagger,
229
- delay,
230
- direction},
231
- transitions,
232
- exit,
233
- move,
234
- resize}
366
+ active: {
367
+ primary: '#2563eb', // Updated to match original poker project
368
+ secondary: '#6366f1',
369
+ tertiary: '#8b5cf6',
370
+ light: '#dbeafe',
371
+ dark: '#1d4ed8', // Updated to match original poker project
372
+ contrast: '#ffffff'
373
+ },
374
+ disabled: {
375
+ primary: '#f8fafc', // Updated to match original poker project
376
+ secondary: '#f3f4f6', // Updated to match original poker project
377
+ tertiary: '#d1d5db', // Updated to match original poker project
378
+ light: '#f3f4f6', // Updated to match original poker project
379
+ dark: '#475569',
380
+ contrast: '#94a3b8'
381
+ },
382
+ focus: {
383
+ primary: '#2563eb', // Updated to match original poker project
384
+ secondary: '#6366f1',
385
+ tertiary: '#8b5cf6',
386
+ light: '#dbeafe',
387
+ dark: '#1d4ed8', // Updated to match original poker project
388
+ contrast: '#ffffff'
389
+ }
235
390
  },
236
- spacing,
237
- item,
238
- group,
239
- divider,
240
- icon,
241
- text,
242
- padding,
243
- vertical,
244
- top,
245
- right,
246
- bottom,
247
- left},
248
- margin,
249
- vertical,
250
- top,
251
- right,
252
- bottom,
253
- left}
391
+ typography: {
392
+ fontFamily: 'Clash Display, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
393
+ fontSize: {
394
+ xs: '0.75rem',
395
+ sm: '0.875rem',
396
+ base: '1rem',
397
+ lg: '1.125rem',
398
+ xl: '1.25rem',
399
+ '2xl': '1.5rem'
400
+ },
401
+ fontWeight: {
402
+ light: '300',
403
+ normal: '400',
404
+ medium: '500',
405
+ semibold: '600',
406
+ bold: '700'
407
+ },
408
+ lineHeight: {
409
+ tight: '1.25',
410
+ normal: '1.5',
411
+ relaxed: '1.75',
412
+ loose: '2'
413
+ },
414
+ letterSpacing: {
415
+ tight: '-0.025em',
416
+ normal: '0',
417
+ wide: '0.025em',
418
+ wider: '0.05em'
419
+ }
254
420
  },
255
- colors,
256
- secondary, // Updated to match original poker project
257
- tertiary, // Updated to match original poker project
258
- light,
259
- dark,
260
- contrast},
261
- text, // Updated to match original poker project
262
- secondary, // Updated to match original poker project
263
- tertiary, // Updated to match original poker project
264
- light, // Updated to match original poker project
265
- dark,
266
- contrast},
267
- border, // Updated to match original poker project
268
- secondary, // Updated to match original poker project
269
- tertiary, // Updated to match original poker project
270
- light, // Updated to match original poker project
271
- dark,
272
- contrast},
273
- accent, // Updated to match original poker project
274
- secondary,
275
- tertiary,
276
- light,
277
- dark, // Updated to match original poker project
278
- contrast},
279
- hover, // Updated to match original poker project
280
- secondary, // Updated to match original poker project
281
- tertiary, // Updated to match original poker project
282
- light,
283
- dark,
284
- contrast},
285
- active, // Updated to match original poker project
286
- secondary,
287
- tertiary,
288
- light,
289
- dark, // Updated to match original poker project
290
- contrast},
291
- disabled, // Updated to match original poker project
292
- secondary, // Updated to match original poker project
293
- tertiary, // Updated to match original poker project
294
- light, // Updated to match original poker project
295
- dark,
296
- contrast},
297
- focus, // Updated to match original poker project
298
- secondary,
299
- tertiary,
300
- light,
301
- dark, // Updated to match original poker project
302
- contrast}
421
+ breakpoints: {
422
+ mobile: '640px',
423
+ tablet: '768px',
424
+ desktop: '1024px',
425
+ wide: '1280px',
426
+ ultra: '1536px'
427
+ }
428
+ },
429
+ spacing: {
430
+ scale: {
431
+ xs: '0.25rem',
432
+ sm: '0.5rem',
433
+ md: '1rem',
434
+ lg: '1.5rem',
435
+ xl: '2rem',
436
+ '2xl': '3rem',
437
+ '3xl': '4rem',
438
+ '4xl': '6rem',
439
+ '5xl': '8rem',
440
+ '6xl': '12rem'
303
441
  },
304
- typography, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
305
- fontSize,
306
- sm,
307
- base,
308
- lg,
309
- xl,
310
- '2xl'},
311
- fontWeight,
312
- normal,
313
- medium,
314
- semibold,
315
- bold},
316
- lineHeight,
317
- normal,
318
- relaxed,
319
- loose},
320
- letterSpacing,
321
- normal,
322
- wide,
323
- wider}
442
+ component: {
443
+ button: {
444
+ padding: '0.75rem 1.5rem',
445
+ margin: '0.5rem',
446
+ gap: '0.5rem'
447
+ },
448
+ input: {
449
+ padding: '0.75rem 1rem',
450
+ margin: '0.5rem',
451
+ gap: '0.5rem'
452
+ },
453
+ card: {
454
+ padding: '1.5rem',
455
+ margin: '1rem',
456
+ gap: '1rem'
457
+ }
324
458
  },
325
- breakpoints,
326
- tablet,
327
- desktop,
328
- wide,
329
- ultra}
459
+ layout: {
460
+ page: '2rem',
461
+ section: '3rem',
462
+ container: '1rem',
463
+ grid: '1.5rem'
464
+ }
330
465
  },
331
- spacing,
332
- sm,
333
- md,
334
- lg,
335
- xl,
336
- '2xl',
337
- '3xl',
338
- '4xl',
339
- '5xl',
340
- '6xl'},
341
- component,
342
- margin,
343
- gap},
344
- input,
345
- margin,
346
- gap},
347
- card,
348
- margin,
349
- gap}
466
+ shadows: {
467
+ sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
468
+ md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
469
+ lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
470
+ xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
471
+ '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
472
+ inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
473
+ none: '0 0 #0000'
474
+ },
475
+ transitions: {
476
+ duration: {
477
+ fast: '0.15s',
478
+ normal: '0.2s',
479
+ slow: '0.3s'
480
+ },
481
+ easing: {
482
+ linear: 'linear',
483
+ ease: 'ease',
484
+ easeIn: 'ease-in',
485
+ easeOut: 'ease-out',
486
+ easeInOut: 'ease-in-out'
350
487
  },
351
- layout,
352
- section,
353
- container,
354
- grid}
488
+ properties: {
489
+ colors: '0.2s ease',
490
+ transform: '0.2s ease',
491
+ opacity: '0.15s ease',
492
+ shadow: '0.2s ease'
493
+ }
355
494
  },
356
- shadows)',
357
- md), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
358
- lg), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
359
- xl), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
360
- '2xl')',
361
- inner)',
362
- none},
363
- transitions,
364
- normal,
365
- slow},
366
- easing,
367
- ease,
368
- easeIn,
369
- easeOut,
370
- easeInOut},
371
- properties,
372
- transform,
373
- opacity,
374
- shadow}
495
+ borderRadius: {
496
+ none: '0',
497
+ sm: '0.125rem',
498
+ md: '0.375rem',
499
+ lg: '0.5rem',
500
+ xl: '0.75rem',
501
+ '2xl': '1rem',
502
+ full: '9999px'
375
503
  },
376
- borderRadius,
377
- sm,
378
- md,
379
- lg,
380
- xl,
381
- '2xl',
382
- full},
383
- borderWidth,
384
- thin,
385
- normal,
386
- focus,
387
- thick,
388
- extraThick},
389
- animation,
390
- normal,
391
- slow},
392
- easing,
393
- ease,
394
- easeIn,
395
- easeOut,
396
- easeInOut},
397
- transforms,
398
- offsetY,
399
- scale}
504
+ borderWidth: {
505
+ none: '0',
506
+ thin: '0.5px',
507
+ normal: '1px',
508
+ focus: '2px',
509
+ thick: '3px',
510
+ extraThick: '4px'
400
511
  },
401
- accessibility,
402
- offset,
403
- color)'
512
+ animation: {
513
+ duration: {
514
+ fast: '0.3s',
515
+ normal: '0.2s',
516
+ slow: '1.5s'
517
+ },
518
+ easing: {
519
+ linear: 'linear',
520
+ ease: 'ease',
521
+ easeIn: 'ease-in',
522
+ easeOut: 'ease-out',
523
+ easeInOut: 'ease-in-out'
404
524
  },
405
- outline},
406
- highContrast,
407
- outlineWidth},
408
- disabled,
409
- opacity}
525
+ transforms: {
526
+ hoverY: '-2px',
527
+ offsetY: '10px',
528
+ scale: '1.02'
529
+ }
530
+ },
531
+ accessibility: {
532
+ focusRing: {
533
+ width: '3px',
534
+ offset: '2px',
535
+ color: 'var(--cs-colors-interactive-focus)'
536
+ },
537
+ outline: {
538
+ offset: '2px'
539
+ },
540
+ highContrast: {
541
+ borderWidth: '2px',
542
+ outlineWidth: '4px'
543
+ },
544
+ disabled: {
545
+ cursor: 'not-allowed',
546
+ opacity: '0.7'
547
+ }
548
+ },
549
+ print: {
550
+ borderColor: '#000',
551
+ textColor: '#000',
552
+ textSecondaryColor: '#333',
553
+ backgroundColor: 'transparent'
554
+ },
555
+ containerQuery: {
556
+ small: '400px',
557
+ medium: '600px',
558
+ large: '800px'
410
559
  },
411
- print,
412
- textColor,
413
- textSecondaryColor,
414
- backgroundColor},
415
- containerQuery,
416
- medium,
417
- large},
418
- container,
419
- medium,
420
- large,
421
- xl,
422
- full}
560
+ container: {
561
+ width: {
562
+ small: '16rem',
563
+ medium: '20rem',
564
+ large: '24rem',
565
+ xl: '32rem',
566
+ full: '100%'
567
+ }
568
+ },
569
+ shimmer: {
570
+ alpha: '0.2',
571
+ color: 'rgba(255, 255, 255, 0.2)'
423
572
  },
424
- shimmer,
425
- color, 255, 255, 0.2)'
573
+ meta: {
574
+ name: 'Stan Design',
575
+ description: 'Modern, professional design system with Clash Display typography and comprehensive theming',
576
+ author: 'Stan Design Team',
577
+ version: '1.0.0',
578
+ category: 'brand',
579
+ tags: ['modern', 'professional', 'typography', 'clash-display', 'comprehensive'],
580
+ preview: '/themes/stan-design-preview.png',
581
+ createdAt: '2024-12-01T00:00:00.000Z',
582
+ updatedAt: '2024-12-01T00:00:00.000Z'
426
583
  },
427
- meta,
428
- description, professional design system with Clash Display typography and comprehensive theming',
429
- author,
430
- version,
431
- category,
432
- tags, 'professional', 'typography', 'clash-display', 'comprehensive'],
433
- preview,
434
- createdAt,
435
- updatedAt},
436
584
 
437
- // NEW,
438
- 100,
439
- 200,
440
- 300,
441
- 400,
442
- 500,
443
- 600,
444
- 700,
445
- 800,
446
- 900,
585
+ // NEW: Add dark mode overrides
586
+ modes: {
587
+ dark: {
588
+ colors: {
589
+ primary: {
590
+ 50: '#1e3a8a',
591
+ 100: '#1e40af',
592
+ 200: '#1d4ed8',
593
+ 300: '#2563eb',
594
+ 400: '#3b82f6',
595
+ 500: '#60a5fa',
596
+ 600: '#93c5fd',
597
+ 700: '#bfdbfe',
598
+ 800: '#dbeafe',
599
+ 900: '#eff6ff',
447
600
  // RGB versions for rgba() usage
448
- '500-rgb', 165, 250',
449
- '600-rgb', 197, 253',
450
- '700-rgb', 219, 254'
601
+ '500-rgb': '96, 165, 250',
602
+ '600-rgb': '147, 197, 253',
603
+ '700-rgb': '191, 219, 254'
451
604
  },
452
- secondary,
453
- 100,
454
- 200,
455
- 300,
456
- 400,
457
- 500,
458
- 600,
459
- 700,
460
- 800,
461
- 900},
462
- semantic,
463
- warning,
464
- error,
465
- info,
605
+ secondary: {
606
+ 50: '#111827',
607
+ 100: '#1f2937',
608
+ 200: '#374151',
609
+ 300: '#4b5563',
610
+ 400: '#6b7280',
611
+ 500: '#9ca3af',
612
+ 600: '#d1d5db',
613
+ 700: '#e5e7eb',
614
+ 800: '#f3f4f6',
615
+ 900: '#f9fafb'
616
+ },
617
+ semantic: {
618
+ success: '#10b981',
619
+ warning: '#fbbf24',
620
+ error: '#f87171',
621
+ info: '#60a5fa',
466
622
  // RGB versions for rgba() usage
467
- successRgb, 185, 129',
468
- warningRgb, 191, 36',
469
- errorRgb, 113, 113',
470
- infoRgb, 165, 250',
623
+ successRgb: '16, 185, 129',
624
+ warningRgb: '251, 191, 36',
625
+ errorRgb: '248, 113, 113',
626
+ infoRgb: '96, 165, 250',
471
627
  // Additional RGB versions referenced in CSS
472
- 'success-rgb', 185, 129',
473
- 'warning-rgb', 191, 36',
474
- 'error-rgb', 113, 113',
475
- 'info-rgb', 165, 250'
628
+ 'success-rgb': '16, 185, 129',
629
+ 'warning-rgb': '251, 191, 36',
630
+ 'error-rgb': '248, 113, 113',
631
+ 'info-rgb': '96, 165, 250'
632
+ },
633
+ neutral: {
634
+ 50: '#171717',
635
+ 100: '#262626',
636
+ 200: '#404040',
637
+ 300: '#525252',
638
+ 400: '#737373',
639
+ 500: '#a3a3a3',
640
+ 600: '#d4d4d4',
641
+ 700: '#e5e5e5',
642
+ 800: '#f5f5f5',
643
+ 900: '#fafafa'
644
+ },
645
+ surface: {
646
+ background: '#0f172a',
647
+ surface: '#1e293b',
648
+ border: '#334155',
649
+ divider: '#475569'
650
+ },
651
+ text: {
652
+ primary: '#f8fafc',
653
+ secondary: '#cbd5e1',
654
+ muted: '#94a3b8',
655
+ inverse: '#0f172a',
656
+ onPrimary: '#0f172a',
657
+ onSecondary: '#0f172a',
658
+ onSurface: '#f8fafc'
659
+ },
660
+ interactive: {
661
+ hover: '#475569',
662
+ active: '#1e293b',
663
+ focus: '#3b82f6',
664
+ disabled: '#475569'
476
665
  },
477
- neutral,
478
- 100,
479
- 200,
480
- 300,
481
- 400,
482
- 500,
483
- 600,
484
- 700,
485
- 800,
486
- 900},
487
- surface,
488
- surface,
489
- border,
490
- divider},
491
- text,
492
- secondary,
493
- muted,
494
- inverse,
495
- onPrimary,
496
- onSecondary,
497
- onSurface},
498
- interactive,
499
- active,
500
- focus,
501
- disabled},
502
666
  // Additional colors referenced in CSS
503
- accent,
504
- 'bg-primary',
505
- 'bg-secondary',
506
- 'surface-bg',
667
+ accent: '#8b5cf6',
668
+ 'bg-primary': '#0f172a',
669
+ 'bg-secondary': '#1e293b',
670
+ 'surface-bg': '#1e293b',
507
671
  // Additional missing CSS variables
508
- 'primary-hover',
509
- 'primary-active',
510
- 'accent-rgb', 92, 246',
511
- 'border',
672
+ 'primary-hover': '#3b82f6',
673
+ 'primary-active': '#60a5fa',
674
+ 'accent-rgb': '139, 92, 246',
675
+ 'border': '#334155',
512
676
  // Text colors referenced in CSS
513
- 'text-primary',
514
- 'text-secondary'},
677
+ 'text-primary': '#f8fafc',
678
+ 'text-secondary': '#cbd5e1'
679
+ },
515
680
 
516
681
  }
517
682
  }