ps-helix 6.2.3 → 7.0.0

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 (31) hide show
  1. package/CONFIGURATION.md +492 -0
  2. package/README.md +131 -125
  3. package/THEME.md +37 -27
  4. package/TOKENS.md +662 -0
  5. package/fesm2022/ps-helix.mjs +7777 -5714
  6. package/fesm2022/ps-helix.mjs.map +1 -1
  7. package/package.json +18 -8
  8. package/src/lib/styles/base/a11y.css +36 -0
  9. package/src/lib/styles/base/behavior.css +15 -0
  10. package/src/lib/styles/base/global.css +9 -26
  11. package/src/lib/styles/compat.css +580 -0
  12. package/src/lib/styles/themes/dark-auto.css +315 -0
  13. package/src/lib/styles/themes/dark.css +259 -157
  14. package/src/lib/styles/themes/light.css +236 -221
  15. package/src/lib/styles/tokens/animations.tokens.css +30 -21
  16. package/src/lib/styles/tokens/breakpoints.tokens.css +22 -6
  17. package/src/lib/styles/tokens/effects.tokens.css +25 -25
  18. package/src/lib/styles/tokens/layout.tokens.css +32 -32
  19. package/src/lib/styles/tokens/sizing.tokens.css +87 -75
  20. package/src/lib/styles/tokens/spacing.tokens.css +18 -18
  21. package/src/lib/styles/tokens/typography.tokens.css +34 -34
  22. package/src/lib/styles/utilities/animations.utils.css +18 -18
  23. package/src/lib/styles/utilities/colors.utils.css +196 -196
  24. package/src/lib/styles/utilities/focus.utils.css +13 -13
  25. package/src/lib/styles/utilities/layout.utils.css +9 -9
  26. package/src/lib/styles/utilities/responsive.utils.css +49 -49
  27. package/src/lib/styles/utilities/spacing.utils.css +96 -96
  28. package/src/lib/styles/utilities/typography.utils.css +25 -25
  29. package/styles-full.css +25 -0
  30. package/styles.css +17 -8
  31. package/types/ps-helix.d.ts +3251 -1724
@@ -1,279 +1,294 @@
1
1
  :root {
2
2
  /* Surface Colors */
3
- --surface-0: #ffffff;
4
- --surface-50: #f8fafc;
5
- --surface-100: #f1f5f9;
6
- --surface-200: #e2e8f0;
7
- --surface-300: #cbd5e1;
8
- --surface-400: #94a3b8;
9
- --surface-500: #64748b;
10
- --surface-600: #475569;
11
- --surface-700: #334155;
12
- --surface-800: #1e293b;
13
- --surface-900: #0f172a;
14
- --surface-900-rgb: 15, 23, 42;
3
+ --psh-surface-0: #ffffff;
4
+ --psh-surface-50: #f8fafc;
5
+ --psh-surface-100: #f1f5f9;
6
+ --psh-surface-200: #e2e8f0;
7
+ --psh-surface-300: #cbd5e1;
8
+ --psh-surface-400: #94a3b8;
9
+ --psh-surface-500: #64748b;
10
+ --psh-surface-600: #475569;
11
+ --psh-surface-700: #334155;
12
+ --psh-surface-800: #1e293b;
13
+ --psh-surface-900: #0f172a;
14
+ --psh-surface-900-rgb: 15, 23, 42;
15
15
 
16
16
  /* Functional Colors */
17
- --surface-ground: var(--surface-50);
18
- --surface-section: var(--surface-0);
17
+ --psh-surface-ground: var(--psh-surface-50);
18
+ --psh-surface-section: var(--psh-surface-0);
19
19
 
20
20
  /* Alert Colors */
21
- --alert-info-bg: rgba(11, 1, 145, 0.1);
22
- --alert-info-border-color: #0B0191;
23
- --alert-info-text-color: #0B0191;
21
+ --psh-alert-info-bg: rgba(11, 1, 145, 0.1);
22
+ --psh-alert-info-border-color: #0B0191;
23
+ --psh-alert-info-text-color: #0B0191;
24
24
 
25
- --surface-card: var(--surface-0);
26
- --surface-overlay: var(--surface-0);
27
- --surface-border: var(--surface-200);
28
- --surface-hover: var(--surface-100);
25
+ --psh-surface-card: var(--psh-surface-0);
26
+ --psh-surface-overlay: var(--psh-surface-0);
27
+ --psh-surface-border: var(--psh-surface-200);
28
+ --psh-surface-hover: var(--psh-surface-100);
29
29
 
30
30
  /* Text Colors */
31
- --text-color: var(--surface-800);
32
- --text-color-secondary: var(--surface-600);
33
- --text-color-tertiary: var(--surface-500);
34
- --text-color-disabled: var(--surface-400);
31
+ --psh-text-color: var(--psh-surface-800);
32
+ --psh-text-color-secondary: var(--psh-surface-600);
33
+ --psh-text-color-tertiary: var(--psh-surface-500);
34
+ --psh-text-color-disabled: var(--psh-surface-400);
35
35
 
36
36
  /* Text on colored backgrounds */
37
- --text-on-primary: #FFFFFF;
38
- --text-on-secondary: #FFFFFF;
39
- --text-on-success: #FFFFFF;
40
- --text-on-warning: #FFFFFF;
41
- --text-on-danger: #FFFFFF;
42
- --text-on-surface: var(--text-color);
43
- --text-on-dark: #FFFFFF;
44
- --text-on-light: #0a0d16;
37
+ --psh-text-on-primary: #FFFFFF;
38
+ --psh-text-on-secondary: #FFFFFF;
39
+ --psh-text-on-success: #FFFFFF;
40
+ --psh-text-on-warning: #FFFFFF;
41
+ --psh-text-on-danger: #FFFFFF;
42
+ --psh-text-on-info: #FFFFFF;
43
+ --psh-text-on-neutral: #FFFFFF;
44
+ --psh-text-on-surface: var(--psh-text-color);
45
+ --psh-text-on-dark: #FFFFFF;
46
+ --psh-text-on-light: #0a0d16;
45
47
 
46
48
  /* Blue Palette */
47
- --blue-50: #EEF2FF;
48
- --blue-100: #E0E7FF;
49
- --blue-200: #C7D2FE;
50
- --blue-300: #A5B4FC;
51
- --blue-400: #818CF8;
52
- --blue-500: #6366F1;
53
- --blue-600: #4F46E5;
54
- --blue-700: #4338CA;
55
- --blue-800: #3730A3;
56
- --blue-900: #312E81;
49
+ --psh-blue-50: #EEF2FF;
50
+ --psh-blue-100: #E0E7FF;
51
+ --psh-blue-200: #C7D2FE;
52
+ --psh-blue-300: #A5B4FC;
53
+ --psh-blue-400: #818CF8;
54
+ --psh-blue-500: #6366F1;
55
+ --psh-blue-600: #4F46E5;
56
+ --psh-blue-700: #4338CA;
57
+ --psh-blue-800: #3730A3;
58
+ --psh-blue-900: #312E81;
57
59
 
58
60
  /* Red Palette */
59
- --red-50: #FEF2F2;
60
- --red-100: #FEE2E2;
61
- --red-200: #FECACA;
62
- --red-300: #FCA5A5;
63
- --red-400: #F87171;
64
- --red-500: #EF4444;
65
- --red-600: #DC2626;
66
- --red-700: #B91C1C;
67
- --red-800: #991B1B;
68
- --red-900: #7F1D1D;
61
+ --psh-red-50: #FEF2F2;
62
+ --psh-red-100: #FEE2E2;
63
+ --psh-red-200: #FECACA;
64
+ --psh-red-300: #FCA5A5;
65
+ --psh-red-400: #F87171;
66
+ --psh-red-500: #EF4444;
67
+ --psh-red-600: #DC2626;
68
+ --psh-red-700: #B91C1C;
69
+ --psh-red-800: #991B1B;
70
+ --psh-red-900: #7F1D1D;
69
71
 
70
72
  /* Green Palette */
71
- --green-50: #F0FDF4;
72
- --green-100: #DCFCE7;
73
- --green-200: #BBF7D0;
74
- --green-300: #86EFAC;
75
- --green-400: #4ADE80;
76
- --green-500: #22C55E;
77
- --green-600: #16A34A;
78
- --green-700: #15803D;
79
- --green-800: #166534;
80
- --green-900: #14532D;
73
+ --psh-green-50: #F0FDF4;
74
+ --psh-green-100: #DCFCE7;
75
+ --psh-green-200: #BBF7D0;
76
+ --psh-green-300: #86EFAC;
77
+ --psh-green-400: #4ADE80;
78
+ --psh-green-500: #22C55E;
79
+ --psh-green-600: #16A34A;
80
+ --psh-green-700: #15803D;
81
+ --psh-green-800: #166534;
82
+ --psh-green-900: #14532D;
81
83
 
82
84
  /* Orange Palette */
83
- --orange-50: #FFF7ED;
84
- --orange-100: #FFEDD5;
85
- --orange-200: #FED7AA;
86
- --orange-300: #FDBA74;
87
- --orange-400: #FB923C;
88
- --orange-500: #F97316;
89
- --orange-600: #EA580C;
90
- --orange-700: #C2410C;
91
- --orange-800: #9A3412;
92
- --orange-900: #7C2D12;
85
+ --psh-orange-50: #FFF7ED;
86
+ --psh-orange-100: #FFEDD5;
87
+ --psh-orange-200: #FED7AA;
88
+ --psh-orange-300: #FDBA74;
89
+ --psh-orange-400: #FB923C;
90
+ --psh-orange-500: #F97316;
91
+ --psh-orange-600: #EA580C;
92
+ --psh-orange-700: #C2410C;
93
+ --psh-orange-800: #9A3412;
94
+ --psh-orange-900: #7C2D12;
93
95
 
94
96
  /* Yellow Palette */
95
- --yellow-50: #FEFCE8;
96
- --yellow-100: #FEF9C3;
97
- --yellow-200: #FEF08A;
98
- --yellow-300: #FDE047;
99
- --yellow-400: #FACC15;
100
- --yellow-500: #EAB308;
101
- --yellow-600: #CA8A04;
102
- --yellow-700: #A16207;
103
- --yellow-800: #854D0E;
104
- --yellow-900: #713F12;
97
+ --psh-yellow-50: #FEFCE8;
98
+ --psh-yellow-100: #FEF9C3;
99
+ --psh-yellow-200: #FEF08A;
100
+ --psh-yellow-300: #FDE047;
101
+ --psh-yellow-400: #FACC15;
102
+ --psh-yellow-500: #EAB308;
103
+ --psh-yellow-600: #CA8A04;
104
+ --psh-yellow-700: #A16207;
105
+ --psh-yellow-800: #854D0E;
106
+ --psh-yellow-900: #713F12;
105
107
 
106
108
  /* Violet Palette */
107
- --violet-50: #F5F3FF;
108
- --violet-100: #EDE9FE;
109
- --violet-200: #DDD6FE;
110
- --violet-300: #C4B5FD;
111
- --violet-400: #A78BFA;
112
- --violet-500: #8B5CF6;
113
- --violet-600: #7C3AED;
114
- --violet-700: #6D28D9;
115
- --violet-800: #5B21B6;
116
- --violet-900: #4C1D95;
109
+ --psh-violet-50: #F5F3FF;
110
+ --psh-violet-100: #EDE9FE;
111
+ --psh-violet-200: #DDD6FE;
112
+ --psh-violet-300: #C4B5FD;
113
+ --psh-violet-400: #A78BFA;
114
+ --psh-violet-500: #8B5CF6;
115
+ --psh-violet-600: #7C3AED;
116
+ --psh-violet-700: #6D28D9;
117
+ --psh-violet-800: #5B21B6;
118
+ --psh-violet-900: #4C1D95;
117
119
 
118
120
  /* Cyan Palette */
119
- --cyan-50: #ECFEFF;
120
- --cyan-100: #CFFAFE;
121
- --cyan-200: #A5F3FC;
122
- --cyan-300: #67E8F9;
123
- --cyan-400: #22D3EE;
124
- --cyan-500: #06B6D4;
125
- --cyan-600: #0891B2;
126
- --cyan-700: #0E7490;
127
- --cyan-800: #155E75;
128
- --cyan-900: #164E63;
121
+ --psh-cyan-50: #ECFEFF;
122
+ --psh-cyan-100: #CFFAFE;
123
+ --psh-cyan-200: #A5F3FC;
124
+ --psh-cyan-300: #67E8F9;
125
+ --psh-cyan-400: #22D3EE;
126
+ --psh-cyan-500: #06B6D4;
127
+ --psh-cyan-600: #0891B2;
128
+ --psh-cyan-700: #0E7490;
129
+ --psh-cyan-800: #155E75;
130
+ --psh-cyan-900: #164E63;
129
131
 
130
132
  /* Teal Palette */
131
- --teal-50: #F0FDFA;
132
- --teal-100: #CCFBF1;
133
- --teal-200: #99F6E4;
134
- --teal-300: #5EEAD4;
135
- --teal-400: #2DD4BF;
136
- --teal-500: #14B8A6;
137
- --teal-600: #0D9488;
138
- --teal-700: #0F766E;
139
- --teal-800: #115E59;
140
- --teal-900: #134E4A;
133
+ --psh-teal-50: #F0FDFA;
134
+ --psh-teal-100: #CCFBF1;
135
+ --psh-teal-200: #99F6E4;
136
+ --psh-teal-300: #5EEAD4;
137
+ --psh-teal-400: #2DD4BF;
138
+ --psh-teal-500: #14B8A6;
139
+ --psh-teal-600: #0D9488;
140
+ --psh-teal-700: #0F766E;
141
+ --psh-teal-800: #115E59;
142
+ --psh-teal-900: #134E4A;
141
143
 
142
144
  /* Emerald Palette */
143
- --emerald-50: #ECFDF5;
144
- --emerald-100: #D1FAE5;
145
- --emerald-200: #A7F3D0;
146
- --emerald-300: #6EE7B7;
147
- --emerald-400: #34D399;
148
- --emerald-500: #10B981;
149
- --emerald-600: #059669;
150
- --emerald-700: #047857;
151
- --emerald-800: #065F46;
152
- --emerald-900: #064E3B;
145
+ --psh-emerald-50: #ECFDF5;
146
+ --psh-emerald-100: #D1FAE5;
147
+ --psh-emerald-200: #A7F3D0;
148
+ --psh-emerald-300: #6EE7B7;
149
+ --psh-emerald-400: #34D399;
150
+ --psh-emerald-500: #10B981;
151
+ --psh-emerald-600: #059669;
152
+ --psh-emerald-700: #047857;
153
+ --psh-emerald-800: #065F46;
154
+ --psh-emerald-900: #064E3B;
153
155
 
154
156
  /* Indigo Palette */
155
- --indigo-50: #EEF2FF;
156
- --indigo-100: #E0E7FF;
157
- --indigo-200: #C7D2FE;
158
- --indigo-300: #A5B4FC;
159
- --indigo-400: #818CF8;
160
- --indigo-500: #6366F1;
161
- --indigo-600: #4F46E5;
162
- --indigo-700: #4338CA;
163
- --indigo-800: #3730A3;
164
- --indigo-900: #312E81;
157
+ --psh-indigo-50: #EEF2FF;
158
+ --psh-indigo-100: #E0E7FF;
159
+ --psh-indigo-200: #C7D2FE;
160
+ --psh-indigo-300: #A5B4FC;
161
+ --psh-indigo-400: #818CF8;
162
+ --psh-indigo-500: #6366F1;
163
+ --psh-indigo-600: #4F46E5;
164
+ --psh-indigo-700: #4338CA;
165
+ --psh-indigo-800: #3730A3;
166
+ --psh-indigo-900: #312E81;
165
167
 
166
168
  /* Purple Palette */
167
- --purple-50: #FAF5FF;
168
- --purple-100: #F3E8FF;
169
- --purple-200: #E9D5FF;
170
- --purple-300: #D8B4FE;
171
- --purple-400: #C084FC;
172
- --purple-500: #A855F7;
173
- --purple-600: #9333EA;
174
- --purple-700: #7C3AED;
175
- --purple-800: #6B21A8;
176
- --purple-900: #581C87;
169
+ --psh-purple-50: #FAF5FF;
170
+ --psh-purple-100: #F3E8FF;
171
+ --psh-purple-200: #E9D5FF;
172
+ --psh-purple-300: #D8B4FE;
173
+ --psh-purple-400: #C084FC;
174
+ --psh-purple-500: #A855F7;
175
+ --psh-purple-600: #9333EA;
176
+ --psh-purple-700: #7C3AED;
177
+ --psh-purple-800: #6B21A8;
178
+ --psh-purple-900: #581C87;
177
179
 
178
180
  /* Fuchsia Palette */
179
- --fuchsia-50: #FDF4FF;
180
- --fuchsia-100: #FAE8FF;
181
- --fuchsia-200: #F5D0FE;
182
- --fuchsia-300: #F0ABFC;
183
- --fuchsia-400: #E879F9;
184
- --fuchsia-500: #D946EF;
185
- --fuchsia-600: #C026D3;
186
- --fuchsia-700: #A21CAF;
187
- --fuchsia-800: #86198F;
188
- --fuchsia-900: #701A75;
181
+ --psh-fuchsia-50: #FDF4FF;
182
+ --psh-fuchsia-100: #FAE8FF;
183
+ --psh-fuchsia-200: #F5D0FE;
184
+ --psh-fuchsia-300: #F0ABFC;
185
+ --psh-fuchsia-400: #E879F9;
186
+ --psh-fuchsia-500: #D946EF;
187
+ --psh-fuchsia-600: #C026D3;
188
+ --psh-fuchsia-700: #A21CAF;
189
+ --psh-fuchsia-800: #86198F;
190
+ --psh-fuchsia-900: #701A75;
189
191
 
190
192
  /* Rose Palette */
191
- --rose-50: #FFF1F2;
192
- --rose-100: #FFE4E6;
193
- --rose-200: #FECDD3;
194
- --rose-300: #FDA4AF;
195
- --rose-400: #FB7185;
196
- --rose-500: #F43F5E;
197
- --rose-600: #E11D48;
198
- --rose-700: #BE123C;
199
- --rose-800: #9F1239;
200
- --rose-900: #881337;
193
+ --psh-rose-50: #FFF1F2;
194
+ --psh-rose-100: #FFE4E6;
195
+ --psh-rose-200: #FECDD3;
196
+ --psh-rose-300: #FDA4AF;
197
+ --psh-rose-400: #FB7185;
198
+ --psh-rose-500: #F43F5E;
199
+ --psh-rose-600: #E11D48;
200
+ --psh-rose-700: #BE123C;
201
+ --psh-rose-800: #9F1239;
202
+ --psh-rose-900: #881337;
201
203
 
202
204
  /* Amber Palette */
203
- --amber-50: #FFFBEB;
204
- --amber-100: #FEF3C7;
205
- --amber-200: #FDE68A;
206
- --amber-300: #FCD34D;
207
- --amber-400: #FBBF24;
208
- --amber-500: #F59E0B;
209
- --amber-600: #D97706;
210
- --amber-700: #B45309;
211
- --amber-800: #92400E;
212
- --amber-900: #78350F;
205
+ --psh-amber-50: #FFFBEB;
206
+ --psh-amber-100: #FEF3C7;
207
+ --psh-amber-200: #FDE68A;
208
+ --psh-amber-300: #FCD34D;
209
+ --psh-amber-400: #FBBF24;
210
+ --psh-amber-500: #F59E0B;
211
+ --psh-amber-600: #D97706;
212
+ --psh-amber-700: #B45309;
213
+ --psh-amber-800: #92400E;
214
+ --psh-amber-900: #78350F;
213
215
 
214
216
  /* Pink Palette */
215
- --pink-50: #FDF2F8;
216
- --pink-100: #FCE7F3;
217
- --pink-200: #FBCFE8;
218
- --pink-300: #F9A8D4;
219
- --pink-400: #F472B6;
220
- --pink-500: #EC4899;
221
- --pink-600: #DB2777;
222
- --pink-700: #BE185D;
223
- --pink-800: #9D174D;
224
- --pink-900: #831843;
217
+ --psh-pink-50: #FDF2F8;
218
+ --psh-pink-100: #FCE7F3;
219
+ --psh-pink-200: #FBCFE8;
220
+ --psh-pink-300: #F9A8D4;
221
+ --psh-pink-400: #F472B6;
222
+ --psh-pink-500: #EC4899;
223
+ --psh-pink-600: #DB2777;
224
+ --psh-pink-700: #BE185D;
225
+ --psh-pink-800: #9D174D;
226
+ --psh-pink-900: #831843;
225
227
 
226
228
  /* Primary Colors - Use customer context with fallbacks */
227
- --primary-color: var(--customer-primary-color, #0B0191);
228
- --primary-color-light: var(--customer-primary-color-light, #0F02C4);
229
- --primary-color-lighter: var(--customer-primary-color-lighter, #4A3FD9);
230
- --primary-color-dark: var(--customer-primary-color-dark, #09017A);
231
- --primary-color-darker: var(--customer-primary-color-darker, #07015E);
232
- --primary-color-text: var(--customer-primary-color-text, #FFFFFF);
233
- --primary-color-rgb: var(--customer-primary-color-rgb, 11, 1, 145);
229
+ --psh-primary-color: var(--psh-customer-primary-color, var(--customer-primary-color, #0B0191));
230
+ --psh-primary-color-light: var(--psh-customer-primary-color-light, var(--customer-primary-color-light, #0F02C4));
231
+ --psh-primary-color-lighter: var(--psh-customer-primary-color-lighter, var(--customer-primary-color-lighter, #4A3FD9));
232
+ --psh-primary-color-dark: var(--psh-customer-primary-color-dark, var(--customer-primary-color-dark, #09017A));
233
+ --psh-primary-color-darker: var(--psh-customer-primary-color-darker, var(--customer-primary-color-darker, #07015E));
234
+ --psh-primary-color-text: var(--psh-customer-primary-color-text, var(--customer-primary-color-text, #FFFFFF));
235
+ --psh-primary-color-rgb: var(--psh-customer-primary-color-rgb, var(--customer-primary-color-rgb, 11, 1, 145));
234
236
 
235
237
  /* Primary Gradients - Automatically adapt to custom colors */
236
- --primary-gradient: linear-gradient(to right, var(--primary-color-darker), var(--primary-color-light));
237
- --primary-gradient-hover: linear-gradient(to right, var(--primary-color-dark), var(--primary-color-lighter));
238
- --primary-gradient-reversed: linear-gradient(to left, var(--primary-color-darker), var(--primary-color-light));
238
+ --psh-primary-gradient: linear-gradient(to right, var(--psh-primary-color-darker), var(--psh-primary-color-light));
239
+ --psh-primary-gradient-hover: linear-gradient(to right, var(--psh-primary-color-dark), var(--psh-primary-color-lighter));
240
+ --psh-primary-gradient-reversed: linear-gradient(to left, var(--psh-primary-color-darker), var(--psh-primary-color-light));
239
241
 
240
242
  /* Secondary Colors - Use customer context with fallbacks (gray tones for light theme) */
241
- --secondary-color: var(--customer-secondary-color, #5E5E5E);
242
- --secondary-color-light: var(--customer-secondary-color-light, #7B7B7B);
243
- --secondary-color-lighter: var(--customer-secondary-color-lighter, #969696);
244
- --secondary-color-dark: var(--customer-secondary-color-dark, #404040);
245
- --secondary-color-darker: var(--customer-secondary-color-darker, #2B2B2B);
246
- --secondary-color-text: var(--customer-secondary-color-text, #FFFFFF);
247
- --secondary-color-rgb: var(--customer-secondary-color-rgb, 94, 94, 94);
243
+ --psh-secondary-color: var(--psh-customer-secondary-color, var(--customer-secondary-color, #5E5E5E));
244
+ --psh-secondary-color-light: var(--psh-customer-secondary-color-light, var(--customer-secondary-color-light, #7B7B7B));
245
+ --psh-secondary-color-lighter: var(--psh-customer-secondary-color-lighter, var(--customer-secondary-color-lighter, #969696));
246
+ --psh-secondary-color-dark: var(--psh-customer-secondary-color-dark, var(--customer-secondary-color-dark, #404040));
247
+ --psh-secondary-color-darker: var(--psh-customer-secondary-color-darker, var(--customer-secondary-color-darker, #2B2B2B));
248
+ --psh-secondary-color-text: var(--psh-customer-secondary-color-text, var(--customer-secondary-color-text, #FFFFFF));
249
+ --psh-secondary-color-rgb: var(--psh-customer-secondary-color-rgb, var(--customer-secondary-color-rgb, 94, 94, 94));
248
250
 
249
251
  /* Success Colors */
250
- --success-color: #0F853A;
251
- --success-color-rgb: 15, 133, 58;
252
- --success-color-text: #FFFFFF;
252
+ --psh-success-color: #0F853A;
253
+ --psh-success-color-rgb: 15, 133, 58;
254
+ --psh-success-color-text: #FFFFFF;
255
+
256
+ /* Info and Neutral Colors
257
+ The semantic colour union is the same seven values on every component since 7.0.0, so
258
+ info and neutral need tokens of their own. Components used to improvise: badge reached
259
+ for --blue-500 directly, card for a hardcoded rgba, and the rest simply had no way to
260
+ render those two at all. */
261
+ --psh-info-color: #1F5FBF;
262
+ --psh-info-color-rgb: 31, 95, 191;
263
+ --psh-info-color-text: #FFFFFF;
264
+
265
+ --psh-neutral-color: #5A6070;
266
+ --psh-neutral-color-rgb: 90, 96, 112;
267
+ --psh-neutral-color-text: #FFFFFF;
253
268
 
254
269
  /* Warning Colors */
255
- --warning-color: #b25310;
256
- --warning-color-rgb: 178, 83, 16;
257
- --warning-color-text: #FFFFFF;
270
+ --psh-warning-color: #b25310;
271
+ --psh-warning-color-rgb: 178, 83, 16;
272
+ --psh-warning-color-text: #FFFFFF;
258
273
 
259
274
  /* Danger Colors */
260
- --danger-color: #D92626;
261
- --danger-color-rgb: 217, 38, 38;
262
- --danger-color-text: #FFFFFF;
275
+ --psh-danger-color: #D92626;
276
+ --psh-danger-color-rgb: 217, 38, 38;
277
+ --psh-danger-color-text: #FFFFFF;
263
278
 
264
279
  /* Chart Colors */
265
- --chart-text-color: var(--text-color);
266
- --chart-grid-color: var(--surface-200);
267
- --chart-primary-color: var(--primary-color);
268
- --chart-secondary-color: var(--secondary-color);
269
- --chart-success-color: var(--success-color);
270
- --chart-warning-color: var(--warning-color);
271
- --chart-danger-color: var(--danger-color);
272
- --chart-tooltip-background: var(--surface-card);
273
- --chart-tooltip-text: var(--text-color);
274
- --chart-legend-text: var(--text-color);
280
+ --psh-chart-text-color: var(--psh-text-color);
281
+ --psh-chart-grid-color: var(--psh-surface-200);
282
+ --psh-chart-primary-color: var(--psh-primary-color);
283
+ --psh-chart-secondary-color: var(--psh-secondary-color);
284
+ --psh-chart-success-color: var(--psh-success-color);
285
+ --psh-chart-warning-color: var(--psh-warning-color);
286
+ --psh-chart-danger-color: var(--psh-danger-color);
287
+ --psh-chart-tooltip-background: var(--psh-surface-card);
288
+ --psh-chart-tooltip-text: var(--psh-text-color);
289
+ --psh-chart-legend-text: var(--psh-text-color);
275
290
 
276
291
  /* Background */
277
- --background-opacity: 0.5;
278
- --body-gradient: radial-gradient(184.52% 111.8% at 100% 0%, #E0E4F7 0%, rgba(255, 255, 255, 0.00) 100%);
292
+ --psh-background-opacity: 0.5;
293
+ --psh-body-gradient: radial-gradient(184.52% 111.8% at 100% 0%, #E0E4F7 0%, rgba(255, 255, 255, 0.00) 100%);
279
294
  }
@@ -1,21 +1,30 @@
1
- /* Design Tokens - Animation System */
2
-
3
- :root {
4
- /* Animation durations */
5
- --animation-duration-fast: 0.15s;
6
- --animation-duration-normal: 0.2s;
7
- --animation-duration-default: 0.3s;
8
- --animation-duration-slow: 0.5s;
9
-
10
- /* Animation easing functions */
11
- --animation-easing-default: ease;
12
- --animation-easing-in: ease-in;
13
- --animation-easing-out: ease-out;
14
- --animation-easing-in-out: ease-in-out;
15
- --animation-easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
16
-
17
- /* Animation distances */
18
- --animation-distance-sm: 10px;
19
- --animation-distance-md: 20px;
20
- --animation-distance-lg: 30px;
21
- }
1
+ /* Design Tokens - Animation System */
2
+
3
+ :root {
4
+ /* Animation durations */
5
+ --psh-animation-duration-fast: 0.15s;
6
+ --psh-animation-duration-normal: 0.2s;
7
+ --psh-animation-duration-default: 0.3s;
8
+ --psh-animation-duration-slow: 0.5s;
9
+
10
+ /* Animation easing functions */
11
+ --psh-animation-easing-default: ease;
12
+ --psh-animation-easing-in: ease-in;
13
+ --psh-animation-easing-out: ease-out;
14
+ --psh-animation-easing-in-out: ease-in-out;
15
+ --psh-animation-easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
16
+ --psh-animation-easing-linear: linear;
17
+
18
+ /* Looping decorative animations — spinners, skeleton shimmer. A different job from a
19
+ UI transition, so a separate family: these are cycle lengths, not response times,
20
+ and they must not be tuned by whoever tunes how fast a button reacts. */
21
+ --psh-animation-loop-fast: 0.8s;
22
+ --psh-animation-loop-normal: 1s;
23
+ --psh-animation-loop-slow: 1.5s;
24
+ --psh-animation-loop-slower: 2s;
25
+
26
+ /* Animation distances */
27
+ --psh-animation-distance-sm: 10px;
28
+ --psh-animation-distance-md: 20px;
29
+ --psh-animation-distance-lg: 30px;
30
+ }
@@ -9,12 +9,28 @@
9
9
  * queries must inline the literal value. Always use the canonical value from
10
10
  * this scale (prefer the em form) rather than an ad-hoc breakpoint, so the
11
11
  * library stays consistent across components and utilities.
12
+ *
13
+ * `min-width` uses the value above. `max-width` uses the value **minus
14
+ * 0.0625em** — one pixel at a 16px root — because the two are otherwise both
15
+ * true at exactly the breakpoint:
16
+ *
17
+ * min-width: 48em max-width: 47.9375em
18
+ *
19
+ * That overlap was live in `responsive.utils.css`, where eight rules paired
20
+ * `min-width: 48em` with `max-width: 48em`, so at 768px an element was both
21
+ * "small screen" and "large screen".
22
+ *
23
+ * Mixing px and em is not a style preference. An em query scales with the
24
+ * user's root font size and a px query does not, so at 150% browser zoom a
25
+ * px-based component has not switched while the em-based one beside it has.
26
+ * `@container` queries follow the same scale; there, em resolves against the
27
+ * container's own font size, which is the behaviour you want.
12
28
  */
13
29
  :root {
14
- --breakpoint-xs: 30em; /* 480px */
15
- --breakpoint-sm: 40em; /* 640px */
16
- --breakpoint-md: 48em; /* 768px */
17
- --breakpoint-lg: 64em; /* 1024px */
18
- --breakpoint-xl: 80em; /* 1280px */
19
- --breakpoint-2xl: 96em; /* 1536px */
30
+ --psh-breakpoint-xs: 30em; /* 480px */
31
+ --psh-breakpoint-sm: 40em; /* 640px */
32
+ --psh-breakpoint-md: 48em; /* 768px */
33
+ --psh-breakpoint-lg: 64em; /* 1024px */
34
+ --psh-breakpoint-xl: 80em; /* 1280px */
35
+ --psh-breakpoint-2xl: 96em; /* 1536px */
20
36
  }