@limpiolux/ui-styles 1.0.25 → 1.0.27

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 (3) hide show
  1. package/base.css +2 -5
  2. package/components.css +20 -51
  3. package/package.json +1 -1
package/base.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * Design tokens (CSS custom properties), font import, body defaults, selection.
4
4
  */
5
5
 
6
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
6
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
7
7
 
8
8
  @layer base {
9
9
  :root {
@@ -46,10 +46,7 @@
46
46
  min-height: 100vh;
47
47
  -webkit-font-smoothing: antialiased;
48
48
  -moz-osx-font-smoothing: grayscale;
49
- transition:
50
- background-color 420ms ease,
51
- color 420ms ease,
52
- background-image 420ms ease;
49
+ transition: opacity 420ms ease;
53
50
  }
54
51
 
55
52
  ::selection {
package/components.css CHANGED
@@ -10,7 +10,7 @@
10
10
  .form-input {
11
11
  @apply w-full bg-zinc-900 border border-zinc-800 rounded-lg px-3 py-2.5 text-sm text-zinc-100
12
12
  focus:ring-1 outline-none
13
- transition-colors placeholder:text-zinc-600;
13
+ placeholder:text-zinc-600;
14
14
  box-shadow: none;
15
15
  }
16
16
 
@@ -27,8 +27,9 @@
27
27
 
28
28
  .btn-primary {
29
29
  @apply text-white font-medium py-2.5 px-4 rounded-lg
30
- transition-colors active:scale-[0.98] flex items-center justify-center gap-2
30
+ active:scale-[0.98] flex items-center justify-center gap-2
31
31
  disabled:opacity-50 disabled:cursor-not-allowed;
32
+ transition: transform 150ms ease, opacity 150ms ease;
32
33
  background: rgb(var(--color-brand));
33
34
  }
34
35
 
@@ -38,18 +39,14 @@
38
39
 
39
40
  .btn-secondary {
40
41
  @apply bg-zinc-800 hover:bg-zinc-700 text-zinc-200 font-medium py-2.5 px-4 rounded-lg
41
- transition-colors border border-zinc-700 active:scale-[0.98]
42
+ border border-zinc-700 active:scale-[0.98]
42
43
  flex items-center justify-center gap-2;
44
+ transition: transform 150ms ease, opacity 150ms ease;
43
45
  }
44
46
 
45
47
  .theme-icon-button {
46
48
  @apply inline-flex h-9 w-9 items-center justify-center rounded-xl border border-white/10 bg-white/5 text-zinc-200;
47
- transition:
48
- transform 220ms ease,
49
- background-color 220ms ease,
50
- border-color 220ms ease,
51
- color 220ms ease,
52
- box-shadow 220ms ease;
49
+ transition: transform 220ms ease, opacity 220ms ease;
53
50
  }
54
51
 
55
52
  .theme-icon-button:hover {
@@ -68,12 +65,7 @@
68
65
  }
69
66
 
70
67
  .theme-transition-surface {
71
- transition:
72
- background-color 420ms ease,
73
- border-color 420ms ease,
74
- box-shadow 420ms ease,
75
- color 420ms ease,
76
- transform 420ms ease;
68
+ transition: transform 420ms ease, opacity 420ms ease;
77
69
  }
78
70
 
79
71
  .collapse-panel {
@@ -102,11 +94,7 @@
102
94
  .portal-card {
103
95
  @apply rounded-[28px] border border-white/10 bg-white/[0.045] backdrop-blur-xl;
104
96
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px -2px rgba(0, 0, 0, 0.22);
105
- transition:
106
- background-color 420ms ease,
107
- border-color 420ms ease,
108
- box-shadow 420ms ease,
109
- transform 420ms ease;
97
+ transition: transform 420ms ease;
110
98
  }
111
99
 
112
100
  .auth-kicker {
@@ -123,10 +111,6 @@
123
111
  radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 28%),
124
112
  radial-gradient(circle at top right, rgba(16, 185, 129, 0.16), transparent 24%),
125
113
  linear-gradient(180deg, rgba(9, 9, 11, 0.95), rgba(9, 9, 11, 1));
126
- transition:
127
- background-color 420ms ease,
128
- color 420ms ease,
129
- background-image 420ms ease;
130
114
  }
131
115
 
132
116
  .portal-grid {
@@ -134,7 +118,7 @@
134
118
  }
135
119
 
136
120
  .portal-app-card {
137
- @apply rounded-[28px] border border-white/10 bg-white/[0.045] backdrop-blur-xl relative overflow-hidden p-5 transition duration-300;
121
+ @apply rounded-[28px] border border-white/10 bg-white/[0.045] backdrop-blur-xl relative overflow-hidden p-5 transition-[opacity,transform] duration-300;
138
122
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px -2px rgba(0, 0, 0, 0.22);
139
123
  }
140
124
 
@@ -143,7 +127,7 @@
143
127
  }
144
128
 
145
129
  .portal-widget-card {
146
- @apply rounded-[24px] border border-white/10 bg-white/[0.045] p-4 backdrop-blur-xl transition duration-300;
130
+ @apply rounded-[24px] border border-white/10 bg-white/[0.045] p-4 backdrop-blur-xl transition-[opacity,transform] duration-300;
147
131
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px -2px rgba(0, 0, 0, 0.22);
148
132
  }
149
133
 
@@ -448,10 +432,6 @@
448
432
  .auth-card {
449
433
  @apply rounded-[28px] border border-white/10 bg-white/[0.045] p-6 backdrop-blur-xl md:p-8;
450
434
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px -2px rgba(0, 0, 0, 0.22);
451
- transition:
452
- background-color 420ms ease,
453
- border-color 420ms ease,
454
- box-shadow 420ms ease;
455
435
  }
456
436
 
457
437
  .auth-title {
@@ -468,7 +448,6 @@
468
448
 
469
449
  .auth-link {
470
450
  @apply text-sm font-medium text-zinc-400;
471
- transition: color 180ms ease;
472
451
  }
473
452
 
474
453
  .auth-link:hover {
@@ -477,11 +456,7 @@
477
456
 
478
457
  .auth-support-panel {
479
458
  @apply rounded-[24px] border border-white/10 bg-white/[0.03] p-4;
480
- transition:
481
- background-color 320ms ease,
482
- border-color 320ms ease,
483
- box-shadow 320ms ease,
484
- transform 320ms ease;
459
+ transition: transform 320ms ease;
485
460
  box-shadow:
486
461
  inset 0 1px 0 rgba(255, 255, 255, 0.03),
487
462
  0 18px 34px -30px rgba(15, 23, 42, 0.24);
@@ -824,12 +799,7 @@
824
799
 
825
800
  .portal-toolbar-icon {
826
801
  @apply inline-flex h-9 w-9 items-center justify-center rounded-xl border border-white/10 bg-white/5 text-zinc-200;
827
- transition:
828
- transform 220ms ease,
829
- background-color 220ms ease,
830
- border-color 220ms ease,
831
- color 220ms ease,
832
- box-shadow 220ms ease;
802
+ transition: transform 220ms ease, opacity 220ms ease;
833
803
  }
834
804
 
835
805
  .portal-toolbar-icon:hover {
@@ -839,7 +809,7 @@
839
809
  }
840
810
 
841
811
  .portal-card {
842
- @apply relative overflow-hidden p-5 transition duration-300;
812
+ @apply relative overflow-hidden p-5 transition-[opacity,transform] duration-300;
843
813
  }
844
814
 
845
815
  .portal-card:hover {
@@ -876,7 +846,7 @@
876
846
  }
877
847
 
878
848
  .portal-selection-card {
879
- @apply rounded-2xl border p-4 text-left transition;
849
+ @apply rounded-2xl border p-4 text-left transition-[opacity,transform];
880
850
  border-color: rgba(255, 255, 255, 0.1);
881
851
  background: rgba(255, 255, 255, 0.03);
882
852
  }
@@ -1049,10 +1019,11 @@
1049
1019
  inset 0 -1px 0 rgba(0, 0, 0, 0.1);
1050
1020
  backdrop-filter: blur(20px) saturate(1.4);
1051
1021
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
1052
- transition: border-color 200ms ease, box-shadow 200ms ease;
1022
+ transition: transform 200ms ease;
1053
1023
  }
1054
1024
 
1055
1025
  .kpi-card:hover {
1026
+ transform: translateY(-2px);
1056
1027
  border-color: rgba(255, 255, 255, 0.14);
1057
1028
  box-shadow:
1058
1029
  0 12px 40px -8px rgba(0, 0, 0, 0.35),
@@ -1086,13 +1057,11 @@
1086
1057
  inset 0 -1px 0 rgba(0, 0, 0, 0.08);
1087
1058
  backdrop-filter: blur(24px) saturate(1.5);
1088
1059
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
1089
- transition:
1090
- border-color 220ms ease,
1091
- box-shadow 220ms ease,
1092
- background 220ms ease;
1060
+ transition: transform 220ms ease;
1093
1061
  }
1094
1062
 
1095
1063
  .liquid-glass:hover {
1064
+ transform: translateY(-2px);
1096
1065
  border-color: rgba(255, 255, 255, 0.16);
1097
1066
  box-shadow:
1098
1067
  0 12px 44px -8px rgba(0, 0, 0, 0.32),
@@ -1194,7 +1163,7 @@
1194
1163
  border-radius: 0.35rem;
1195
1164
  background-color: transparent;
1196
1165
  cursor: pointer;
1197
- transition: all 140ms ease;
1166
+ transition: transform 140ms ease, opacity 140ms ease;
1198
1167
  }
1199
1168
 
1200
1169
  .form-check-input[type="radio"] {
@@ -1225,7 +1194,7 @@
1225
1194
  background: rgb(var(--color-zinc-700));
1226
1195
  position: relative;
1227
1196
  cursor: pointer;
1228
- transition: background-color 180ms ease;
1197
+ transition: transform 180ms ease, opacity 180ms ease;
1229
1198
  }
1230
1199
 
1231
1200
  .form-switch .form-check-input::before,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limpiolux/ui-styles",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "Shared design system — Limpiolux liquid glass theme with auth, portal and dark/light mode support",
5
5
  "type": "module",
6
6
  "exports": {