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.
- package/CONFIGURATION.md +492 -0
- package/README.md +131 -125
- package/THEME.md +37 -27
- package/TOKENS.md +662 -0
- package/fesm2022/ps-helix.mjs +7777 -5714
- package/fesm2022/ps-helix.mjs.map +1 -1
- package/package.json +18 -8
- package/src/lib/styles/base/a11y.css +36 -0
- package/src/lib/styles/base/behavior.css +15 -0
- package/src/lib/styles/base/global.css +9 -26
- package/src/lib/styles/compat.css +580 -0
- package/src/lib/styles/themes/dark-auto.css +315 -0
- package/src/lib/styles/themes/dark.css +259 -157
- package/src/lib/styles/themes/light.css +236 -221
- package/src/lib/styles/tokens/animations.tokens.css +30 -21
- package/src/lib/styles/tokens/breakpoints.tokens.css +22 -6
- package/src/lib/styles/tokens/effects.tokens.css +25 -25
- package/src/lib/styles/tokens/layout.tokens.css +32 -32
- package/src/lib/styles/tokens/sizing.tokens.css +87 -75
- package/src/lib/styles/tokens/spacing.tokens.css +18 -18
- package/src/lib/styles/tokens/typography.tokens.css +34 -34
- package/src/lib/styles/utilities/animations.utils.css +18 -18
- package/src/lib/styles/utilities/colors.utils.css +196 -196
- package/src/lib/styles/utilities/focus.utils.css +13 -13
- package/src/lib/styles/utilities/layout.utils.css +9 -9
- package/src/lib/styles/utilities/responsive.utils.css +49 -49
- package/src/lib/styles/utilities/spacing.utils.css +96 -96
- package/src/lib/styles/utilities/typography.utils.css +25 -25
- package/styles-full.css +25 -0
- package/styles.css +17 -8
- package/types/ps-helix.d.ts +3251 -1724
|
@@ -1,201 +1,303 @@
|
|
|
1
1
|
[data-theme="dark"] {
|
|
2
2
|
/* Surface Colors */
|
|
3
|
-
--surface-0: #0a0d16;
|
|
4
|
-
--surface-50: #141a27;
|
|
5
|
-
--surface-100: #1e293b;
|
|
6
|
-
--surface-200: #334155;
|
|
7
|
-
--surface-300: #475569;
|
|
8
|
-
--surface-400: #64748b;
|
|
9
|
-
--surface-500: #94a3b8;
|
|
10
|
-
--surface-600: #cbd5e1;
|
|
11
|
-
--surface-700: #e2e8f0;
|
|
12
|
-
--surface-800: #f1f5f9;
|
|
13
|
-
--surface-900: #f8fafc;
|
|
14
|
-
--surface-900-rgb: 248, 250, 252;
|
|
3
|
+
--psh-surface-0: #0a0d16;
|
|
4
|
+
--psh-surface-50: #141a27;
|
|
5
|
+
--psh-surface-100: #1e293b;
|
|
6
|
+
--psh-surface-200: #334155;
|
|
7
|
+
--psh-surface-300: #475569;
|
|
8
|
+
--psh-surface-400: #64748b;
|
|
9
|
+
--psh-surface-500: #94a3b8;
|
|
10
|
+
--psh-surface-600: #cbd5e1;
|
|
11
|
+
--psh-surface-700: #e2e8f0;
|
|
12
|
+
--psh-surface-800: #f1f5f9;
|
|
13
|
+
--psh-surface-900: #f8fafc;
|
|
14
|
+
--psh-surface-900-rgb: 248, 250, 252;
|
|
15
15
|
|
|
16
16
|
/* Teal Palette */
|
|
17
|
-
--teal-50: #134E4A;
|
|
18
|
-
--teal-100: #115E59;
|
|
19
|
-
--teal-200: #0F766E;
|
|
20
|
-
--teal-300: #0D9488;
|
|
21
|
-
--teal-400: #14B8A6;
|
|
22
|
-
--teal-500: #2DD4BF;
|
|
23
|
-
--teal-600: #5EEAD4;
|
|
24
|
-
--teal-700: #99F6E4;
|
|
25
|
-
--teal-800: #CCFBF1;
|
|
26
|
-
--teal-900: #F0FDFA;
|
|
17
|
+
--psh-teal-50: #134E4A;
|
|
18
|
+
--psh-teal-100: #115E59;
|
|
19
|
+
--psh-teal-200: #0F766E;
|
|
20
|
+
--psh-teal-300: #0D9488;
|
|
21
|
+
--psh-teal-400: #14B8A6;
|
|
22
|
+
--psh-teal-500: #2DD4BF;
|
|
23
|
+
--psh-teal-600: #5EEAD4;
|
|
24
|
+
--psh-teal-700: #99F6E4;
|
|
25
|
+
--psh-teal-800: #CCFBF1;
|
|
26
|
+
--psh-teal-900: #F0FDFA;
|
|
27
27
|
|
|
28
28
|
/* Emerald Palette */
|
|
29
|
-
--emerald-50: #064E3B;
|
|
30
|
-
--emerald-100: #065F46;
|
|
31
|
-
--emerald-200: #047857;
|
|
32
|
-
--emerald-300: #059669;
|
|
33
|
-
--emerald-400: #10B981;
|
|
34
|
-
--emerald-500: #34D399;
|
|
35
|
-
--emerald-600: #6EE7B7;
|
|
36
|
-
--emerald-700: #A7F3D0;
|
|
37
|
-
--emerald-800: #D1FAE5;
|
|
38
|
-
--emerald-900: #ECFDF5;
|
|
29
|
+
--psh-emerald-50: #064E3B;
|
|
30
|
+
--psh-emerald-100: #065F46;
|
|
31
|
+
--psh-emerald-200: #047857;
|
|
32
|
+
--psh-emerald-300: #059669;
|
|
33
|
+
--psh-emerald-400: #10B981;
|
|
34
|
+
--psh-emerald-500: #34D399;
|
|
35
|
+
--psh-emerald-600: #6EE7B7;
|
|
36
|
+
--psh-emerald-700: #A7F3D0;
|
|
37
|
+
--psh-emerald-800: #D1FAE5;
|
|
38
|
+
--psh-emerald-900: #ECFDF5;
|
|
39
39
|
|
|
40
40
|
/* Indigo Palette */
|
|
41
|
-
--indigo-50: #312E81;
|
|
42
|
-
--indigo-100: #3730A3;
|
|
43
|
-
--indigo-200: #4338CA;
|
|
44
|
-
--indigo-300: #4F46E5;
|
|
45
|
-
--indigo-400: #6366F1;
|
|
46
|
-
--indigo-500: #818CF8;
|
|
47
|
-
--indigo-600: #A5B4FC;
|
|
48
|
-
--indigo-700: #C7D2FE;
|
|
49
|
-
--indigo-800: #E0E7FF;
|
|
50
|
-
--indigo-900: #EEF2FF;
|
|
41
|
+
--psh-indigo-50: #312E81;
|
|
42
|
+
--psh-indigo-100: #3730A3;
|
|
43
|
+
--psh-indigo-200: #4338CA;
|
|
44
|
+
--psh-indigo-300: #4F46E5;
|
|
45
|
+
--psh-indigo-400: #6366F1;
|
|
46
|
+
--psh-indigo-500: #818CF8;
|
|
47
|
+
--psh-indigo-600: #A5B4FC;
|
|
48
|
+
--psh-indigo-700: #C7D2FE;
|
|
49
|
+
--psh-indigo-800: #E0E7FF;
|
|
50
|
+
--psh-indigo-900: #EEF2FF;
|
|
51
51
|
|
|
52
52
|
/* Purple Palette */
|
|
53
|
-
--purple-50: #581C87;
|
|
54
|
-
--purple-100: #6B21A8;
|
|
55
|
-
--purple-200: #7C3AED;
|
|
56
|
-
--purple-300: #9333EA;
|
|
57
|
-
--purple-400: #A855F7;
|
|
58
|
-
--purple-500: #C084FC;
|
|
59
|
-
--purple-600: #D8B4FE;
|
|
60
|
-
--purple-700: #E9D5FF;
|
|
61
|
-
--purple-800: #F3E8FF;
|
|
62
|
-
--purple-900: #FAF5FF;
|
|
53
|
+
--psh-purple-50: #581C87;
|
|
54
|
+
--psh-purple-100: #6B21A8;
|
|
55
|
+
--psh-purple-200: #7C3AED;
|
|
56
|
+
--psh-purple-300: #9333EA;
|
|
57
|
+
--psh-purple-400: #A855F7;
|
|
58
|
+
--psh-purple-500: #C084FC;
|
|
59
|
+
--psh-purple-600: #D8B4FE;
|
|
60
|
+
--psh-purple-700: #E9D5FF;
|
|
61
|
+
--psh-purple-800: #F3E8FF;
|
|
62
|
+
--psh-purple-900: #FAF5FF;
|
|
63
63
|
|
|
64
64
|
/* Fuchsia Palette */
|
|
65
|
-
--fuchsia-50: #701A75;
|
|
66
|
-
--fuchsia-100: #86198F;
|
|
67
|
-
--fuchsia-200: #A21CAF;
|
|
68
|
-
--fuchsia-300: #C026D3;
|
|
69
|
-
--fuchsia-400: #D946EF;
|
|
70
|
-
--fuchsia-500: #E879F9;
|
|
71
|
-
--fuchsia-600: #F0ABFC;
|
|
72
|
-
--fuchsia-700: #F5D0FE;
|
|
73
|
-
--fuchsia-800: #FAE8FF;
|
|
74
|
-
--fuchsia-900: #FDF4FF;
|
|
65
|
+
--psh-fuchsia-50: #701A75;
|
|
66
|
+
--psh-fuchsia-100: #86198F;
|
|
67
|
+
--psh-fuchsia-200: #A21CAF;
|
|
68
|
+
--psh-fuchsia-300: #C026D3;
|
|
69
|
+
--psh-fuchsia-400: #D946EF;
|
|
70
|
+
--psh-fuchsia-500: #E879F9;
|
|
71
|
+
--psh-fuchsia-600: #F0ABFC;
|
|
72
|
+
--psh-fuchsia-700: #F5D0FE;
|
|
73
|
+
--psh-fuchsia-800: #FAE8FF;
|
|
74
|
+
--psh-fuchsia-900: #FDF4FF;
|
|
75
75
|
|
|
76
76
|
/* Rose Palette */
|
|
77
|
-
--rose-50: #881337;
|
|
78
|
-
--rose-100: #9F1239;
|
|
79
|
-
--rose-200: #BE123C;
|
|
80
|
-
--rose-300: #E11D48;
|
|
81
|
-
--rose-400: #F43F5E;
|
|
82
|
-
--rose-500: #FB7185;
|
|
83
|
-
--rose-600: #FDA4AF;
|
|
84
|
-
--rose-700: #FECDD3;
|
|
85
|
-
--rose-800: #FFE4E6;
|
|
86
|
-
--rose-900: #FFF1F2;
|
|
77
|
+
--psh-rose-50: #881337;
|
|
78
|
+
--psh-rose-100: #9F1239;
|
|
79
|
+
--psh-rose-200: #BE123C;
|
|
80
|
+
--psh-rose-300: #E11D48;
|
|
81
|
+
--psh-rose-400: #F43F5E;
|
|
82
|
+
--psh-rose-500: #FB7185;
|
|
83
|
+
--psh-rose-600: #FDA4AF;
|
|
84
|
+
--psh-rose-700: #FECDD3;
|
|
85
|
+
--psh-rose-800: #FFE4E6;
|
|
86
|
+
--psh-rose-900: #FFF1F2;
|
|
87
87
|
|
|
88
88
|
/* Amber Palette */
|
|
89
|
-
--amber-50: #78350F;
|
|
90
|
-
--amber-100: #92400E;
|
|
91
|
-
--amber-200: #B45309;
|
|
92
|
-
--amber-300: #D97706;
|
|
93
|
-
--amber-400: #F59E0B;
|
|
94
|
-
--amber-500: #FBBF24;
|
|
95
|
-
--amber-600: #FCD34D;
|
|
96
|
-
--amber-700: #FDE68A;
|
|
97
|
-
--amber-800: #FEF3C7;
|
|
98
|
-
--amber-900: #FFFBEB;
|
|
89
|
+
--psh-amber-50: #78350F;
|
|
90
|
+
--psh-amber-100: #92400E;
|
|
91
|
+
--psh-amber-200: #B45309;
|
|
92
|
+
--psh-amber-300: #D97706;
|
|
93
|
+
--psh-amber-400: #F59E0B;
|
|
94
|
+
--psh-amber-500: #FBBF24;
|
|
95
|
+
--psh-amber-600: #FCD34D;
|
|
96
|
+
--psh-amber-700: #FDE68A;
|
|
97
|
+
--psh-amber-800: #FEF3C7;
|
|
98
|
+
--psh-amber-900: #FFFBEB;
|
|
99
99
|
|
|
100
100
|
/* Pink Palette */
|
|
101
|
-
--pink-50: #831843;
|
|
102
|
-
--pink-100: #9D174D;
|
|
103
|
-
--pink-200: #BE185D;
|
|
104
|
-
--pink-300: #DB2777;
|
|
105
|
-
--pink-400: #EC4899;
|
|
106
|
-
--pink-500: #F472B6;
|
|
107
|
-
--pink-600: #F9A8D4;
|
|
108
|
-
--pink-700: #FBCFE8;
|
|
109
|
-
--pink-800: #FCE7F3;
|
|
110
|
-
--pink-900: #FDF2F8;
|
|
101
|
+
--psh-pink-50: #831843;
|
|
102
|
+
--psh-pink-100: #9D174D;
|
|
103
|
+
--psh-pink-200: #BE185D;
|
|
104
|
+
--psh-pink-300: #DB2777;
|
|
105
|
+
--psh-pink-400: #EC4899;
|
|
106
|
+
--psh-pink-500: #F472B6;
|
|
107
|
+
--psh-pink-600: #F9A8D4;
|
|
108
|
+
--psh-pink-700: #FBCFE8;
|
|
109
|
+
--psh-pink-800: #FCE7F3;
|
|
110
|
+
--psh-pink-900: #FDF2F8;
|
|
111
|
+
|
|
112
|
+
/* ------------------------------------------------------------------------
|
|
113
|
+
These seven families were defined in light.css but never inverted here, so
|
|
114
|
+
--psh-blue-500, --psh-red-500 and friends kept their light values in dark mode —
|
|
115
|
+
breaking contrast for every consumer of the raw palette and of the
|
|
116
|
+
.psh-bg-red-500 / .psh-text-blue-600 utilities. Inverted on the same rule as
|
|
117
|
+
the eight families above: dark-50 = light-900 … dark-900 = light-50.
|
|
118
|
+
------------------------------------------------------------------------ */
|
|
119
|
+
|
|
120
|
+
/* Blue Palette */
|
|
121
|
+
--psh-blue-50: #312E81;
|
|
122
|
+
--psh-blue-100: #3730A3;
|
|
123
|
+
--psh-blue-200: #4338CA;
|
|
124
|
+
--psh-blue-300: #4F46E5;
|
|
125
|
+
--psh-blue-400: #6366F1;
|
|
126
|
+
--psh-blue-500: #818CF8;
|
|
127
|
+
--psh-blue-600: #A5B4FC;
|
|
128
|
+
--psh-blue-700: #C7D2FE;
|
|
129
|
+
--psh-blue-800: #E0E7FF;
|
|
130
|
+
--psh-blue-900: #EEF2FF;
|
|
131
|
+
|
|
132
|
+
/* Red Palette */
|
|
133
|
+
--psh-red-50: #7F1D1D;
|
|
134
|
+
--psh-red-100: #991B1B;
|
|
135
|
+
--psh-red-200: #B91C1C;
|
|
136
|
+
--psh-red-300: #DC2626;
|
|
137
|
+
--psh-red-400: #EF4444;
|
|
138
|
+
--psh-red-500: #F87171;
|
|
139
|
+
--psh-red-600: #FCA5A5;
|
|
140
|
+
--psh-red-700: #FECACA;
|
|
141
|
+
--psh-red-800: #FEE2E2;
|
|
142
|
+
--psh-red-900: #FEF2F2;
|
|
143
|
+
|
|
144
|
+
/* Green Palette */
|
|
145
|
+
--psh-green-50: #14532D;
|
|
146
|
+
--psh-green-100: #166534;
|
|
147
|
+
--psh-green-200: #15803D;
|
|
148
|
+
--psh-green-300: #16A34A;
|
|
149
|
+
--psh-green-400: #22C55E;
|
|
150
|
+
--psh-green-500: #4ADE80;
|
|
151
|
+
--psh-green-600: #86EFAC;
|
|
152
|
+
--psh-green-700: #BBF7D0;
|
|
153
|
+
--psh-green-800: #DCFCE7;
|
|
154
|
+
--psh-green-900: #F0FDF4;
|
|
155
|
+
|
|
156
|
+
/* Orange Palette */
|
|
157
|
+
--psh-orange-50: #7C2D12;
|
|
158
|
+
--psh-orange-100: #9A3412;
|
|
159
|
+
--psh-orange-200: #C2410C;
|
|
160
|
+
--psh-orange-300: #EA580C;
|
|
161
|
+
--psh-orange-400: #F97316;
|
|
162
|
+
--psh-orange-500: #FB923C;
|
|
163
|
+
--psh-orange-600: #FDBA74;
|
|
164
|
+
--psh-orange-700: #FED7AA;
|
|
165
|
+
--psh-orange-800: #FFEDD5;
|
|
166
|
+
--psh-orange-900: #FFF7ED;
|
|
167
|
+
|
|
168
|
+
/* Yellow Palette */
|
|
169
|
+
--psh-yellow-50: #713F12;
|
|
170
|
+
--psh-yellow-100: #854D0E;
|
|
171
|
+
--psh-yellow-200: #A16207;
|
|
172
|
+
--psh-yellow-300: #CA8A04;
|
|
173
|
+
--psh-yellow-400: #EAB308;
|
|
174
|
+
--psh-yellow-500: #FACC15;
|
|
175
|
+
--psh-yellow-600: #FDE047;
|
|
176
|
+
--psh-yellow-700: #FEF08A;
|
|
177
|
+
--psh-yellow-800: #FEF9C3;
|
|
178
|
+
--psh-yellow-900: #FEFCE8;
|
|
179
|
+
|
|
180
|
+
/* Violet Palette */
|
|
181
|
+
--psh-violet-50: #4C1D95;
|
|
182
|
+
--psh-violet-100: #5B21B6;
|
|
183
|
+
--psh-violet-200: #6D28D9;
|
|
184
|
+
--psh-violet-300: #7C3AED;
|
|
185
|
+
--psh-violet-400: #8B5CF6;
|
|
186
|
+
--psh-violet-500: #A78BFA;
|
|
187
|
+
--psh-violet-600: #C4B5FD;
|
|
188
|
+
--psh-violet-700: #DDD6FE;
|
|
189
|
+
--psh-violet-800: #EDE9FE;
|
|
190
|
+
--psh-violet-900: #F5F3FF;
|
|
191
|
+
|
|
192
|
+
/* Cyan Palette */
|
|
193
|
+
--psh-cyan-50: #164E63;
|
|
194
|
+
--psh-cyan-100: #155E75;
|
|
195
|
+
--psh-cyan-200: #0E7490;
|
|
196
|
+
--psh-cyan-300: #0891B2;
|
|
197
|
+
--psh-cyan-400: #06B6D4;
|
|
198
|
+
--psh-cyan-500: #22D3EE;
|
|
199
|
+
--psh-cyan-600: #67E8F9;
|
|
200
|
+
--psh-cyan-700: #A5F3FC;
|
|
201
|
+
--psh-cyan-800: #CFFAFE;
|
|
202
|
+
--psh-cyan-900: #ECFEFF;
|
|
111
203
|
|
|
112
204
|
/* Functional Colors */
|
|
113
|
-
--surface-ground: var(--surface-0);
|
|
114
|
-
--surface-section: var(--surface-50);
|
|
205
|
+
--psh-surface-ground: var(--psh-surface-0);
|
|
206
|
+
--psh-surface-section: var(--psh-surface-50);
|
|
115
207
|
|
|
116
208
|
/* Alert Colors */
|
|
117
|
-
--alert-info-bg: rgba(107, 95, 227, 0.15);
|
|
118
|
-
--alert-info-border-color: #6B5FE3;
|
|
119
|
-
--alert-info-text-color: #A5B4FC;
|
|
209
|
+
--psh-alert-info-bg: rgba(107, 95, 227, 0.15);
|
|
210
|
+
--psh-alert-info-border-color: #6B5FE3;
|
|
211
|
+
--psh-alert-info-text-color: #A5B4FC;
|
|
120
212
|
|
|
121
|
-
--surface-card: var(--surface-50);
|
|
122
|
-
--surface-overlay: var(--surface-200);
|
|
123
|
-
--surface-border: var(--surface-300);
|
|
124
|
-
--surface-hover: rgba(255, 255, 255, 0.05);
|
|
213
|
+
--psh-surface-card: var(--psh-surface-50);
|
|
214
|
+
--psh-surface-overlay: var(--psh-surface-200);
|
|
215
|
+
--psh-surface-border: var(--psh-surface-300);
|
|
216
|
+
--psh-surface-hover: rgba(255, 255, 255, 0.05);
|
|
125
217
|
|
|
126
218
|
/* Text Colors */
|
|
127
|
-
--text-color: rgba(255, 255, 255, 0.95);
|
|
128
|
-
--text-color-secondary: rgba(255, 255, 255, 0.75);
|
|
129
|
-
--text-color-tertiary: rgba(255, 255, 255, 0.6);
|
|
130
|
-
--text-color-disabled: rgba(255, 255, 255, 0.4);
|
|
219
|
+
--psh-text-color: rgba(255, 255, 255, 0.95);
|
|
220
|
+
--psh-text-color-secondary: rgba(255, 255, 255, 0.75);
|
|
221
|
+
--psh-text-color-tertiary: rgba(255, 255, 255, 0.6);
|
|
222
|
+
--psh-text-color-disabled: rgba(255, 255, 255, 0.4);
|
|
131
223
|
|
|
132
224
|
/* Text on colored backgrounds */
|
|
133
|
-
--text-on-primary: #FFFFFF;
|
|
134
|
-
--text-on-secondary: #FFFFFF;
|
|
135
|
-
--text-on-success: #000000;
|
|
136
|
-
--text-on-warning: #000000;
|
|
137
|
-
--text-on-danger: #000000;
|
|
138
|
-
--text-on-
|
|
139
|
-
|
|
140
|
-
|
|
225
|
+
--psh-text-on-primary: #FFFFFF;
|
|
226
|
+
--psh-text-on-secondary: #FFFFFF;
|
|
227
|
+
--psh-text-on-success: #000000;
|
|
228
|
+
--psh-text-on-warning: #000000;
|
|
229
|
+
--psh-text-on-danger: #000000;
|
|
230
|
+
--psh-text-on-info: #000000;
|
|
231
|
+
/* Neutral is a light slate in dark mode, so its text is dark: white on #9AA0B0 is
|
|
232
|
+
about 2.5:1, well under the 4.5:1 floor. */
|
|
233
|
+
--psh-text-on-neutral: #000000;
|
|
234
|
+
--psh-text-on-surface: var(--psh-text-color);
|
|
235
|
+
--psh-text-on-dark: #FFFFFF;
|
|
236
|
+
--psh-text-on-light: #0a0d16;
|
|
141
237
|
|
|
142
238
|
/* Primary Colors - Use customer context with fallbacks (lighter shades for dark theme contrast) */
|
|
143
|
-
--primary-color: var(--customer-primary-color, #8178F7);
|
|
144
|
-
--primary-color-light: var(--customer-primary-color-light, #8A7FED);
|
|
145
|
-
--primary-color-lighter: var(--customer-primary-color-lighter, #A99FF7);
|
|
146
|
-
--primary-color-dark: var(--customer-primary-color-dark, #4A3FD9);
|
|
147
|
-
--primary-color-darker: var(--customer-primary-color-darker, #3730A3);
|
|
148
|
-
--primary-color-text: var(--customer-primary-color-text, #FFFFFF);
|
|
149
|
-
--primary-color-rgb: var(--customer-primary-color-rgb, 107, 95, 227);
|
|
239
|
+
--psh-primary-color: var(--psh-customer-primary-color, var(--customer-primary-color, #8178F7));
|
|
240
|
+
--psh-primary-color-light: var(--psh-customer-primary-color-light, var(--customer-primary-color-light, #8A7FED));
|
|
241
|
+
--psh-primary-color-lighter: var(--psh-customer-primary-color-lighter, var(--customer-primary-color-lighter, #A99FF7));
|
|
242
|
+
--psh-primary-color-dark: var(--psh-customer-primary-color-dark, var(--customer-primary-color-dark, #4A3FD9));
|
|
243
|
+
--psh-primary-color-darker: var(--psh-customer-primary-color-darker, var(--customer-primary-color-darker, #3730A3));
|
|
244
|
+
--psh-primary-color-text: var(--psh-customer-primary-color-text, var(--customer-primary-color-text, #FFFFFF));
|
|
245
|
+
--psh-primary-color-rgb: var(--psh-customer-primary-color-rgb, var(--customer-primary-color-rgb, 107, 95, 227));
|
|
150
246
|
|
|
151
247
|
/* Primary Gradients - Automatically adapt to custom colors */
|
|
152
|
-
--primary-gradient: linear-gradient(to right, var(--primary-color), var(--primary-color-light));
|
|
153
|
-
--primary-gradient-hover: linear-gradient(to right, var(--primary-color), var(--primary-color-lighter));
|
|
154
|
-
--primary-gradient-reversed: linear-gradient(to left, var(--primary-color-dark), var(--primary-color-light));
|
|
248
|
+
--psh-primary-gradient: linear-gradient(to right, var(--psh-primary-color), var(--psh-primary-color-light));
|
|
249
|
+
--psh-primary-gradient-hover: linear-gradient(to right, var(--psh-primary-color), var(--psh-primary-color-lighter));
|
|
250
|
+
--psh-primary-gradient-reversed: linear-gradient(to left, var(--psh-primary-color-dark), var(--psh-primary-color-light));
|
|
155
251
|
|
|
156
252
|
/* Secondary Colors - Use customer context with fallbacks (gray tones for dark theme) */
|
|
157
|
-
--secondary-color: var(--customer-secondary-color, #5B5A5A);
|
|
158
|
-
--secondary-color-light: var(--customer-secondary-color-light, #838181);
|
|
159
|
-
--secondary-color-lighter: var(--customer-secondary-color-lighter, #9E9D9D);
|
|
160
|
-
--secondary-color-dark: var(--customer-secondary-color-dark, #4E4D4D);
|
|
161
|
-
--secondary-color-darker: var(--customer-secondary-color-darker, #3D3838);
|
|
162
|
-
--secondary-color-text: var(--customer-secondary-color-text, #FFFFFF);
|
|
163
|
-
--secondary-color-rgb: var(--customer-secondary-color-rgb, 48, 48, 48);
|
|
253
|
+
--psh-secondary-color: var(--psh-customer-secondary-color, var(--customer-secondary-color, #5B5A5A));
|
|
254
|
+
--psh-secondary-color-light: var(--psh-customer-secondary-color-light, var(--customer-secondary-color-light, #838181));
|
|
255
|
+
--psh-secondary-color-lighter: var(--psh-customer-secondary-color-lighter, var(--customer-secondary-color-lighter, #9E9D9D));
|
|
256
|
+
--psh-secondary-color-dark: var(--psh-customer-secondary-color-dark, var(--customer-secondary-color-dark, #4E4D4D));
|
|
257
|
+
--psh-secondary-color-darker: var(--psh-customer-secondary-color-darker, var(--customer-secondary-color-darker, #3D3838));
|
|
258
|
+
--psh-secondary-color-text: var(--psh-customer-secondary-color-text, var(--customer-secondary-color-text, #FFFFFF));
|
|
259
|
+
--psh-secondary-color-rgb: var(--psh-customer-secondary-color-rgb, var(--customer-secondary-color-rgb, 48, 48, 48));
|
|
164
260
|
|
|
165
261
|
/* Success Colors */
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
--success-color
|
|
170
|
-
--success-color-
|
|
262
|
+
/* No -light / -dark variants: light.css defines those only for primary and secondary,
|
|
263
|
+
and these three had zero consumers. A token that exists in one theme only is a
|
|
264
|
+
contract the other theme cannot honour. */
|
|
265
|
+
--psh-success-color: #12B94F;
|
|
266
|
+
--psh-success-color-rgb: 18, 185, 79;
|
|
267
|
+
--psh-success-color-text: #000000;
|
|
268
|
+
|
|
269
|
+
/* Info and Neutral Colors — see light.css for why these exist. */
|
|
270
|
+
--psh-info-color: #5B9BFF;
|
|
271
|
+
--psh-info-color-rgb: 91, 155, 255;
|
|
272
|
+
--psh-info-color-text: #000000;
|
|
273
|
+
|
|
274
|
+
--psh-neutral-color: #9AA0B0;
|
|
275
|
+
--psh-neutral-color-rgb: 154, 160, 176;
|
|
276
|
+
--psh-neutral-color-text: #000000;
|
|
171
277
|
|
|
172
278
|
/* Warning Colors */
|
|
173
|
-
--warning-color: #E07518;
|
|
174
|
-
--warning-color-
|
|
175
|
-
--warning-color-
|
|
176
|
-
--warning-color-rgb: 224, 117, 24;
|
|
177
|
-
--warning-color-text: #000000;
|
|
279
|
+
--psh-warning-color: #E07518;
|
|
280
|
+
--psh-warning-color-rgb: 224, 117, 24;
|
|
281
|
+
--psh-warning-color-text: #000000;
|
|
178
282
|
|
|
179
283
|
/* Danger Colors */
|
|
180
|
-
--danger-color: #FF4040;
|
|
181
|
-
--danger-color-
|
|
182
|
-
--danger-color-
|
|
183
|
-
--danger-color-rgb: 255, 64, 64;
|
|
184
|
-
--danger-color-text: #000000;
|
|
284
|
+
--psh-danger-color: #FF4040;
|
|
285
|
+
--psh-danger-color-rgb: 255, 64, 64;
|
|
286
|
+
--psh-danger-color-text: #000000;
|
|
185
287
|
|
|
186
288
|
/* Chart Colors */
|
|
187
|
-
--chart-text-color: var(--text-color);
|
|
188
|
-
--chart-grid-color: var(--surface-border);
|
|
189
|
-
--chart-primary-color: var(--primary-color);
|
|
190
|
-
--chart-secondary-color: var(--secondary-color);
|
|
191
|
-
--chart-success-color: var(--success-color);
|
|
192
|
-
--chart-warning-color: var(--warning-color);
|
|
193
|
-
--chart-danger-color: var(--danger-color);
|
|
194
|
-
--chart-tooltip-background: var(--surface-card);
|
|
195
|
-
--chart-tooltip-text: var(--text-color);
|
|
196
|
-
--chart-legend-text: var(--text-color);
|
|
289
|
+
--psh-chart-text-color: var(--psh-text-color);
|
|
290
|
+
--psh-chart-grid-color: var(--psh-surface-border);
|
|
291
|
+
--psh-chart-primary-color: var(--psh-primary-color);
|
|
292
|
+
--psh-chart-secondary-color: var(--psh-secondary-color);
|
|
293
|
+
--psh-chart-success-color: var(--psh-success-color);
|
|
294
|
+
--psh-chart-warning-color: var(--psh-warning-color);
|
|
295
|
+
--psh-chart-danger-color: var(--psh-danger-color);
|
|
296
|
+
--psh-chart-tooltip-background: var(--psh-surface-card);
|
|
297
|
+
--psh-chart-tooltip-text: var(--psh-text-color);
|
|
298
|
+
--psh-chart-legend-text: var(--psh-text-color);
|
|
197
299
|
|
|
198
300
|
/* Background */
|
|
199
|
-
--background-opacity: 0.3;
|
|
200
|
-
--body-gradient: radial-gradient(325.86% 141.42% at 100% 0%, #1A1F33 0%, #0A0D16 100%);
|
|
301
|
+
--psh-background-opacity: 0.3;
|
|
302
|
+
--psh-body-gradient: radial-gradient(325.86% 141.42% at 100% 0%, #1A1F33 0%, #0A0D16 100%);
|
|
201
303
|
}
|