@shohojdhara/atomix 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/atomix.css +309 -105
  2. package/dist/atomix.min.css +3 -5
  3. package/dist/index.d.ts +804 -53
  4. package/dist/index.esm.js +16367 -16413
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +16275 -16336
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.min.js +1 -1
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/themes/applemix.css +309 -105
  11. package/dist/themes/applemix.min.css +5 -7
  12. package/dist/themes/boomdevs.css +202 -10
  13. package/dist/themes/boomdevs.min.css +3 -5
  14. package/dist/themes/esrar.css +309 -105
  15. package/dist/themes/esrar.min.css +4 -6
  16. package/dist/themes/flashtrade.css +310 -105
  17. package/dist/themes/flashtrade.min.css +5 -7
  18. package/dist/themes/mashroom.css +300 -96
  19. package/dist/themes/mashroom.min.css +4 -6
  20. package/dist/themes/shaj-default.css +300 -96
  21. package/dist/themes/shaj-default.min.css +4 -6
  22. package/package.json +1 -1
  23. package/src/components/AtomixGlass/AtomixGlass.test.tsx +21 -32
  24. package/src/components/AtomixGlass/AtomixGlass.tsx +55 -42
  25. package/src/components/AtomixGlass/AtomixGlassContainer.tsx +205 -57
  26. package/src/components/AtomixGlass/GlassFilter.tsx +22 -8
  27. package/src/components/AtomixGlass/__snapshots__/AtomixGlass.test.tsx.snap +221 -0
  28. package/src/components/AtomixGlass/atomixGLass.old.tsx +0 -3
  29. package/src/components/AtomixGlass/shader-utils.ts +8 -0
  30. package/src/components/AtomixGlass/stories/AtomixGlass.stories.tsx +319 -100
  31. package/src/components/AtomixGlass/stories/Examples.stories.tsx +601 -105
  32. package/src/components/AtomixGlass/stories/Modes.stories.tsx +30 -12
  33. package/src/components/AtomixGlass/stories/Playground.stories.tsx +173 -38
  34. package/src/components/AtomixGlass/stories/ShaderVariants.stories.tsx +18 -18
  35. package/src/components/AtomixGlass/stories/shared-components.tsx +27 -5
  36. package/src/components/Button/Button.tsx +62 -17
  37. package/src/components/Callout/Callout.test.tsx +8 -14
  38. package/src/components/Card/Card.tsx +103 -1
  39. package/src/components/Card/index.ts +3 -2
  40. package/src/components/Icon/index.ts +1 -1
  41. package/src/components/Modal/Modal.stories.tsx +29 -38
  42. package/src/components/Modal/Modal.tsx +4 -4
  43. package/src/components/Navigation/SideMenu/SideMenu.tsx +49 -41
  44. package/src/components/Navigation/SideMenu/SideMenuItem.tsx +63 -24
  45. package/src/components/Popover/Popover.tsx +1 -1
  46. package/src/components/VideoPlayer/VideoPlayer.stories.tsx +977 -400
  47. package/src/components/VideoPlayer/VideoPlayer.tsx +1 -6
  48. package/src/lib/composables/shared-mouse-tracker.ts +133 -0
  49. package/src/lib/composables/useAtomixGlass.ts +303 -115
  50. package/src/lib/theme/ThemeManager.integration.test.ts +124 -0
  51. package/src/lib/theme/ThemeManager.stories.tsx +13 -13
  52. package/src/lib/theme/ThemeManager.test.ts +4 -0
  53. package/src/lib/theme/ThemeManager.ts +203 -59
  54. package/src/lib/theme/ThemeProvider.tsx +183 -33
  55. package/src/lib/theme/composeTheme.ts +375 -0
  56. package/src/lib/theme/createTheme.test.ts +475 -0
  57. package/src/lib/theme/createTheme.ts +510 -0
  58. package/src/lib/theme/generateCSSVariables.ts +713 -0
  59. package/src/lib/theme/index.ts +67 -0
  60. package/src/lib/theme/themeUtils.ts +333 -0
  61. package/src/lib/theme/types.ts +337 -8
  62. package/src/lib/theme/useTheme.test.tsx +2 -1
  63. package/src/lib/theme/useTheme.ts +6 -22
  64. package/src/lib/types/components.ts +148 -59
  65. package/src/styles/01-settings/_index.scss +2 -2
  66. package/src/styles/01-settings/_settings.badge.scss +2 -2
  67. package/src/styles/01-settings/_settings.border-radius.scss +1 -1
  68. package/src/styles/01-settings/{_settings.maps.scss → _settings.design-tokens.scss} +163 -49
  69. package/src/styles/01-settings/_settings.modal.scss +1 -1
  70. package/src/styles/01-settings/_settings.spacing.scss +14 -13
  71. package/src/styles/03-generic/_generic.root.scss +131 -50
  72. package/src/styles/05-objects/_objects.block.scss +1 -1
  73. package/src/styles/06-components/_components.atomix-glass.scss +20 -22
  74. package/src/styles/06-components/_components.badge.scss +2 -2
  75. package/src/styles/06-components/_components.button.scss +1 -1
  76. package/src/styles/06-components/_components.callout.scss +1 -1
  77. package/src/styles/06-components/_components.card.scss +74 -2
  78. package/src/styles/06-components/_components.chart.scss +1 -1
  79. package/src/styles/06-components/_components.dropdown.scss +6 -0
  80. package/src/styles/06-components/_components.footer.scss +1 -1
  81. package/src/styles/06-components/_components.list-group.scss +1 -1
  82. package/src/styles/06-components/_components.list.scss +1 -1
  83. package/src/styles/06-components/_components.menu.scss +1 -1
  84. package/src/styles/06-components/_components.messages.scss +1 -1
  85. package/src/styles/06-components/_components.modal.scss +7 -2
  86. package/src/styles/06-components/_components.navbar.scss +1 -1
  87. package/src/styles/06-components/_components.popover.scss +10 -0
  88. package/src/styles/06-components/_components.product-review.scss +1 -1
  89. package/src/styles/06-components/_components.progress.scss +1 -1
  90. package/src/styles/06-components/_components.rating.scss +1 -1
  91. package/src/styles/06-components/_components.spinner.scss +1 -1
  92. package/src/styles/99-utilities/_utilities.background.scss +1 -1
  93. package/src/styles/99-utilities/_utilities.border.scss +1 -1
  94. package/src/styles/99-utilities/_utilities.link.scss +1 -1
  95. package/src/styles/99-utilities/_utilities.text.scss +1 -1
@@ -68,15 +68,58 @@ export const HeroExample: Story = {
68
68
  style={{ maxWidth: '900px' }}
69
69
  onClick={() => {}}
70
70
  >
71
- <div className="u-p-6 u-text-white">
72
- <h1 className="u-mt-0 u-fs-1 u-fw-bold">Modern Glass UI</h1>
73
- <p className="u-fs-4 u-mb-4">
71
+ <div className="u-p-6 u-text-white" style={{ padding: '48px 40px', textAlign: 'center' }}>
72
+ <div
73
+ style={{
74
+ width: '96px',
75
+ height: '96px',
76
+ margin: '0 auto 32px',
77
+ borderRadius: '24px',
78
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
79
+ display: 'flex',
80
+ alignItems: 'center',
81
+ justifyContent: 'center',
82
+ fontSize: '48px',
83
+ boxShadow: '0 16px 40px rgba(102, 126, 234, 0.5)',
84
+ }}
85
+ >
86
+
87
+ </div>
88
+ <h1
89
+ className="u-mt-0 u-fs-1 u-fw-bold"
90
+ style={{
91
+ fontSize: '48px',
92
+ marginBottom: '20px',
93
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%)',
94
+ WebkitBackgroundClip: 'text',
95
+ WebkitTextFillColor: 'transparent',
96
+ backgroundClip: 'text',
97
+ letterSpacing: '-1px',
98
+ }}
99
+ >
100
+ Modern Glass UI
101
+ </h1>
102
+ <p
103
+ className="u-fs-4 u-mb-4"
104
+ style={{
105
+ fontSize: '18px',
106
+ lineHeight: 1.7,
107
+ color: 'rgba(255, 255, 255, 0.9)',
108
+ maxWidth: '600px',
109
+ margin: '0 auto 32px',
110
+ }}
111
+ >
74
112
  Create stunning interfaces with the AtomixGlass component. Perfect for modern, sleek
75
113
  designs that stand out.
76
114
  </p>
77
- <div className="u-d-flex u-gap-3 u-justify-content-center u-flex-wrap">
78
- <Button glass>Get Started</Button>
79
- <Button glass variant={'light'}>
115
+ <div
116
+ className="u-d-flex u-gap-3 u-justify-content-center u-flex-wrap"
117
+ style={{ gap: '16px' }}
118
+ >
119
+ <Button glass size="lg">
120
+ Get Started
121
+ </Button>
122
+ <Button glass variant={'light'} size="lg">
80
123
  Learn More
81
124
  </Button>
82
125
  </div>
@@ -363,12 +406,49 @@ export const DashboardCards: Story = {
363
406
  saturation={140}
364
407
  cornerRadius={20}
365
408
  mode="standard"
366
- padding="20px 30px"
409
+ padding="24px 32px"
367
410
  >
368
- <h1 className="u-m-0 u-fs-2 u-fw-bold">Analytics Dashboard</h1>
369
- <p className="u-mt-2 u-mb-0 u-opacity-80 u-fs-6">
370
- Real-time performance metrics and insights
371
- </p>
411
+ <div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>
412
+ <div
413
+ style={{
414
+ width: '56px',
415
+ height: '56px',
416
+ borderRadius: '16px',
417
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
418
+ display: 'flex',
419
+ alignItems: 'center',
420
+ justifyContent: 'center',
421
+ fontSize: '28px',
422
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
423
+ }}
424
+ >
425
+ 📊
426
+ </div>
427
+ <div>
428
+ <h1
429
+ className="u-m-0 u-fs-2 u-fw-bold"
430
+ style={{
431
+ fontSize: '28px',
432
+ marginBottom: '6px',
433
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
434
+ WebkitBackgroundClip: 'text',
435
+ WebkitTextFillColor: 'transparent',
436
+ backgroundClip: 'text',
437
+ }}
438
+ >
439
+ Analytics Dashboard
440
+ </h1>
441
+ <p
442
+ className="u-m-0 u-opacity-80 u-fs-6"
443
+ style={{
444
+ fontSize: '15px',
445
+ color: 'rgba(255, 255, 255, 0.85)',
446
+ }}
447
+ >
448
+ Real-time performance metrics and insights
449
+ </p>
450
+ </div>
451
+ </div>
372
452
  </AtomixGlass>
373
453
 
374
454
  <Grid className="u-mt-10">
@@ -860,21 +940,53 @@ export const LoginForm: Story = {
860
940
  <div className="u-text-center u-mb-5">
861
941
  <div
862
942
  style={{
863
- width: '56px',
864
- height: '56px',
865
- borderRadius: '16px',
943
+ width: '72px',
944
+ height: '72px',
945
+ borderRadius: '20px',
866
946
  background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
867
947
  display: 'flex',
868
948
  alignItems: 'center',
869
949
  justifyContent: 'center',
870
- fontSize: '24px',
871
- margin: '0 auto 16px',
950
+ fontSize: '32px',
951
+ margin: '0 auto 24px',
952
+ boxShadow: '0 12px 32px rgba(102, 126, 234, 0.4)',
953
+ position: 'relative',
872
954
  }}
873
955
  >
874
- <Icon name="Lock" />
956
+ <div
957
+ style={{
958
+ position: 'absolute',
959
+ inset: '-4px',
960
+ borderRadius: '24px',
961
+ background: 'linear-gradient(135deg, #667eea, #764ba2)',
962
+ opacity: 0.4,
963
+ filter: 'blur(16px)',
964
+ }}
965
+ />
966
+ <Icon name="Lock" style={{ position: 'relative', zIndex: 1 }} />
875
967
  </div>
876
- <h2 className="u-m-0 u-mb-2 u-fs-3 u-fw-bold">Welcome Back</h2>
877
- <p className="u-m-0 u-opacity-70 u-fs-7">Sign in to continue to your account</p>
968
+ <h2
969
+ className="u-m-0 u-mb-2 u-fs-3 u-fw-bold"
970
+ style={{
971
+ fontSize: '32px',
972
+ marginBottom: '12px',
973
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
974
+ WebkitBackgroundClip: 'text',
975
+ WebkitTextFillColor: 'transparent',
976
+ backgroundClip: 'text',
977
+ }}
978
+ >
979
+ Welcome Back
980
+ </h2>
981
+ <p
982
+ className="u-m-0 u-opacity-70 u-fs-7"
983
+ style={{
984
+ fontSize: '15px',
985
+ color: 'rgba(255, 255, 255, 0.85)',
986
+ }}
987
+ >
988
+ Sign in to continue to your account
989
+ </p>
878
990
  </div>
879
991
 
880
992
  {/* Form */}
@@ -1123,8 +1235,22 @@ export const MusicPlayer: Story = {
1123
1235
  </AtomixGlass>
1124
1236
  {/* Track Info */}
1125
1237
  <div className="u-text-center u-mb-3">
1126
- <h2 className="u-m-0 u-mb-2 u-fs-3 u-fw-bold">Summer Vibes</h2>
1127
- <p className="u-m-0 u-opacity-70 u-fs-6">The Atomix Band</p>
1238
+ <h2
1239
+ className="u-m-0 u-mb-2 u-fs-3 u-fw-bold"
1240
+ style={{
1241
+ fontSize: '28px',
1242
+ marginBottom: '8px',
1243
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
1244
+ WebkitBackgroundClip: 'text',
1245
+ WebkitTextFillColor: 'transparent',
1246
+ backgroundClip: 'text',
1247
+ }}
1248
+ >
1249
+ Summer Vibes
1250
+ </h2>
1251
+ <p className="u-m-0 u-opacity-70 u-fs-6" style={{ fontSize: '16px', color: 'rgba(255, 255, 255, 0.85)' }}>
1252
+ The Atomix Band
1253
+ </p>
1128
1254
  </div>
1129
1255
 
1130
1256
  {/* Progress Bar */}
@@ -1395,11 +1521,40 @@ export const PricingTable: Story = {
1395
1521
  >
1396
1522
  <Container className="u-py-6 u-text-white">
1397
1523
  {/* Header */}
1398
- <div style={{ textAlign: 'center', marginBottom: '30px' }}>
1399
- <h1 style={{ fontSize: '40px', fontWeight: 800, margin: '0 0 8px 0' }}>
1524
+ <div style={{ textAlign: 'center', marginBottom: '40px' }}>
1525
+ <div
1526
+ style={{
1527
+ display: 'inline-block',
1528
+ padding: '10px 24px',
1529
+ borderRadius: '24px',
1530
+ background: 'rgba(255, 255, 255, 0.12)',
1531
+ backdropFilter: 'blur(12px)',
1532
+ marginBottom: '24px',
1533
+ fontSize: '13px',
1534
+ fontWeight: 700,
1535
+ letterSpacing: '1px',
1536
+ textTransform: 'uppercase',
1537
+ color: 'rgba(255, 255, 255, 0.9)',
1538
+ border: '1px solid rgba(255, 255, 255, 0.15)',
1539
+ }}
1540
+ >
1541
+ 💎 Pricing Plans
1542
+ </div>
1543
+ <h1
1544
+ style={{
1545
+ fontSize: '48px',
1546
+ fontWeight: 800,
1547
+ margin: '0 0 16px 0',
1548
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%)',
1549
+ WebkitBackgroundClip: 'text',
1550
+ WebkitTextFillColor: 'transparent',
1551
+ backgroundClip: 'text',
1552
+ letterSpacing: '-1px',
1553
+ }}
1554
+ >
1400
1555
  Choose Your Plan
1401
1556
  </h1>
1402
- <p style={{ fontSize: '16px', opacity: 0.8, marginBottom: '12px' }}>
1557
+ <p style={{ fontSize: '18px', opacity: 0.9, marginBottom: '20px', lineHeight: 1.6 }}>
1403
1558
  Start free, then scale as you grow
1404
1559
  </p>
1405
1560
 
@@ -1719,60 +1874,96 @@ export const ChatInterface: Story = {
1719
1874
  {/* Chat Header */}
1720
1875
  <div
1721
1876
  style={{
1722
- padding: '20px 24px',
1877
+ padding: '24px 28px',
1723
1878
  borderBottom:
1724
1879
  '1px solid color-mix(in srgb, var(--atomix-brand-bg-subtle) 10%, transparent)',
1725
1880
  display: 'flex',
1726
1881
  alignItems: 'center',
1727
1882
  gap: '16px',
1883
+ background: 'rgba(255, 255, 255, 0.05)',
1728
1884
  }}
1729
1885
  >
1730
1886
  <div style={{ position: 'relative' }}>
1731
1887
  <div
1732
1888
  style={{
1733
- width: '48px',
1734
- height: '48px',
1889
+ width: '56px',
1890
+ height: '56px',
1735
1891
  borderRadius: '50%',
1736
1892
  background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
1737
1893
  display: 'flex',
1738
1894
  alignItems: 'center',
1739
1895
  justifyContent: 'center',
1740
- fontSize: '24px',
1741
- opacity: '0.8',
1896
+ fontSize: '28px',
1897
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
1898
+ position: 'relative',
1742
1899
  }}
1743
1900
  >
1744
- 👤
1901
+ <div
1902
+ style={{
1903
+ position: 'absolute',
1904
+ inset: '-4px',
1905
+ borderRadius: '50%',
1906
+ background: 'linear-gradient(135deg, #667eea, #764ba2)',
1907
+ opacity: 0.4,
1908
+ filter: 'blur(12px)',
1909
+ }}
1910
+ />
1911
+ <span style={{ position: 'relative', zIndex: 1 }}>👤</span>
1745
1912
  </div>
1746
1913
  <div
1747
1914
  style={{
1748
1915
  position: 'absolute',
1749
1916
  bottom: '2px',
1750
1917
  right: '2px',
1751
- width: '14px',
1752
- height: '14px',
1918
+ width: '16px',
1919
+ height: '16px',
1753
1920
  borderRadius: '50%',
1754
1921
  background: onlineStatus ? '#10b981' : '#6b7280',
1755
- border: '2px solid rgba(0,0,0,0.2)',
1922
+ border: '3px solid rgba(0,0,0,0.3)',
1923
+ boxShadow: '0 2px 8px rgba(0,0,0,0.2)',
1756
1924
  }}
1757
1925
  />
1758
1926
  </div>
1759
1927
  <div style={{ flex: 1 }}>
1760
- <h3 style={{ margin: 0, fontSize: '18px', fontWeight: 700 }}>Alex Johnson</h3>
1761
- <p style={{ margin: 0, fontSize: '14px', opacity: 0.7 }}>
1928
+ <h3
1929
+ style={{
1930
+ margin: 0,
1931
+ fontSize: '20px',
1932
+ fontWeight: 700,
1933
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
1934
+ WebkitBackgroundClip: 'text',
1935
+ WebkitTextFillColor: 'transparent',
1936
+ backgroundClip: 'text',
1937
+ marginBottom: '4px',
1938
+ }}
1939
+ >
1940
+ Alex Johnson
1941
+ </h3>
1942
+ <p style={{ margin: 0, fontSize: '14px', opacity: 0.8, color: 'rgba(255, 255, 255, 0.85)' }}>
1762
1943
  {onlineStatus ? 'Active now' : 'Offline'}
1763
1944
  </p>
1764
1945
  </div>
1765
1946
  <button
1766
1947
  onClick={() => setOnlineStatus(!onlineStatus)}
1767
1948
  style={{
1768
- width: '40px',
1769
- height: '40px',
1949
+ width: '44px',
1950
+ height: '44px',
1770
1951
  borderRadius: '50%',
1771
1952
  border: 'none',
1772
- background: 'color-mix(in srgb, var(--atomix-brand-bg-subtle) 10%, transparent)',
1953
+ background: 'rgba(255,255,255,0.1)',
1954
+ backdropFilter: 'blur(8px)',
1773
1955
  color: 'inherit',
1774
1956
  cursor: 'pointer',
1775
- fontSize: '18px',
1957
+ fontSize: '20px',
1958
+ transition: 'all 0.2s ease',
1959
+ }}
1960
+ onMouseEnter={e => {
1961
+ e.currentTarget.style.background = 'rgba(255,255,255,0.15)';
1962
+ e.currentTarget.style.transform = 'scale(1.1)';
1963
+ }}
1964
+ onMouseLeave={e => {
1965
+ e.currentTarget.style.background = 'rgba(255,255,255,0.1)';
1966
+ e.currentTarget.style.transform = 'scale(1)';
1776
1967
  }}
1777
1968
  >
1778
1969
 
@@ -2069,12 +2260,24 @@ export const ProfileCard: Story = {
2069
2260
  </div>
2070
2261
 
2071
2262
  {/* Name & Title */}
2072
- <div style={{ marginBottom: '20px' }}>
2073
- <h2 style={{ margin: '0 0 4px 0', fontSize: '24px', fontWeight: 700 }}>Limon Khan</h2>
2074
- <p style={{ margin: '0 0 8px 0', fontSize: '14px', opacity: 0.8 }}>
2263
+ <div style={{ marginBottom: '24px' }}>
2264
+ <h2
2265
+ style={{
2266
+ margin: '0 0 8px 0',
2267
+ fontSize: '28px',
2268
+ fontWeight: 700,
2269
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
2270
+ WebkitBackgroundClip: 'text',
2271
+ WebkitTextFillColor: 'transparent',
2272
+ backgroundClip: 'text',
2273
+ }}
2274
+ >
2275
+ Limon Khan
2276
+ </h2>
2277
+ <p style={{ margin: '0 0 10px 0', fontSize: '15px', opacity: 0.9, color: 'rgba(255, 255, 255, 0.9)' }}>
2075
2278
  Senior Frontend Developer
2076
2279
  </p>
2077
- <p style={{ margin: 0, fontSize: '14px', opacity: 0.7 }}>
2280
+ <p style={{ margin: 0, fontSize: '14px', opacity: 0.8, color: 'rgba(255, 255, 255, 0.85)' }}>
2078
2281
  <Icon name="Globe" /> BANGLADESH, Dhaka • <Icon name="Clock" /> GMT+5
2079
2282
  </p>
2080
2283
  </div>
@@ -2304,8 +2507,36 @@ export const SettingsPanel: Story = {
2304
2507
  <div style={{ padding: '32px' }}>
2305
2508
  {/* Header */}
2306
2509
  <div className="u-mb-5">
2307
- <h2 className="u-m-0 u-mb-2 u-fs-2 u-fw-bold">Settings</h2>
2308
- <p className="u-m-0 u-fs-6 u-opacity-70">
2510
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '12px' }}>
2511
+ <div
2512
+ style={{
2513
+ width: '48px',
2514
+ height: '48px',
2515
+ borderRadius: '14px',
2516
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
2517
+ display: 'flex',
2518
+ alignItems: 'center',
2519
+ justifyContent: 'center',
2520
+ fontSize: '24px',
2521
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
2522
+ }}
2523
+ >
2524
+ ⚙️
2525
+ </div>
2526
+ <h2
2527
+ className="u-m-0 u-fs-2 u-fw-bold"
2528
+ style={{
2529
+ fontSize: '28px',
2530
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
2531
+ WebkitBackgroundClip: 'text',
2532
+ WebkitTextFillColor: 'transparent',
2533
+ backgroundClip: 'text',
2534
+ }}
2535
+ >
2536
+ Settings
2537
+ </h2>
2538
+ </div>
2539
+ <p className="u-m-0 u-fs-6 u-opacity-70" style={{ fontSize: '15px', color: 'rgba(255, 255, 255, 0.85)' }}>
2309
2540
  Manage your account preferences and settings
2310
2541
  </p>
2311
2542
  </div>
@@ -2738,7 +2969,17 @@ export const EventCard: Story = {
2738
2969
  </div>
2739
2970
 
2740
2971
  {/* Event Title */}
2741
- <h2 style={{ margin: '0 0 12px 0', fontSize: '28px', fontWeight: 700 }}>
2972
+ <h2
2973
+ style={{
2974
+ margin: '0 0 12px 0',
2975
+ fontSize: '32px',
2976
+ fontWeight: 700,
2977
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
2978
+ WebkitBackgroundClip: 'text',
2979
+ WebkitTextFillColor: 'transparent',
2980
+ backgroundClip: 'text',
2981
+ }}
2982
+ >
2742
2983
  Design Systems Meetup
2743
2984
  </h2>
2744
2985
 
@@ -3070,8 +3311,20 @@ export const SocialMediaPost: Story = {
3070
3311
  }}
3071
3312
  ></div>
3072
3313
  <div style={{ flex: 1 }}>
3073
- <h3 style={{ margin: '0 0 2px 0', fontSize: '16px', fontWeight: 700 }}>Limon Khan</h3>
3074
- <p style={{ margin: 0, fontSize: '14px', opacity: 0.7 }}>
3314
+ <h3
3315
+ style={{
3316
+ margin: '0 0 4px 0',
3317
+ fontSize: '18px',
3318
+ fontWeight: 700,
3319
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
3320
+ WebkitBackgroundClip: 'text',
3321
+ WebkitTextFillColor: 'transparent',
3322
+ backgroundClip: 'text',
3323
+ }}
3324
+ >
3325
+ Limon Khan
3326
+ </h3>
3327
+ <p style={{ margin: 0, fontSize: '14px', opacity: 0.8, color: 'rgba(255, 255, 255, 0.85)' }}>
3075
3328
  Frontend Developer • 6 hours ago
3076
3329
  </p>
3077
3330
  </div>
@@ -3390,32 +3643,70 @@ export const WeatherWidget: Story = {
3390
3643
  display: 'flex',
3391
3644
  justifyContent: 'space-between',
3392
3645
  alignItems: 'center',
3393
- marginBottom: '10px',
3646
+ marginBottom: '20px',
3647
+ paddingBottom: '20px',
3648
+ borderBottom: '1px solid rgba(255,255,255,0.1)',
3394
3649
  }}
3395
3650
  >
3396
3651
  <div>
3397
- <h2 style={{ margin: 0, fontSize: '24px', fontWeight: 700, marginBottom: '4px' }}>
3652
+ <h2
3653
+ style={{
3654
+ margin: 0,
3655
+ fontSize: '28px',
3656
+ fontWeight: 700,
3657
+ marginBottom: '6px',
3658
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
3659
+ WebkitBackgroundClip: 'text',
3660
+ WebkitTextFillColor: 'transparent',
3661
+ backgroundClip: 'text',
3662
+ }}
3663
+ >
3398
3664
  Weather
3399
3665
  </h2>
3400
- <p style={{ margin: 0, fontSize: '14px', opacity: 0.7 }}>
3666
+ <p style={{ margin: 0, fontSize: '14px', opacity: 0.8, color: 'rgba(255, 255, 255, 0.85)' }}>
3401
3667
  📍 {currentWeather.location}
3402
3668
  </p>
3403
3669
  </div>
3404
- <Button onClick={() => setUnit(unit === 'C' ? 'F' : 'C')}>°{unit}</Button>
3670
+ <Button
3671
+ onClick={() => setUnit(unit === 'C' ? 'F' : 'C')}
3672
+ glass
3673
+ style={{
3674
+ minWidth: '60px',
3675
+ boxShadow: '0 4px 12px rgba(0,0,0,0.2)',
3676
+ }}
3677
+ >
3678
+ °{unit}
3679
+ </Button>
3405
3680
  </div>
3406
3681
 
3407
3682
  {/* Current Weather */}
3408
- <div style={{ textAlign: 'center', marginBottom: '10px' }}>
3409
- <div style={{ fontSize: '50px', marginBottom: '10px' }}>
3683
+ <div style={{ textAlign: 'center', marginBottom: '20px' }}>
3684
+ <div
3685
+ style={{
3686
+ fontSize: '64px',
3687
+ marginBottom: '16px',
3688
+ filter: 'drop-shadow(0 4px 12px rgba(0,0,0,0.2))',
3689
+ }}
3690
+ >
3410
3691
  <Icon name="Cloud" />
3411
3692
  </div>
3412
- <div style={{ fontSize: '48px', fontWeight: 700, marginBottom: '8px' }}>
3693
+ <div
3694
+ style={{
3695
+ fontSize: '56px',
3696
+ fontWeight: 700,
3697
+ marginBottom: '12px',
3698
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
3699
+ WebkitBackgroundClip: 'text',
3700
+ WebkitTextFillColor: 'transparent',
3701
+ backgroundClip: 'text',
3702
+ }}
3703
+ >
3413
3704
  {currentWeather.temp}°{unit}
3414
3705
  </div>
3415
- <div style={{ fontSize: '18px', opacity: 0.8, marginBottom: '8px' }}>
3706
+ <div style={{ fontSize: '20px', opacity: 0.9, marginBottom: '8px', fontWeight: 600 }}>
3416
3707
  {currentWeather.condition}
3417
3708
  </div>
3418
- <div style={{ fontSize: '14px', opacity: 0.6 }}>
3709
+ <div style={{ fontSize: '15px', opacity: 0.7, color: 'rgba(255, 255, 255, 0.85)' }}>
3419
3710
  Feels like {currentWeather.feelsLike}°
3420
3711
  </div>
3421
3712
  </div>
@@ -3464,7 +3755,18 @@ export const WeatherWidget: Story = {
3464
3755
 
3465
3756
  {/* 5-Day Forecast */}
3466
3757
  <div>
3467
- <h3 style={{ fontSize: '16px', fontWeight: 600, marginBottom: '16px', opacity: 0.8 }}>
3758
+ <h3
3759
+ style={{
3760
+ fontSize: '18px',
3761
+ fontWeight: 700,
3762
+ marginBottom: '20px',
3763
+ opacity: 0.9,
3764
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%)',
3765
+ WebkitBackgroundClip: 'text',
3766
+ WebkitTextFillColor: 'transparent',
3767
+ backgroundClip: 'text',
3768
+ }}
3769
+ >
3468
3770
  5-Day Forecast
3469
3771
  </h3>
3470
3772
  <div style={{ display: 'flex', flexDirection: 'column', gap: '8px' }}>
@@ -3611,7 +3913,36 @@ export const SearchResults: Story = {
3611
3913
  }}
3612
3914
  >
3613
3915
  {/* Search Header */}
3614
- <h2 style={{ margin: '0 0 20px 0', fontSize: '24px', fontWeight: 700 }}>Search</h2>
3916
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '24px' }}>
3917
+ <div
3918
+ style={{
3919
+ width: '48px',
3920
+ height: '48px',
3921
+ borderRadius: '14px',
3922
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
3923
+ display: 'flex',
3924
+ alignItems: 'center',
3925
+ justifyContent: 'center',
3926
+ fontSize: '24px',
3927
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
3928
+ }}
3929
+ >
3930
+ 🔍
3931
+ </div>
3932
+ <h2
3933
+ style={{
3934
+ margin: 0,
3935
+ fontSize: '28px',
3936
+ fontWeight: 700,
3937
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
3938
+ WebkitBackgroundClip: 'text',
3939
+ WebkitTextFillColor: 'transparent',
3940
+ backgroundClip: 'text',
3941
+ }}
3942
+ >
3943
+ Search
3944
+ </h2>
3945
+ </div>
3615
3946
 
3616
3947
  {/* Search Input */}
3617
3948
  <div style={{ position: 'relative', marginBottom: '20px' }}>
@@ -3815,8 +4146,41 @@ export const PaymentForm: Story = {
3815
4146
  className="u-p-3 u-position-relative u-rounded-5"
3816
4147
  style={{ minWidth: '300px', maxWidth: '400px' }}
3817
4148
  >
3818
- <h2 className="u-m-0 u-mb-1 u-fs-4 u-fw-bold">Payment Details</h2>
3819
- <p className="u-m-0 u-mb-2 u-fs-7 u-opacity-70">Complete your purchase securely</p>
4149
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '16px' }}>
4150
+ <div
4151
+ style={{
4152
+ width: '48px',
4153
+ height: '48px',
4154
+ borderRadius: '14px',
4155
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
4156
+ display: 'flex',
4157
+ alignItems: 'center',
4158
+ justifyContent: 'center',
4159
+ fontSize: '24px',
4160
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
4161
+ }}
4162
+ >
4163
+ 💳
4164
+ </div>
4165
+ <div>
4166
+ <h2
4167
+ className="u-m-0 u-fs-4 u-fw-bold"
4168
+ style={{
4169
+ fontSize: '24px',
4170
+ marginBottom: '4px',
4171
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
4172
+ WebkitBackgroundClip: 'text',
4173
+ WebkitTextFillColor: 'transparent',
4174
+ backgroundClip: 'text',
4175
+ }}
4176
+ >
4177
+ Payment Details
4178
+ </h2>
4179
+ <p className="u-m-0 u-fs-7 u-opacity-70" style={{ fontSize: '14px', color: 'rgba(255, 255, 255, 0.85)' }}>
4180
+ Complete your purchase securely
4181
+ </p>
4182
+ </div>
4183
+ </div>
3820
4184
 
3821
4185
  {/* Card Preview */}
3822
4186
  <AtomixGlass
@@ -4161,12 +4525,22 @@ export const NewsletterSubscription: Story = {
4161
4525
  <div style={{ fontSize: '50px', marginBottom: '10px' }}>
4162
4526
  <Icon name="Chats" />
4163
4527
  </div>
4164
- <h2 style={{ margin: '0 0 10px 0', fontSize: '32px', fontWeight: 700 }}>
4165
- Join Our Newsletter
4166
- </h2>
4167
- <p style={{ margin: 0, fontSize: '16px', opacity: 0.8, lineHeight: 1.6 }}>
4168
- Subscribe to get exclusive content, tips, and updates delivered to your inbox
4169
- </p>
4528
+ <h2
4529
+ style={{
4530
+ margin: '0 0 16px 0',
4531
+ fontSize: '36px',
4532
+ fontWeight: 700,
4533
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
4534
+ WebkitBackgroundClip: 'text',
4535
+ WebkitTextFillColor: 'transparent',
4536
+ backgroundClip: 'text',
4537
+ }}
4538
+ >
4539
+ Join Our Newsletter
4540
+ </h2>
4541
+ <p style={{ margin: 0, fontSize: '17px', opacity: 0.9, lineHeight: 1.7, color: 'rgba(255, 255, 255, 0.9)' }}>
4542
+ Subscribe to get exclusive content, tips, and updates delivered to your inbox
4543
+ </p>
4170
4544
  </div>
4171
4545
 
4172
4546
  {/* Email Input */}
@@ -4273,11 +4647,27 @@ export const NewsletterSubscription: Story = {
4273
4647
  <div style={{ fontSize: '80px', marginBottom: '24px' }}>
4274
4648
  <Icon name="Confetti" />
4275
4649
  </div>
4276
- <h2 style={{ margin: '0 0 16px 0', fontSize: '32px', fontWeight: 700 }}>
4650
+ <h2
4651
+ style={{
4652
+ margin: '0 0 16px 0',
4653
+ fontSize: '36px',
4654
+ fontWeight: 700,
4655
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
4656
+ WebkitBackgroundClip: 'text',
4657
+ WebkitTextFillColor: 'transparent',
4658
+ backgroundClip: 'text',
4659
+ }}
4660
+ >
4277
4661
  Welcome Aboard!
4278
4662
  </h2>
4279
4663
  <p
4280
- style={{ margin: '0 0 32px 0', fontSize: '16px', opacity: 0.8, lineHeight: 1.6 }}
4664
+ style={{
4665
+ margin: '0 0 32px 0',
4666
+ fontSize: '17px',
4667
+ opacity: 0.9,
4668
+ lineHeight: 1.7,
4669
+ color: 'rgba(255, 255, 255, 0.9)',
4670
+ }}
4281
4671
  >
4282
4672
  Thank you for subscribing! Check your inbox for a confirmation email.
4283
4673
  </p>
@@ -4381,8 +4771,39 @@ export const ProgressTracker: Story = {
4381
4771
  mode="standard"
4382
4772
  >
4383
4773
  <div className="u-p-5" style={{ minWidth: '550px', maxWidth: '700px' }}>
4384
- <h2 className="u-m-0 u-mb-2 u-fs-2 u-fw-bold">Getting Started</h2>
4385
- <p className="u-m-0 u-fs-6 u-opacity-70" style={{ marginBottom: '48px' }}>
4774
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '16px' }}>
4775
+ <div
4776
+ style={{
4777
+ width: '48px',
4778
+ height: '48px',
4779
+ borderRadius: '14px',
4780
+ background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
4781
+ display: 'flex',
4782
+ alignItems: 'center',
4783
+ justifyContent: 'center',
4784
+ fontSize: '24px',
4785
+ boxShadow: '0 8px 24px rgba(102, 126, 234, 0.4)',
4786
+ }}
4787
+ >
4788
+ 🚀
4789
+ </div>
4790
+ <h2
4791
+ className="u-m-0 u-fs-2 u-fw-bold"
4792
+ style={{
4793
+ fontSize: '28px',
4794
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
4795
+ WebkitBackgroundClip: 'text',
4796
+ WebkitTextFillColor: 'transparent',
4797
+ backgroundClip: 'text',
4798
+ }}
4799
+ >
4800
+ Getting Started
4801
+ </h2>
4802
+ </div>
4803
+ <p
4804
+ className="u-m-0 u-fs-6 u-opacity-70"
4805
+ style={{ marginBottom: '48px', fontSize: '16px', color: 'rgba(255, 255, 255, 0.85)' }}
4806
+ >
4386
4807
  Complete the following steps to set up your account
4387
4808
  </p>
4388
4809
 
@@ -5111,29 +5532,61 @@ export const MobileUIExample: Story = {
5111
5532
  }}
5112
5533
  >
5113
5534
  <div style={{ maxWidth: '300px' }}>
5114
- <h2
5115
- style={{
5116
- margin: '0 0 20px 0',
5117
- fontSize: '28px',
5118
- fontWeight: 500,
5119
- color: '#ffffff',
5120
- textShadow: '0 2px 4px rgba(0,0,0,0.2)',
5121
- }}
5122
- >
5123
- Mobile UI Example
5124
- </h2>
5535
+ <div style={{ textAlign: 'center', marginBottom: '40px' }}>
5536
+ <AtomixGlass
5537
+ mode="standard"
5538
+ displacementScale={60}
5539
+ blurAmount={1}
5540
+ saturation={130}
5541
+ cornerRadius={24}
5542
+ elasticity={0.1}
5543
+ style={{ marginBottom: '24px', display: 'inline-block' }}
5544
+ >
5545
+ <div
5546
+ style={{
5547
+ padding: '12px 24px',
5548
+ display: 'inline-flex',
5549
+ alignItems: 'center',
5550
+ gap: '8px',
5551
+ fontSize: '13px',
5552
+ fontWeight: 700,
5553
+ letterSpacing: '1px',
5554
+ textTransform: 'uppercase',
5555
+ color: 'rgba(255, 255, 255, 0.9)',
5556
+ }}
5557
+ >
5558
+ <span>📱</span>
5559
+ <span>Mobile Optimized</span>
5560
+ </div>
5561
+ </AtomixGlass>
5562
+ <h2
5563
+ style={{
5564
+ margin: '0 0 20px 0',
5565
+ fontSize: '40px',
5566
+ fontWeight: 700,
5567
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%)',
5568
+ WebkitBackgroundClip: 'text',
5569
+ WebkitTextFillColor: 'transparent',
5570
+ backgroundClip: 'text',
5571
+ letterSpacing: '-1px',
5572
+ }}
5573
+ >
5574
+ Mobile UI Example
5575
+ </h2>
5125
5576
 
5126
- <p
5127
- style={{
5128
- fontSize: '16px',
5129
- maxWidth: '600px',
5130
- margin: '0 auto 30px',
5131
- color: '#ffffff',
5132
- textShadow: '0 1px 2px rgba(0,0,0,0.2)',
5133
- }}
5134
- >
5135
- AtomixGlass components optimized for mobile interfaces with touch-friendly controls
5136
- </p>
5577
+ <p
5578
+ style={{
5579
+ fontSize: '18px',
5580
+ maxWidth: '680px',
5581
+ margin: '0 auto',
5582
+ color: 'rgba(255, 255, 255, 0.9)',
5583
+ lineHeight: 1.7,
5584
+ }}
5585
+ >
5586
+ AtomixGlass components optimized for mobile interfaces with touch-friendly controls
5587
+ and responsive design
5588
+ </p>
5589
+ </div>
5137
5590
  </div>
5138
5591
  {/* Phone frame */}
5139
5592
  <div style={phoneFrameStyle}>
@@ -5513,16 +5966,35 @@ export const AppleInspiredUI: Story = {
5513
5966
  elasticity={0}
5514
5967
  >
5515
5968
  <div style={{ padding: '30px' }}>
5969
+ <div
5970
+ style={{
5971
+ display: 'inline-block',
5972
+ padding: '10px 24px',
5973
+ borderRadius: '24px',
5974
+ background: 'rgba(255, 255, 255, 0.12)',
5975
+ backdropFilter: 'blur(12px)',
5976
+ marginBottom: '24px',
5977
+ fontSize: '13px',
5978
+ fontWeight: 700,
5979
+ letterSpacing: '1px',
5980
+ textTransform: 'uppercase',
5981
+ color: 'rgba(255, 255, 255, 0.9)',
5982
+ border: '1px solid rgba(255, 255, 255, 0.15)',
5983
+ }}
5984
+ >
5985
+ 🍎 Apple-Inspired Design
5986
+ </div>
5516
5987
  <h2
5517
5988
  style={{
5518
5989
  marginTop: 0,
5519
- fontSize: '26px',
5520
- fontWeight: 600,
5990
+ fontSize: '32px',
5991
+ fontWeight: 700,
5521
5992
  marginBottom: '24px',
5522
5993
  textAlign: 'center',
5523
- background: 'linear-gradient(135deg, #007AFF, #5AC8FA)',
5994
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
5524
5995
  WebkitBackgroundClip: 'text',
5525
5996
  WebkitTextFillColor: 'transparent',
5997
+ letterSpacing: '-0.5px',
5526
5998
  }}
5527
5999
  >
5528
6000
  Welcome to Atomix OS
@@ -5589,21 +6061,38 @@ export const AppleInspiredUI: Story = {
5589
6061
  }}
5590
6062
  >
5591
6063
  <div
5592
- style={{ display: 'flex', alignItems: 'center', gap: '8px', fontWeight: 600 }}
6064
+ style={{
6065
+ display: 'flex',
6066
+ alignItems: 'center',
6067
+ gap: '10px',
6068
+ fontWeight: 700,
6069
+ fontSize: '16px',
6070
+ }}
5593
6071
  >
5594
- <span style={{ fontSize: '16px' }}>
6072
+ <span style={{ fontSize: '18px' }}>
5595
6073
  <Icon name="BellRinging" />
5596
6074
  </span>
5597
- <span>Notifications</span>
6075
+ <span
6076
+ style={{
6077
+ background: 'linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%)',
6078
+ WebkitBackgroundClip: 'text',
6079
+ WebkitTextFillColor: 'transparent',
6080
+ backgroundClip: 'text',
6081
+ }}
6082
+ >
6083
+ Notifications
6084
+ </span>
5598
6085
  </div>
5599
6086
  <span
5600
6087
  style={{
5601
6088
  fontSize: '12px',
5602
- padding: '2px 8px',
5603
- borderRadius: '10px',
5604
- background: 'rgba(255,45,85,0.2)',
6089
+ padding: '4px 10px',
6090
+ borderRadius: '12px',
6091
+ background: 'rgba(255,45,85,0.25)',
6092
+ border: '1px solid rgba(255,45,85,0.4)',
5605
6093
  color: '#FF2D55',
5606
- fontWeight: 600,
6094
+ fontWeight: 700,
6095
+ boxShadow: '0 2px 8px rgba(255,45,85,0.3)',
5607
6096
  }}
5608
6097
  >
5609
6098
  {notificationCount} New
@@ -5620,10 +6109,17 @@ export const AppleInspiredUI: Story = {
5620
6109
  }}
5621
6110
  >
5622
6111
  <div>
5623
- <div style={{ fontWeight: 500, marginBottom: '4px' }}>
6112
+ <div
6113
+ style={{
6114
+ fontWeight: 600,
6115
+ marginBottom: '6px',
6116
+ fontSize: '15px',
6117
+ color: 'rgba(255, 255, 255, 0.95)',
6118
+ }}
6119
+ >
5624
6120
  New Atomix Glass Component
5625
6121
  </div>
5626
- <div style={{ fontSize: '12px', opacity: 0.8 }}>
6122
+ <div style={{ fontSize: '13px', opacity: 0.85, color: 'rgba(255, 255, 255, 0.85)' }}>
5627
6123
  Experience the next generation of UI effects
5628
6124
  </div>
5629
6125
  </div>