@shohojdhara/atomix 0.3.3 → 0.3.4

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 (398) hide show
  1. package/README.md +46 -28
  2. package/dist/atomix.css +13 -6
  3. package/dist/atomix.min.css +1 -1
  4. package/dist/index.d.ts +912 -505
  5. package/dist/index.esm.js +2924 -2133
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +2719 -1916
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.js +1 -1
  10. package/dist/index.min.js.map +1 -1
  11. package/package.json +11 -62
  12. package/scripts/atomix-cli.js +338 -2
  13. package/scripts/cli/interactive-init.js +36 -44
  14. package/scripts/cli/theme-bridge.js +129 -0
  15. package/scripts/sync-theme-config.js +22 -22
  16. package/src/components/Button/Button.tsx +36 -1
  17. package/src/lib/config/index.ts +275 -0
  18. package/src/lib/config/loader.ts +105 -0
  19. package/src/lib/index.ts +1 -0
  20. package/src/lib/theme/composeTheme.ts +0 -5
  21. package/src/lib/theme/config/index.ts +1 -1
  22. package/src/lib/theme/config/loader.ts +75 -41
  23. package/src/lib/theme/config/types.ts +21 -7
  24. package/src/lib/theme/config/validator.ts +1 -1
  25. package/src/lib/theme/constants.ts +12 -2
  26. package/src/lib/theme/createTheme.ts +0 -1
  27. package/src/lib/theme/createThemeFromConfig.ts +132 -0
  28. package/src/lib/theme/devtools/CLI.ts +161 -76
  29. package/src/lib/theme/devtools/Comparator.tsx +343 -0
  30. package/src/lib/theme/devtools/IMPROVEMENTS.md +429 -0
  31. package/src/lib/theme/devtools/Inspector.tsx +21 -6
  32. package/src/lib/theme/devtools/LiveEditor.tsx +393 -0
  33. package/src/lib/theme/devtools/README.md +433 -0
  34. package/src/lib/theme/devtools/index.ts +12 -11
  35. package/src/lib/theme/generateCSSVariables.ts +79 -38
  36. package/src/lib/theme/index.ts +18 -2
  37. package/src/lib/theme/runtime/ThemeManager.test.ts +17 -1
  38. package/src/lib/theme/runtime/ThemeManager.ts +7 -7
  39. package/src/lib/theme/types.ts +42 -43
  40. package/src/lib/theme-tools.ts +7 -67
  41. package/src/lib/types/components.ts +69 -75
  42. package/src/styles/01-settings/_settings.navbar.scss +1 -1
  43. package/src/styles/03-generic/_generated-root.css +5 -0
  44. package/src/styles/06-components/_components.navbar.scss +12 -5
  45. package/src/themes/README.md +1 -2
  46. package/src/themes/themes.config.js +10 -194
  47. package/dist/themes/applemix.css +0 -16576
  48. package/dist/themes/applemix.css.map +0 -1
  49. package/dist/themes/applemix.min.css +0 -73
  50. package/dist/themes/boomdevs.css +0 -16007
  51. package/dist/themes/boomdevs.css.map +0 -1
  52. package/dist/themes/boomdevs.min.css +0 -406
  53. package/dist/themes/esrar.css +0 -18424
  54. package/dist/themes/esrar.css.map +0 -1
  55. package/dist/themes/esrar.min.css +0 -221
  56. package/dist/themes/flashtrade.css +0 -17596
  57. package/dist/themes/flashtrade.css.map +0 -1
  58. package/dist/themes/flashtrade.min.css +0 -196
  59. package/dist/themes/mashroom.css +0 -31082
  60. package/dist/themes/mashroom.css.map +0 -1
  61. package/dist/themes/mashroom.min.css +0 -450
  62. package/dist/themes/shaj-default.css +0 -17200
  63. package/dist/themes/shaj-default.css.map +0 -1
  64. package/dist/themes/shaj-default.min.css +0 -502
  65. package/src/lib/theme/__tests__/ThemeBuilder.test.ts +0 -223
  66. package/src/lib/theme/builders/ThemeBuilder.ts +0 -372
  67. package/src/lib/theme/errors.test.ts +0 -207
  68. package/src/lib/theme/generators/CSSGenerator.ts +0 -311
  69. package/src/lib/theme/generators/ConfigGenerator.ts +0 -287
  70. package/src/lib/theme/generators/TypeGenerator.ts +0 -228
  71. package/src/lib/theme/generators/index.ts +0 -21
  72. package/src/lib/theme/monitoring/ThemeAnalytics.ts +0 -409
  73. package/src/lib/theme/monitoring/index.ts +0 -17
  74. package/src/lib/theme/overrides/ComponentOverrides.ts +0 -243
  75. package/src/lib/theme/overrides/index.ts +0 -15
  76. package/src/lib/theme/whitelabel/WhiteLabelManager.ts +0 -364
  77. package/src/lib/theme/whitelabel/index.ts +0 -13
  78. package/src/themes/THEME_CHECKLIST.md +0 -74
  79. package/src/themes/applemix/01-settings/_index.scss +0 -24
  80. package/src/themes/applemix/01-settings/_settings.animations.scss +0 -0
  81. package/src/themes/applemix/01-settings/_settings.background.scss +0 -6
  82. package/src/themes/applemix/01-settings/_settings.colors.scss +0 -75
  83. package/src/themes/applemix/01-settings/_settings.config.scss +0 -15
  84. package/src/themes/applemix/01-settings/_settings.typography.scss +0 -30
  85. package/src/themes/applemix/02-tools/_index.scss +0 -4
  86. package/src/themes/applemix/03-generic/_index.scss +0 -7
  87. package/src/themes/applemix/04-elements/_index.scss +0 -7
  88. package/src/themes/applemix/05-objects/_index.scss +0 -7
  89. package/src/themes/applemix/06-components/_index.scss +0 -15
  90. package/src/themes/applemix/99-utilities/_index.scss +0 -7
  91. package/src/themes/applemix/README.md +0 -378
  92. package/src/themes/applemix/index.scss +0 -33
  93. package/src/themes/boomdevs/01-settings/_index.scss +0 -38
  94. package/src/themes/boomdevs/01-settings/_settings.accordion.scss +0 -12
  95. package/src/themes/boomdevs/01-settings/_settings.animations.scss +0 -11
  96. package/src/themes/boomdevs/01-settings/_settings.avatar.scss +0 -9
  97. package/src/themes/boomdevs/01-settings/_settings.badge.scss +0 -11
  98. package/src/themes/boomdevs/01-settings/_settings.border-radius.scss +0 -16
  99. package/src/themes/boomdevs/01-settings/_settings.border.scss +0 -10
  100. package/src/themes/boomdevs/01-settings/_settings.box-shadow.scss +0 -14
  101. package/src/themes/boomdevs/01-settings/_settings.breadcrumb.scss +0 -13
  102. package/src/themes/boomdevs/01-settings/_settings.breakpoints.scss +0 -15
  103. package/src/themes/boomdevs/01-settings/_settings.button.scss +0 -9
  104. package/src/themes/boomdevs/01-settings/_settings.callout.scss +0 -9
  105. package/src/themes/boomdevs/01-settings/_settings.card.scss +0 -11
  106. package/src/themes/boomdevs/01-settings/_settings.checkbox.scss +0 -9
  107. package/src/themes/boomdevs/01-settings/_settings.colors.scss +0 -145
  108. package/src/themes/boomdevs/01-settings/_settings.dropdown.scss +0 -11
  109. package/src/themes/boomdevs/01-settings/_settings.grid.scss +0 -16
  110. package/src/themes/boomdevs/01-settings/_settings.input.scss +0 -14
  111. package/src/themes/boomdevs/01-settings/_settings.link.scss +0 -11
  112. package/src/themes/boomdevs/01-settings/_settings.list.scss +0 -10
  113. package/src/themes/boomdevs/01-settings/_settings.modal.scss +0 -16
  114. package/src/themes/boomdevs/01-settings/_settings.navbar.scss +0 -16
  115. package/src/themes/boomdevs/01-settings/_settings.pagination.scss +0 -13
  116. package/src/themes/boomdevs/01-settings/_settings.progress.scss +0 -11
  117. package/src/themes/boomdevs/01-settings/_settings.rating.scss +0 -10
  118. package/src/themes/boomdevs/01-settings/_settings.spacing.scss +0 -33
  119. package/src/themes/boomdevs/01-settings/_settings.spinner.scss +0 -11
  120. package/src/themes/boomdevs/01-settings/_settings.steps.scss +0 -12
  121. package/src/themes/boomdevs/01-settings/_settings.tabs.scss +0 -12
  122. package/src/themes/boomdevs/01-settings/_settings.todo.scss +0 -15
  123. package/src/themes/boomdevs/01-settings/_settings.toggle.scss +0 -14
  124. package/src/themes/boomdevs/01-settings/_settings.tooltip.scss +0 -13
  125. package/src/themes/boomdevs/01-settings/_settings.typography.scss +0 -58
  126. package/src/themes/boomdevs/01-settings/_settings.video-player.scss +0 -12
  127. package/src/themes/boomdevs/02-tools/_index.scss +0 -7
  128. package/src/themes/boomdevs/03-generic/_index.scss +0 -7
  129. package/src/themes/boomdevs/04-elements/_index.scss +0 -7
  130. package/src/themes/boomdevs/05-objects/_index.scss +0 -7
  131. package/src/themes/boomdevs/06-components/_components.button.scss +0 -11
  132. package/src/themes/boomdevs/06-components/_index.scss +0 -11
  133. package/src/themes/boomdevs/99-utilities/_index.scss +0 -7
  134. package/src/themes/boomdevs/index.scss +0 -26
  135. package/src/themes/esrar/01-settings/_index.scss +0 -15
  136. package/src/themes/esrar/01-settings/_settings.colors.scss +0 -91
  137. package/src/themes/esrar/02-tools/_index.scss +0 -8
  138. package/src/themes/esrar/02-tools/_tools.animations.scss +0 -342
  139. package/src/themes/esrar/06-components/_components.accordion.scss +0 -49
  140. package/src/themes/esrar/06-components/_components.avatar-group.scss +0 -14
  141. package/src/themes/esrar/06-components/_components.avatar.scss +0 -61
  142. package/src/themes/esrar/06-components/_components.badge.scss +0 -117
  143. package/src/themes/esrar/06-components/_components.breadcrumb.scss +0 -65
  144. package/src/themes/esrar/06-components/_components.btn-group.scss +0 -19
  145. package/src/themes/esrar/06-components/_components.button.scss +0 -224
  146. package/src/themes/esrar/06-components/_components.callout.scss +0 -51
  147. package/src/themes/esrar/06-components/_components.card.scss +0 -134
  148. package/src/themes/esrar/06-components/_components.chart.scss +0 -24
  149. package/src/themes/esrar/06-components/_components.checkbox-group.scss +0 -26
  150. package/src/themes/esrar/06-components/_components.checkbox.scss +0 -71
  151. package/src/themes/esrar/06-components/_components.color-mode-toggle.scss +0 -29
  152. package/src/themes/esrar/06-components/_components.countdown.scss +0 -67
  153. package/src/themes/esrar/06-components/_components.data-table.scss +0 -22
  154. package/src/themes/esrar/06-components/_components.datepicker.scss +0 -20
  155. package/src/themes/esrar/06-components/_components.dropdown.scss +0 -272
  156. package/src/themes/esrar/06-components/_components.edge-panel.scss +0 -10
  157. package/src/themes/esrar/06-components/_components.form-group.scss +0 -15
  158. package/src/themes/esrar/06-components/_components.form.scss +0 -66
  159. package/src/themes/esrar/06-components/_components.hero.scss +0 -251
  160. package/src/themes/esrar/06-components/_components.icon.scss +0 -33
  161. package/src/themes/esrar/06-components/_components.image-gallery.scss +0 -29
  162. package/src/themes/esrar/06-components/_components.input.scss +0 -91
  163. package/src/themes/esrar/06-components/_components.list-group.scss +0 -26
  164. package/src/themes/esrar/06-components/_components.modal.scss +0 -148
  165. package/src/themes/esrar/06-components/_components.notification.scss +0 -80
  166. package/src/themes/esrar/06-components/_components.pagination.scss +0 -84
  167. package/src/themes/esrar/06-components/_components.popover.scss +0 -10
  168. package/src/themes/esrar/06-components/_components.progress.scss +0 -64
  169. package/src/themes/esrar/06-components/_components.rating.scss +0 -26
  170. package/src/themes/esrar/06-components/_components.skeleton.scss +0 -15
  171. package/src/themes/esrar/06-components/_components.slider.scss +0 -90
  172. package/src/themes/esrar/06-components/_components.spinner.scss +0 -71
  173. package/src/themes/esrar/06-components/_components.steps.scss +0 -76
  174. package/src/themes/esrar/06-components/_components.tab.scss +0 -58
  175. package/src/themes/esrar/06-components/_components.tag.scss +0 -21
  176. package/src/themes/esrar/06-components/_components.timeline.scss +0 -19
  177. package/src/themes/esrar/06-components/_components.toast.scss +0 -91
  178. package/src/themes/esrar/06-components/_components.toggle.scss +0 -74
  179. package/src/themes/esrar/06-components/_components.tooltip.scss +0 -45
  180. package/src/themes/esrar/06-components/_components.upload.scss +0 -102
  181. package/src/themes/esrar/06-components/_index.scss +0 -42
  182. package/src/themes/esrar/index.scss +0 -30
  183. package/src/themes/flashtrade/01-settings/_index.scss +0 -19
  184. package/src/themes/flashtrade/01-settings/_settings.animations.scss +0 -11
  185. package/src/themes/flashtrade/01-settings/_settings.background.scss +0 -9
  186. package/src/themes/flashtrade/01-settings/_settings.colors.scss +0 -79
  187. package/src/themes/flashtrade/01-settings/_settings.config.scss +0 -16
  188. package/src/themes/flashtrade/01-settings/_settings.typography.scss +0 -35
  189. package/src/themes/flashtrade/02-tools/_index.scss +0 -8
  190. package/src/themes/flashtrade/03-generic/_index.scss +0 -8
  191. package/src/themes/flashtrade/04-elements/_index.scss +0 -12
  192. package/src/themes/flashtrade/05-objects/_index.scss +0 -8
  193. package/src/themes/flashtrade/06-components/_components.badge.scss +0 -156
  194. package/src/themes/flashtrade/06-components/_components.button.scss +0 -135
  195. package/src/themes/flashtrade/06-components/_components.card.scss +0 -214
  196. package/src/themes/flashtrade/06-components/_components.navbar.scss +0 -227
  197. package/src/themes/flashtrade/06-components/_index.scss +0 -13
  198. package/src/themes/flashtrade/99-utilities/_index.scss +0 -9
  199. package/src/themes/flashtrade/99-utilities/_utilities.trading.scss +0 -187
  200. package/src/themes/flashtrade/README.md +0 -386
  201. package/src/themes/flashtrade/demo.html +0 -272
  202. package/src/themes/flashtrade/index.scss +0 -36
  203. package/src/themes/mashroom/01-settings/_index.scss +0 -69
  204. package/src/themes/mashroom/01-settings/_settings.accordion.scss +0 -32
  205. package/src/themes/mashroom/01-settings/_settings.animations.scss +0 -26
  206. package/src/themes/mashroom/01-settings/_settings.avatar-group.scss +0 -22
  207. package/src/themes/mashroom/01-settings/_settings.avatar.scss +0 -57
  208. package/src/themes/mashroom/01-settings/_settings.badge.scss +0 -19
  209. package/src/themes/mashroom/01-settings/_settings.border-radius.scss +0 -24
  210. package/src/themes/mashroom/01-settings/_settings.border.scss +0 -14
  211. package/src/themes/mashroom/01-settings/_settings.box-shadow.scss +0 -40
  212. package/src/themes/mashroom/01-settings/_settings.breadcrumb.scss +0 -0
  213. package/src/themes/mashroom/01-settings/_settings.breakpoints.scss +0 -17
  214. package/src/themes/mashroom/01-settings/_settings.btn-group.scss +0 -5
  215. package/src/themes/mashroom/01-settings/_settings.button.scss +0 -50
  216. package/src/themes/mashroom/01-settings/_settings.callout.scss +0 -81
  217. package/src/themes/mashroom/01-settings/_settings.card.scss +0 -52
  218. package/src/themes/mashroom/01-settings/_settings.checkbox-group.scss +0 -5
  219. package/src/themes/mashroom/01-settings/_settings.checkbox.scss +0 -23
  220. package/src/themes/mashroom/01-settings/_settings.color-mode.scss +0 -7
  221. package/src/themes/mashroom/01-settings/_settings.colors.scss +0 -180
  222. package/src/themes/mashroom/01-settings/_settings.config.scss +0 -4
  223. package/src/themes/mashroom/01-settings/_settings.countdown.scss +0 -20
  224. package/src/themes/mashroom/01-settings/_settings.data-table.scss +0 -56
  225. package/src/themes/mashroom/01-settings/_settings.datepicker.scss +0 -45
  226. package/src/themes/mashroom/01-settings/_settings.design-tokens.scss +0 -3
  227. package/src/themes/mashroom/01-settings/_settings.dropdown.scss +0 -45
  228. package/src/themes/mashroom/01-settings/_settings.edge-panel.scss +0 -24
  229. package/src/themes/mashroom/01-settings/_settings.fonts.scss +0 -8
  230. package/src/themes/mashroom/01-settings/_settings.form-group.scss +0 -14
  231. package/src/themes/mashroom/01-settings/_settings.form.scss +0 -6
  232. package/src/themes/mashroom/01-settings/_settings.grid.scss +0 -23
  233. package/src/themes/mashroom/01-settings/_settings.hero.scss +0 -41
  234. package/src/themes/mashroom/01-settings/_settings.input.scss +0 -51
  235. package/src/themes/mashroom/01-settings/_settings.link.scss +0 -13
  236. package/src/themes/mashroom/01-settings/_settings.list-group.scss +0 -16
  237. package/src/themes/mashroom/01-settings/_settings.list.scss +0 -13
  238. package/src/themes/mashroom/01-settings/_settings.masonry-grid.scss +0 -23
  239. package/src/themes/mashroom/01-settings/_settings.menu.scss +0 -50
  240. package/src/themes/mashroom/01-settings/_settings.messages.scss +0 -98
  241. package/src/themes/mashroom/01-settings/_settings.modal.scss +0 -41
  242. package/src/themes/mashroom/01-settings/_settings.nav.scss +0 -20
  243. package/src/themes/mashroom/01-settings/_settings.navbar.scss +0 -54
  244. package/src/themes/mashroom/01-settings/_settings.pagination.scss +0 -30
  245. package/src/themes/mashroom/01-settings/_settings.photoviewer.scss +0 -45
  246. package/src/themes/mashroom/01-settings/_settings.popover.scss +0 -20
  247. package/src/themes/mashroom/01-settings/_settings.position.scss +0 -9
  248. package/src/themes/mashroom/01-settings/_settings.progress.scss +0 -17
  249. package/src/themes/mashroom/01-settings/_settings.rating.scss +0 -11
  250. package/src/themes/mashroom/01-settings/_settings.river.scss +0 -50
  251. package/src/themes/mashroom/01-settings/_settings.sectionintro.scss +0 -31
  252. package/src/themes/mashroom/01-settings/_settings.select.scss +0 -47
  253. package/src/themes/mashroom/01-settings/_settings.side-menu.scss +0 -79
  254. package/src/themes/mashroom/01-settings/_settings.skeleton.scss +0 -24
  255. package/src/themes/mashroom/01-settings/_settings.spacing.scss +0 -66
  256. package/src/themes/mashroom/01-settings/_settings.spinner.scss +0 -34
  257. package/src/themes/mashroom/01-settings/_settings.steps.scss +0 -33
  258. package/src/themes/mashroom/01-settings/_settings.tabs.scss +0 -33
  259. package/src/themes/mashroom/01-settings/_settings.testimonials.scss +0 -24
  260. package/src/themes/mashroom/01-settings/_settings.todo.scss +0 -52
  261. package/src/themes/mashroom/01-settings/_settings.toggle.scss +0 -49
  262. package/src/themes/mashroom/01-settings/_settings.tooltip.scss +0 -20
  263. package/src/themes/mashroom/01-settings/_settings.typography.scss +0 -95
  264. package/src/themes/mashroom/01-settings/_settings.upload.scss +0 -96
  265. package/src/themes/mashroom/01-settings/_settings.z-layers.scss +0 -19
  266. package/src/themes/mashroom/02-tools/_index.scss +0 -8
  267. package/src/themes/mashroom/02-tools/_tools.psychedelic-gradients.scss +0 -78
  268. package/src/themes/mashroom/02-tools/_tools.trippy-effects.scss +0 -114
  269. package/src/themes/mashroom/03-generic/_index.scss +0 -6
  270. package/src/themes/mashroom/04-elements/_index.scss +0 -6
  271. package/src/themes/mashroom/05-objects/_index.scss +0 -6
  272. package/src/themes/mashroom/06-components/_components.accordion.scss +0 -187
  273. package/src/themes/mashroom/06-components/_components.avatar-group.scss +0 -276
  274. package/src/themes/mashroom/06-components/_components.avatar.scss +0 -114
  275. package/src/themes/mashroom/06-components/_components.badge.scss +0 -152
  276. package/src/themes/mashroom/06-components/_components.breadcrumb.scss +0 -162
  277. package/src/themes/mashroom/06-components/_components.btn-group.scss +0 -404
  278. package/src/themes/mashroom/06-components/_components.button.scss +0 -160
  279. package/src/themes/mashroom/06-components/_components.callout.scss +0 -140
  280. package/src/themes/mashroom/06-components/_components.card.scss +0 -225
  281. package/src/themes/mashroom/06-components/_components.checkbox.scss +0 -186
  282. package/src/themes/mashroom/06-components/_components.color-mode-toggle.scss +0 -308
  283. package/src/themes/mashroom/06-components/_components.countdown.scss +0 -402
  284. package/src/themes/mashroom/06-components/_components.data-table.scss +0 -354
  285. package/src/themes/mashroom/06-components/_components.datepicker.scss +0 -349
  286. package/src/themes/mashroom/06-components/_components.dropdown.scss +0 -334
  287. package/src/themes/mashroom/06-components/_components.edge-panel.scss +0 -413
  288. package/src/themes/mashroom/06-components/_components.form-group.scss +0 -433
  289. package/src/themes/mashroom/06-components/_components.form.scss +0 -358
  290. package/src/themes/mashroom/06-components/_components.hero.scss +0 -151
  291. package/src/themes/mashroom/06-components/_components.input.scss +0 -147
  292. package/src/themes/mashroom/06-components/_components.list-group.scss +0 -456
  293. package/src/themes/mashroom/06-components/_components.list.scss +0 -145
  294. package/src/themes/mashroom/06-components/_components.menu.scss +0 -497
  295. package/src/themes/mashroom/06-components/_components.messages.scss +0 -277
  296. package/src/themes/mashroom/06-components/_components.modal.scss +0 -264
  297. package/src/themes/mashroom/06-components/_components.nav.scss +0 -181
  298. package/src/themes/mashroom/06-components/_components.navbar.scss +0 -538
  299. package/src/themes/mashroom/06-components/_components.pagination.scss +0 -400
  300. package/src/themes/mashroom/06-components/_components.photoviewer.scss +0 -498
  301. package/src/themes/mashroom/06-components/_components.popover.scss +0 -383
  302. package/src/themes/mashroom/06-components/_components.product-review.scss +0 -408
  303. package/src/themes/mashroom/06-components/_components.progress.scss +0 -249
  304. package/src/themes/mashroom/06-components/_components.rating.scss +0 -300
  305. package/src/themes/mashroom/06-components/_components.river.scss +0 -570
  306. package/src/themes/mashroom/06-components/_components.sectionintro.scss +0 -546
  307. package/src/themes/mashroom/06-components/_components.select.scss +0 -455
  308. package/src/themes/mashroom/06-components/_components.side-menu.scss +0 -635
  309. package/src/themes/mashroom/06-components/_components.skeleton.scss +0 -447
  310. package/src/themes/mashroom/06-components/_components.slider.scss +0 -414
  311. package/src/themes/mashroom/06-components/_components.spinner.scss +0 -198
  312. package/src/themes/mashroom/06-components/_components.steps.scss +0 -350
  313. package/src/themes/mashroom/06-components/_components.tabs.scss +0 -269
  314. package/src/themes/mashroom/06-components/_components.testimonials.scss +0 -561
  315. package/src/themes/mashroom/06-components/_components.toggle.scss +0 -231
  316. package/src/themes/mashroom/06-components/_components.tooltip.scss +0 -167
  317. package/src/themes/mashroom/06-components/_components.upload.scss +0 -537
  318. package/src/themes/mashroom/06-components/_components.video-player.scss +0 -560
  319. package/src/themes/mashroom/06-components/_index.scss +0 -55
  320. package/src/themes/mashroom/99-utilities/_index.scss +0 -6
  321. package/src/themes/mashroom/index.scss +0 -26
  322. package/src/themes/shaj-default/01-settings/_index.scss +0 -69
  323. package/src/themes/shaj-default/01-settings/_settings.accordion.scss +0 -38
  324. package/src/themes/shaj-default/01-settings/_settings.animations.scss +0 -32
  325. package/src/themes/shaj-default/01-settings/_settings.avatar-group.scss +0 -28
  326. package/src/themes/shaj-default/01-settings/_settings.avatar.scss +0 -63
  327. package/src/themes/shaj-default/01-settings/_settings.badge.scss +0 -25
  328. package/src/themes/shaj-default/01-settings/_settings.border-radius.scss +0 -24
  329. package/src/themes/shaj-default/01-settings/_settings.border.scss +0 -20
  330. package/src/themes/shaj-default/01-settings/_settings.box-shadow.scss +0 -46
  331. package/src/themes/shaj-default/01-settings/_settings.breadcrumb.scss +0 -0
  332. package/src/themes/shaj-default/01-settings/_settings.breakpoints.scss +0 -23
  333. package/src/themes/shaj-default/01-settings/_settings.btn-group.scss +0 -11
  334. package/src/themes/shaj-default/01-settings/_settings.button.scss +0 -56
  335. package/src/themes/shaj-default/01-settings/_settings.callout.scss +0 -87
  336. package/src/themes/shaj-default/01-settings/_settings.card.scss +0 -52
  337. package/src/themes/shaj-default/01-settings/_settings.checkbox-group.scss +0 -11
  338. package/src/themes/shaj-default/01-settings/_settings.checkbox.scss +0 -29
  339. package/src/themes/shaj-default/01-settings/_settings.color-mode.scss +0 -13
  340. package/src/themes/shaj-default/01-settings/_settings.colors.scss +0 -91
  341. package/src/themes/shaj-default/01-settings/_settings.config.scss +0 -4
  342. package/src/themes/shaj-default/01-settings/_settings.countdown.scss +0 -26
  343. package/src/themes/shaj-default/01-settings/_settings.data-table.scss +0 -62
  344. package/src/themes/shaj-default/01-settings/_settings.datepicker.scss +0 -51
  345. package/src/themes/shaj-default/01-settings/_settings.design-tokens.scss +0 -9
  346. package/src/themes/shaj-default/01-settings/_settings.dropdown.scss +0 -51
  347. package/src/themes/shaj-default/01-settings/_settings.edge-panel.scss +0 -30
  348. package/src/themes/shaj-default/01-settings/_settings.fonts.scss +0 -13
  349. package/src/themes/shaj-default/01-settings/_settings.form-group.scss +0 -20
  350. package/src/themes/shaj-default/01-settings/_settings.form.scss +0 -12
  351. package/src/themes/shaj-default/01-settings/_settings.grid.scss +0 -29
  352. package/src/themes/shaj-default/01-settings/_settings.hero.scss +0 -47
  353. package/src/themes/shaj-default/01-settings/_settings.input.scss +0 -57
  354. package/src/themes/shaj-default/01-settings/_settings.link.scss +0 -19
  355. package/src/themes/shaj-default/01-settings/_settings.list-group.scss +0 -22
  356. package/src/themes/shaj-default/01-settings/_settings.list.scss +0 -19
  357. package/src/themes/shaj-default/01-settings/_settings.masonry-grid.scss +0 -29
  358. package/src/themes/shaj-default/01-settings/_settings.menu.scss +0 -56
  359. package/src/themes/shaj-default/01-settings/_settings.messages.scss +0 -104
  360. package/src/themes/shaj-default/01-settings/_settings.modal.scss +0 -47
  361. package/src/themes/shaj-default/01-settings/_settings.nav.scss +0 -26
  362. package/src/themes/shaj-default/01-settings/_settings.navbar.scss +0 -60
  363. package/src/themes/shaj-default/01-settings/_settings.pagination.scss +0 -36
  364. package/src/themes/shaj-default/01-settings/_settings.photoviewer.scss +0 -51
  365. package/src/themes/shaj-default/01-settings/_settings.popover.scss +0 -26
  366. package/src/themes/shaj-default/01-settings/_settings.position.scss +0 -15
  367. package/src/themes/shaj-default/01-settings/_settings.progress.scss +0 -23
  368. package/src/themes/shaj-default/01-settings/_settings.rating.scss +0 -17
  369. package/src/themes/shaj-default/01-settings/_settings.river.scss +0 -56
  370. package/src/themes/shaj-default/01-settings/_settings.sectionintro.scss +0 -37
  371. package/src/themes/shaj-default/01-settings/_settings.select.scss +0 -53
  372. package/src/themes/shaj-default/01-settings/_settings.side-menu.scss +0 -85
  373. package/src/themes/shaj-default/01-settings/_settings.skeleton.scss +0 -30
  374. package/src/themes/shaj-default/01-settings/_settings.spacing.scss +0 -72
  375. package/src/themes/shaj-default/01-settings/_settings.spinner.scss +0 -24
  376. package/src/themes/shaj-default/01-settings/_settings.steps.scss +0 -39
  377. package/src/themes/shaj-default/01-settings/_settings.tabs.scss +0 -39
  378. package/src/themes/shaj-default/01-settings/_settings.testimonials.scss +0 -30
  379. package/src/themes/shaj-default/01-settings/_settings.todo.scss +0 -58
  380. package/src/themes/shaj-default/01-settings/_settings.toggle.scss +0 -55
  381. package/src/themes/shaj-default/01-settings/_settings.tooltip.scss +0 -26
  382. package/src/themes/shaj-default/01-settings/_settings.typography.scss +0 -101
  383. package/src/themes/shaj-default/01-settings/_settings.upload.scss +0 -102
  384. package/src/themes/shaj-default/01-settings/_settings.z-layers.scss +0 -25
  385. package/src/themes/shaj-default/02-tools/_index.scss +0 -0
  386. package/src/themes/shaj-default/03-generic/_generic.root.scss +0 -0
  387. package/src/themes/shaj-default/03-generic/_index.scss +0 -2
  388. package/src/themes/shaj-default/04-elements/_index.scss +0 -0
  389. package/src/themes/shaj-default/05-objects/_index.scss +0 -0
  390. package/src/themes/shaj-default/06-components/_components.button.scss +0 -55
  391. package/src/themes/shaj-default/06-components/_components.card.scss +0 -57
  392. package/src/themes/shaj-default/06-components/_components.input.scss +0 -58
  393. package/src/themes/shaj-default/06-components/_components.navbar.scss +0 -99
  394. package/src/themes/shaj-default/06-components/_components.tooltip.scss +0 -0
  395. package/src/themes/shaj-default/06-components/_index.scss +0 -13
  396. package/src/themes/shaj-default/99-utilities/_index.scss +0 -0
  397. package/src/themes/shaj-default/index.scss +0 -25
  398. package/theme.config.ts +0 -360
@@ -1,162 +0,0 @@
1
- /*!
2
- * Mashroom Theme Breadcrumb Component
3
- * Psychedelic mushroom-inspired theme with trippy visuals
4
- */
5
-
6
- // Import required tools and settings
7
- @use '../02-tools/tools.trippy-effects' as trippy;
8
- @use '../02-tools/tools.psychedelic-gradients' as gradients;
9
- @use '../01-settings/settings.colors' as *;
10
-
11
- // Psychedelic breadcrumb animations
12
- @keyframes breadcrumb-float {
13
- 0%,
14
- 100% {
15
- transform: translateY(0px);
16
- }
17
- 50% {
18
- transform: translateY(-3px);
19
- }
20
- }
21
-
22
- @keyframes breadcrumb-glow-pulse {
23
- 0%,
24
- 100% {
25
- box-shadow: 0 0 5px rgba(157, 0, 255, 0.5);
26
- }
27
- 50% {
28
- box-shadow:
29
- 0 0 15px rgba(157, 0, 255, 0.8),
30
- 0 0 25px rgba(255, 32, 133, 0.6);
31
- }
32
- }
33
-
34
- @keyframes breadcrumb-item-pulse {
35
- 0%,
36
- 100% {
37
- text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
38
- }
39
- 50% {
40
- text-shadow:
41
- 0 0 10px rgba(255, 255, 255, 0.8),
42
- 0 0 20px rgba(157, 0, 255, 0.6);
43
- }
44
- }
45
-
46
- .c-breadcrumb {
47
- $root: &;
48
-
49
- // Apply psychedelic gradient background
50
- @include gradients.rainbow-gradient();
51
- background-size: 300% 300%;
52
-
53
- // Add floating animation for a magical effect
54
- @include trippy.float-animation();
55
-
56
- // Add color shift for extra psychedelic effect
57
- @include trippy.color-shift();
58
-
59
- // Add pulse animation
60
- animation:
61
- rainbow-shift 4s ease infinite,
62
- breadcrumb-glow-pulse 2s infinite;
63
-
64
- padding: 0.75rem 1rem;
65
- border-radius: 0.5rem;
66
- margin-bottom: 1rem;
67
-
68
- // Breadcrumb item
69
- &__item {
70
- display: inline-block;
71
- color: white;
72
- text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
73
-
74
- // Add glow effect to breadcrumb items
75
- @include trippy.trippy-glow(rgba(255, 255, 255, 0.3), 5px);
76
-
77
- // Add pulse animation
78
- animation: breadcrumb-item-pulse 3s infinite;
79
-
80
- // Hover state
81
- &:hover {
82
- @include trippy.trippy-glow($red-4, 10px);
83
- transform: scale(1.05) rotate(2deg);
84
- transition: all 0.3s ease;
85
- animation: breadcrumb-item-pulse 1s infinite;
86
- }
87
- }
88
-
89
- // Separator between breadcrumb items
90
- &__separator {
91
- margin: 0 0.5rem;
92
- color: rgba(255, 255, 255, 0.7);
93
-
94
- // Add subtle pulse effect to separators
95
- @include trippy.psychedelic-pulse(rgba(255, 255, 255, 0.5));
96
-
97
- // Add floating effect
98
- @include trippy.float-animation();
99
- animation-duration: 3s;
100
- }
101
-
102
- // Active breadcrumb item
103
- &__item--active {
104
- color: $yellow-4;
105
- font-weight: bold;
106
-
107
- // Add stronger glow effect to active item
108
- @include trippy.trippy-glow($yellow-4, 15px);
109
-
110
- // Add pulse animation
111
- animation: breadcrumb-item-pulse 1s infinite;
112
- }
113
-
114
- // Psychedelic variant
115
- &--psychedelic {
116
- @include gradients.rainbow-gradient();
117
- background-size: 400% 400%;
118
- animation: rainbow-shift 2s ease infinite;
119
- border: 1px solid transparent;
120
-
121
- #{$root}__item {
122
- @include gradients.rainbow-gradient();
123
- background-clip: text;
124
- -webkit-background-clip: text;
125
- color: transparent;
126
- background-size: 200% 200%;
127
- animation: rainbow-shift 3s linear infinite;
128
-
129
- &:hover {
130
- animation: rainbow-shift 1s linear infinite;
131
- @include trippy.trippy-glow(white, 20px);
132
- }
133
- }
134
-
135
- #{$root}__item--active {
136
- @include gradients.rainbow-gradient();
137
- background-clip: text;
138
- -webkit-background-clip: text;
139
- color: transparent;
140
- background-size: 200% 200%;
141
- animation: rainbow-shift 2s linear infinite;
142
- }
143
- }
144
-
145
- // Glowing variant
146
- &--glow {
147
- @include trippy.trippy-glow($purple-4, 20px);
148
- animation: breadcrumb-glow-pulse 1s infinite;
149
-
150
- #{$root}__item {
151
- @include trippy.trippy-glow(rgba(255, 255, 255, 0.2), 10px);
152
-
153
- &:hover {
154
- @include trippy.trippy-glow($red-4, 15px);
155
- }
156
- }
157
-
158
- #{$root}__item--active {
159
- @include trippy.trippy-glow($yellow-4, 25px);
160
- }
161
- }
162
- }
@@ -1,404 +0,0 @@
1
- /*!
2
- * Mashroom Theme Button Group Component
3
- * Psychedelic mushroom-inspired button grouping with trippy effects
4
- */
5
-
6
- // Import required tools and settings
7
- @use '../02-tools/tools.trippy-effects' as trippy;
8
- @use '../02-tools/tools.psychedelic-gradients' as gradients;
9
- @use '../01-settings/settings.colors' as *;
10
-
11
- // Psychedelic button group animations
12
- @keyframes btn-group-float {
13
- 0%,
14
- 100% {
15
- transform: translateY(0px);
16
- }
17
- 50% {
18
- transform: translateY(-3px);
19
- }
20
- }
21
-
22
- @keyframes btn-group-glow-pulse {
23
- 0%,
24
- 100% {
25
- box-shadow: 0 4px 20px rgba(157, 0, 255, 0.3);
26
- }
27
- 50% {
28
- box-shadow:
29
- 0 4px 20px rgba(157, 0, 255, 0.5),
30
- 0 0 30px rgba(255, 32, 133, 0.4),
31
- 0 0 50px rgba(255, 187, 0, 0.3);
32
- }
33
- }
34
-
35
- @keyframes btn-group-background-float {
36
- 0%,
37
- 100% {
38
- opacity: 0.3;
39
- transform: scale(1);
40
- }
41
- 50% {
42
- opacity: 0.6;
43
- transform: scale(1.05);
44
- }
45
- }
46
-
47
- @keyframes btn-group-button-pulse {
48
- 0%,
49
- 100% {
50
- transform: translateY(-2px) scale(1);
51
- }
52
- 50% {
53
- transform: translateY(-2px) scale(1.05);
54
- }
55
- }
56
-
57
- .c-btn-group {
58
- $root: &;
59
-
60
- box-shadow: 0 4px 20px rgba(157, 0, 255, 0.3);
61
-
62
- // Add floating animation
63
- @include trippy.float-animation();
64
- animation-duration: 5s;
65
-
66
- // Mushroom cap curve effect
67
- border-radius: 12px 12px 6px 6px;
68
-
69
- // Animated background particles
70
- &::before {
71
- content: '';
72
- position: absolute;
73
- top: 0;
74
- left: 0;
75
- right: 0;
76
- bottom: 0;
77
- background:
78
- radial-gradient(circle at 20% 20%, rgba(255, 187, 0, 0.1) 0%, transparent 50%),
79
- radial-gradient(circle at 80% 80%, rgba(157, 0, 255, 0.1) 0%, transparent 50%);
80
- animation: btn-group-background-float 8s ease-in-out infinite;
81
- pointer-events: none;
82
- z-index: 0;
83
- }
84
-
85
- @keyframes btn-group-background-float {
86
- 0%,
87
- 100% {
88
- opacity: 0.3;
89
- transform: scale(1);
90
- }
91
- 50% {
92
- opacity: 0.6;
93
- transform: scale(1.05);
94
- }
95
- }
96
-
97
- // Individual buttons in group
98
- .c-btn {
99
- position: relative;
100
- border: none;
101
- border-radius: 0;
102
- margin: 0;
103
- flex: 1;
104
- transition: all 0.3s ease;
105
- z-index: 1;
106
-
107
- // Remove default button styling
108
- background: transparent;
109
- color: $white;
110
- font-weight: 600;
111
- padding: 0.75rem 1.5rem;
112
-
113
- // Add floating animation to buttons
114
- @include trippy.float-animation();
115
- animation-duration: 4s;
116
-
117
- // Mushroom stem border
118
- &:not(:last-child) {
119
- border-right: 1px solid rgba(157, 0, 255, 0.3);
120
- }
121
-
122
- // Hover effects
123
- &:hover {
124
- background: rgba(157, 0, 255, 0.2);
125
- transform: translateY(-2px);
126
- @include trippy.trippy-glow(rgba(255, 187, 0, 0.4), 8px);
127
- }
128
-
129
- // Active state
130
- &:active,
131
- &.is-active {
132
- background: linear-gradient(45deg, $purple-4, $red-4);
133
- color: $white;
134
- @include trippy.trippy-glow(rgba(255, 187, 0, 0.6), 12px);
135
- animation: btn-group-button-pulse 2s ease-in-out infinite;
136
- }
137
-
138
- @keyframes btn-group-button-pulse {
139
- 0%,
140
- 100% {
141
- transform: translateY(-2px) scale(1);
142
- }
143
- 50% {
144
- transform: translateY(-2px) scale(1.05);
145
- }
146
- }
147
-
148
- // Focus state
149
- &:focus {
150
- outline: none;
151
- @include trippy.trippy-glow(rgba(255, 187, 0, 0.5), 10px);
152
- z-index: 2;
153
- }
154
-
155
- // Disabled state
156
- &:disabled {
157
- opacity: 0.5;
158
- cursor: not-allowed;
159
- transform: none;
160
- @include trippy.trippy-glow(none, 0);
161
- }
162
- }
163
-
164
- // Size variants
165
- &--sm {
166
- .c-btn {
167
- padding: 0.5rem 1rem;
168
- font-size: 0.875rem;
169
- }
170
- }
171
-
172
- &--lg {
173
- .c-btn {
174
- padding: 1rem 2rem;
175
- font-size: 1.125rem;
176
- }
177
- }
178
-
179
- // Vertical orientation
180
- &--vertical {
181
- flex-direction: column;
182
- border-radius: 12px 6px 6px 12px;
183
-
184
- .c-btn {
185
- &:not(:last-child) {
186
- border-right: none;
187
- border-bottom: 1px solid rgba(157, 0, 255, 0.3);
188
- }
189
-
190
- &:hover {
191
- transform: translateX(2px);
192
- }
193
-
194
- &:active,
195
- &.is-active {
196
- transform: translateX(2px);
197
- @keyframes btn-group-button-pulse {
198
- 0%,
199
- 100% {
200
- transform: translateX(2px) scale(1);
201
- }
202
- 50% {
203
- transform: translateX(2px) scale(1.05);
204
- }
205
- }
206
- }
207
- }
208
- }
209
-
210
- // Rounded variant
211
- &--rounded {
212
- border-radius: 50px;
213
-
214
- .c-btn {
215
- &:first-child {
216
- border-top-left-radius: 50px;
217
- border-bottom-left-radius: 50px;
218
- }
219
-
220
- &:last-child {
221
- border-top-right-radius: 50px;
222
- border-bottom-right-radius: 50px;
223
- }
224
- }
225
-
226
- &--vertical {
227
- border-radius: 50px;
228
-
229
- .c-btn {
230
- &:first-child {
231
- border-top-left-radius: 50px;
232
- border-top-right-radius: 50px;
233
- border-bottom-left-radius: 0;
234
- }
235
-
236
- &:last-child {
237
- border-bottom-left-radius: 50px;
238
- border-bottom-right-radius: 50px;
239
- border-top-right-radius: 0;
240
- }
241
- }
242
- }
243
- }
244
-
245
- // Psychedelic variant
246
- &--psychedelic {
247
- background: linear-gradient(135deg, $purple-4, $yellow-4, $red-4, $green-4);
248
- background-size: 400% 400%;
249
- animation: psychedelicShift 8s ease infinite;
250
-
251
- .c-btn {
252
- &:hover {
253
- background: rgba(0, 0, 0, 0.2);
254
- }
255
-
256
- &:active,
257
- &.is-active {
258
- background: rgba(255, 255, 255, 0.2);
259
- color: $black;
260
- }
261
- }
262
- }
263
-
264
- @keyframes psychedelicShift {
265
- 0% {
266
- background-position: 0% 50%;
267
- }
268
- 50% {
269
- background-position: 100% 50%;
270
- }
271
- 100% {
272
- background-position: 0% 50%;
273
- }
274
- }
275
-
276
- // Glow variant
277
- &--glow {
278
- @include trippy.trippy-glow(rgba(157, 0, 255, 0.4), 15px);
279
- animation: btn-group-glow-pulse 2s infinite;
280
-
281
- &:hover {
282
- @include trippy.trippy-glow(rgba(255, 187, 0, 0.6), 20px);
283
- animation: btn-group-glow-pulse 1s infinite;
284
- }
285
- }
286
-
287
- // Dark variant
288
- &--dark {
289
- background: rgba(0, 0, 0, 0.8);
290
- border: 1px solid rgba(157, 0, 255, 0.5);
291
-
292
- .c-btn {
293
- &:hover {
294
- background: rgba(157, 0, 255, 0.3);
295
- }
296
-
297
- &:active,
298
- &.is-active {
299
- background: linear-gradient(45deg, $purple-5, $red-5);
300
- }
301
- }
302
- }
303
-
304
- // Light variant
305
- &--light {
306
- background: rgba(255, 255, 255, 0.1);
307
- border: 1px solid rgba(157, 0, 255, 0.3);
308
-
309
- .c-btn {
310
- color: $black;
311
-
312
- &:hover {
313
- background: rgba(157, 0, 255, 0.1);
314
- }
315
-
316
- &:active,
317
- &.is-active {
318
- background: linear-gradient(45deg, $purple-3, $red-3);
319
- color: $white;
320
- }
321
- }
322
- }
323
-
324
- // Floating spore particles
325
- &__spore {
326
- position: absolute;
327
- width: 3px;
328
- height: 3px;
329
- background: radial-gradient(circle, $yellow-4, transparent);
330
- border-radius: 50%;
331
- animation: float 6s ease-in-out infinite;
332
- pointer-events: none;
333
- z-index: 2;
334
-
335
- &:nth-child(odd) {
336
- animation-delay: -2s;
337
- }
338
-
339
- &:nth-child(even) {
340
- animation-delay: -4s;
341
- }
342
- }
343
-
344
- @keyframes float {
345
- 0% {
346
- transform: translateY(0) translateX(0) scale(0);
347
- opacity: 0;
348
- }
349
- 10% {
350
- opacity: 1;
351
- }
352
- 90% {
353
- opacity: 1;
354
- }
355
- 100% {
356
- transform: translateY(-50px) translateX(10px) scale(1);
357
- opacity: 0;
358
- }
359
- }
360
-
361
- // Responsive
362
- @media (max-width: 768px) {
363
- flex-direction: column;
364
- border-radius: 12px 6px 6px 12px;
365
-
366
- .c-btn {
367
- &:not(:last-child) {
368
- border-right: none;
369
- border-bottom: 1px solid rgba(157, 0, 255, 0.3);
370
- }
371
- }
372
-
373
- &--vertical {
374
- .c-btn {
375
- &:hover {
376
- transform: translateX(0);
377
- }
378
-
379
- &:active,
380
- &.is-active {
381
- transform: translateX(0);
382
- }
383
- }
384
- }
385
- }
386
-
387
- @media (max-width: 480px) {
388
- .c-btn {
389
- padding: 0.5rem 1rem;
390
- font-size: 0.875rem;
391
- }
392
- }
393
-
394
- // Floating variant
395
- &--floating {
396
- @include trippy.float-animation();
397
- animation-duration: 3s;
398
-
399
- .c-btn {
400
- @include trippy.float-animation();
401
- animation-duration: 2s;
402
- }
403
- }
404
- }
@@ -1,160 +0,0 @@
1
- /*!
2
- * Mashroom Theme Button Component
3
- * Psychedelic mushroom-inspired theme with trippy visuals
4
- */
5
-
6
- // Import required tools and settings
7
- @use '../01-settings/settings.colors' as *;
8
- @use '../01-settings/settings.button' as btn;
9
- @use '../02-tools/tools.trippy-effects' as trippy;
10
- @use '../02-tools/tools.psychedelic-gradients' as gradients;
11
-
12
- // Psychedelic button animations
13
- @keyframes psychedelic-button-shift {
14
- 0% {
15
- filter: hue-rotate(0deg) brightness(1);
16
- }
17
- 25% {
18
- filter: hue-rotate(90deg) brightness(1.2);
19
- }
20
- 50% {
21
- filter: hue-rotate(180deg) brightness(1);
22
- }
23
- 75% {
24
- filter: hue-rotate(270deg) brightness(1.1);
25
- }
26
- 100% {
27
- filter: hue-rotate(360deg) brightness(1);
28
- }
29
- }
30
-
31
- @keyframes button-3d-pulse {
32
- 0%,
33
- 100% {
34
- transform: scale(1) translateZ(0);
35
- box-shadow:
36
- 0 4px 6px rgba(0, 0, 0, 0.1),
37
- 0 0 10px var(--atomix-btn-border-color);
38
- }
39
- 50% {
40
- transform: scale(1.05) translateZ(10px);
41
- box-shadow:
42
- 0 10px 20px rgba(0, 0, 0, 0.2),
43
- 0 0 30px var(--atomix-btn-border-color),
44
- 0 0 50px rgba(255, 255, 255, 0.3);
45
- }
46
- }
47
-
48
- // Button styles with psychedelic theme
49
- .c-btn {
50
- // Apply trippy glow effect
51
- @include trippy.trippy-glow(var(--atomix-btn-border-color), 12px);
52
-
53
- // Add float animation for a magical effect
54
- @include trippy.float-animation();
55
- @include trippy.color-shift();
56
-
57
- // Add 3D pulse effect
58
- animation: button-3d-pulse 3s infinite;
59
-
60
- // Add psychedelic shifting
61
- animation:
62
- psychedelic-button-shift 5s infinite linear,
63
- button-3d-pulse 3s infinite ease-in-out;
64
-
65
- // Hover state with enhanced psychedelic effects
66
- &:hover {
67
- @include gradients.psychedelic-linear-gradient(
68
- var(--atomix-btn-color),
69
- var(--atomix-btn-border-color)
70
- );
71
- transform: scale(1.1) rotate(3deg);
72
- @include trippy.psychedelic-pulse(var(--atomix-btn-bg));
73
-
74
- // Enhance animations on hover
75
- animation:
76
- psychedelic-button-shift 1s infinite linear,
77
- button-3d-pulse 1s infinite ease-in-out;
78
- }
79
-
80
- // Focus state
81
- &:focus {
82
- outline: none;
83
- @include trippy.trippy-glow($yellow-4, 20px);
84
- animation:
85
- psychedelic-button-shift 0.5s infinite linear,
86
- button-3d-pulse 0.5s infinite ease-in-out;
87
- }
88
-
89
- // Active state
90
- &:active {
91
- transform: scale(0.95) rotate(-3deg);
92
- @include trippy.trippy-glow($red-4, 25px);
93
- }
94
-
95
- // Disabled state
96
- &:disabled {
97
- animation: none;
98
- opacity: 0.6;
99
- cursor: not-allowed;
100
- @include trippy.trippy-glow(rgba(128, 128, 128, 0.3), 2px);
101
- }
102
-
103
- // Psychedelic variant
104
- &--psychedelic {
105
- @include gradients.rainbow-gradient();
106
- background-size: 300% 300%;
107
- border: none;
108
- animation: rainbow-shift 4s ease infinite;
109
-
110
- &:hover {
111
- animation: rainbow-shift 1s linear infinite;
112
- transform: scale(1.1) rotate(5deg);
113
- @include trippy.trippy-glow(white, 30px);
114
- }
115
-
116
- &:active {
117
- transform: scale(0.95) rotate(-5deg);
118
- }
119
- }
120
-
121
- // 3D variant
122
- &--3d {
123
- border-radius: 15px;
124
- position: relative;
125
- transform-style: preserve-3d;
126
-
127
- &::before {
128
- content: '';
129
- position: absolute;
130
- top: 0;
131
- left: 0;
132
- width: 100%;
133
- height: 100%;
134
- background: inherit;
135
- filter: blur(10px);
136
- opacity: 0.7;
137
- z-index: -1;
138
- transform: translateZ(-20px);
139
- }
140
-
141
- &:hover {
142
- transform: translateZ(20px) scale(1.05);
143
- }
144
-
145
- &:active {
146
- transform: translateZ(0) scale(0.95);
147
- }
148
- }
149
-
150
- // Glowing variant
151
- &--glow {
152
- @include trippy.trippy-glow(var(--atomix-btn-bg), 20px);
153
- animation: button-3d-pulse 2s infinite ease-in-out;
154
-
155
- &:hover {
156
- @include trippy.trippy-glow(var(--atomix-btn-bg), 40px);
157
- animation: button-3d-pulse 0.5s infinite ease-in-out;
158
- }
159
- }
160
- }