@xsolla/switch-theme-customization 0.153.1-pr264.1778643174

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/index.js ADDED
@@ -0,0 +1,2236 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.ts
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ emails: () => emails,
34
+ emailsDark: () => emailsDark,
35
+ emailsThemes: () => emailsThemes,
36
+ generateWithScheme: () => generateWithScheme,
37
+ palettes: () => palettes,
38
+ paystation4: () => paystation4,
39
+ paystation4Dark: () => paystation4Dark,
40
+ paystation4Gaijin: () => paystation4Gaijin,
41
+ paystation4Nexters: () => paystation4Nexters,
42
+ paystation4Take2: () => paystation4Take2,
43
+ paystation4Themes: () => paystation4Themes,
44
+ primaryPalette: () => primaryPalette,
45
+ publisherV2: () => publisherV2,
46
+ publisherV2Dark: () => publisherV2Dark,
47
+ publisherV2Themes: () => publisherV2Themes,
48
+ themeGenerator: () => themeGenerator,
49
+ themes: () => themes,
50
+ themesBaseColors: () => themesBaseColors,
51
+ themesBaseColorsArray: () => themesBaseColorsArray,
52
+ themesColorsScheme: () => themesColorsScheme
53
+ });
54
+ module.exports = __toCommonJS(index_exports);
55
+
56
+ // src/themes/paystation4/variants/dark.ts
57
+ var import_colord = require("colord");
58
+ var base = {
59
+ content: (0, import_colord.colord)({ h: 211, s: 8, l: 100 }),
60
+ surface: (0, import_colord.colord)({ h: 255, s: 26, l: 20 }),
61
+ project: (0, import_colord.colord)({ h: 237, s: 90, l: 60 }),
62
+ phantom: (0, import_colord.colord)({ h: 211, s: 8, l: 100 }),
63
+ path: (0, import_colord.colord)({ h: 231, s: 90, l: 80 }),
64
+ accent: (0, import_colord.colord)({ h: 343, s: 100, l: 60 }),
65
+ success: (0, import_colord.colord)({ h: 147, s: 80, l: 80 }),
66
+ warning: (0, import_colord.colord)({ h: 31, s: 100, l: 80 }),
67
+ alert: (0, import_colord.colord)({ h: 346, s: 100, l: 70 }),
68
+ neutral: (0, import_colord.colord)({ h: 237, s: 26, l: 80 })
69
+ };
70
+ var ps4DarkScheme = (base10) => ({
71
+ colors: {
72
+ base: {
73
+ content: base10.content.toRgbString(),
74
+ surface: base10.surface.toRgbString(),
75
+ project: base10.project.toRgbString(),
76
+ phantom: base10.phantom.toRgbString(),
77
+ path: base10.path.toRgbString(),
78
+ accent: base10.accent.toRgbString(),
79
+ success: base10.success.toRgbString(),
80
+ warning: base10.warning.toRgbString(),
81
+ alert: base10.alert.toRgbString(),
82
+ neutral: base10.neutral.toRgbString()
83
+ },
84
+ core: {
85
+ background: {
86
+ primary: base10.surface.toRgbString(),
87
+ secondary: base10.surface.rotate(3).darken(0.1).toRgbString(),
88
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
89
+ tone: base10.phantom.darken(1).alpha(0.3).toRgbString(),
90
+ selection: base10.phantom.alpha(0.15).toRgbString(),
91
+ hover: base10.phantom.alpha(0.1).toRgbString(),
92
+ brand: base10.project.rotate(-6).lighten(0.2).toRgbString(),
93
+ brandSecondary: base10.accent.rotate(-9).darken(0.3).alpha(0.5).toRgbString(),
94
+ success: base10.success.rotate(6).darken(0.2).alpha(0.35).toRgbString(),
95
+ warning: base10.warning.rotate(-6).darken(0.2).alpha(0.35).toRgbString(),
96
+ alert: base10.alert.rotate(-3).darken(0.1).alpha(0.35).toRgbString(),
97
+ neutral: base10.neutral.rotate(15).darken(0.5).toRgbString()
98
+ },
99
+ divider: {
100
+ divider: base10.phantom.alpha(0.15).toRgbString()
101
+ },
102
+ text: {
103
+ primary: base10.content.toRgbString(),
104
+ secondary: base10.content.alpha(0.72).toRgbString(),
105
+ tertiary: base10.content.alpha(0.56).toRgbString(),
106
+ brand: base10.project.rotate(-3).lighten(0.1).toRgbString(),
107
+ brandSecondary: base10.accent.toRgbString(),
108
+ success: base10.success.toRgbString(),
109
+ warning: base10.warning.toRgbString(),
110
+ alert: base10.alert.rotate(3).lighten(0.1).toRgbString(),
111
+ neutral: base10.neutral.toRgbString()
112
+ },
113
+ link: {
114
+ link: base10.path.toRgbString(),
115
+ linkHover: base10.path.alpha(0.7).toRgbString(),
116
+ linkMinor: base10.path.rotate(-3).lighten(0.1).toRgbString(),
117
+ linkMinorHover: base10.path.rotate(-3).lighten(0.1).alpha(0.7).toRgbString()
118
+ }
119
+ },
120
+ control: {
121
+ primary: {
122
+ bg: base10.project.toRgbString(),
123
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
124
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
125
+ bgDisabled: base10.surface.rotate(-3).lighten(0.1).toRgbString(),
126
+ border: base10.project.toRgbString(),
127
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
128
+ borderPress: base10.project.rotate(-3).lighten(0.1).toRgbString()
129
+ },
130
+ secondary: {
131
+ bg: "transparent",
132
+ bgHover: base10.project.rotate(-3).lighten(0.1).alpha(0.1).toRgbString(),
133
+ bgPress: base10.project.rotate(-3).lighten(0.1).alpha(0.3).toRgbString(),
134
+ border: base10.project.rotate(-3).lighten(0.1).toRgbString(),
135
+ borderHover: base10.project.toRgbString(),
136
+ borderPress: base10.project.toRgbString()
137
+ },
138
+ default: {
139
+ bg: (0, import_colord.colord)({ h: 214, s: 8, l: 97 }).toRgbString(),
140
+ bgHover: (0, import_colord.colord)({ h: 220, s: 80, l: 90 }).toRgbString(),
141
+ bgPress: (0, import_colord.colord)({ h: 217, s: 8, l: 95 }).toRgbString(),
142
+ border: (0, import_colord.colord)({ h: 214, s: 8, l: 97 }).toRgbString(),
143
+ borderHover: (0, import_colord.colord)({ h: 220, s: 80, l: 90 }).toRgbString(),
144
+ borderPress: (0, import_colord.colord)({ h: 217, s: 8, l: 95 }).toRgbString()
145
+ },
146
+ input: {
147
+ bg: base10.phantom.alpha(0.07).toRgbString(),
148
+ bgHover: base10.phantom.alpha(0.1).toRgbString(),
149
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString(),
150
+ border: "transparent",
151
+ borderHover: base10.phantom.alpha(0.1).toRgbString(),
152
+ borderDisabled: "transparent",
153
+ text: base10.content.toRgbString(),
154
+ textDisabled: base10.content.alpha(0.36).toRgbString(),
155
+ placeholder: base10.content.alpha(0.55).toRgbString()
156
+ },
157
+ focus: {
158
+ bg: base10.surface.rotate(3).darken(0.1).toRgbString(),
159
+ border: base10.project.toRgbString()
160
+ },
161
+ alert: {
162
+ bg: "transparent",
163
+ bgHover: base10.alert.rotate(3).lighten(0.1).alpha(0.1).toRgbString(),
164
+ bgPress: base10.alert.rotate(3).lighten(0.1).alpha(0.2).toRgbString(),
165
+ border: base10.alert.toRgbString(),
166
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
167
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
168
+ },
169
+ check: {
170
+ bg: base10.project.toRgbString(),
171
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
172
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
173
+ },
174
+ faint: {
175
+ bg: base10.phantom.alpha(0.15).toRgbString(),
176
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
177
+ border: "transparent",
178
+ borderHover: base10.phantom.alpha(0.12).toRgbString()
179
+ },
180
+ toggle: {
181
+ bg: base10.phantom.alpha(0.15).toRgbString(),
182
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
183
+ },
184
+ text: {
185
+ active: base10.content.toRgbString(),
186
+ secondary: base10.project.rotate(-3).lighten(0.1).toRgbString(),
187
+ default: base10.content.darken(1).toRgbString(),
188
+ primary: base10.content.toRgbString(),
189
+ disabled: base10.content.alpha(0.3).toRgbString(),
190
+ faint: base10.content.toRgbString(),
191
+ alert: base10.alert.toRgbString()
192
+ }
193
+ }
194
+ }
195
+ });
196
+ var dark = ps4DarkScheme(base);
197
+
198
+ // src/themes/paystation4/variants/light.ts
199
+ var import_colord2 = require("colord");
200
+ var base2 = {
201
+ content: (0, import_colord2.colord)({ h: 244, s: 8, l: 10 }),
202
+ surface: (0, import_colord2.colord)({ h: 211, s: 8, l: 100 }),
203
+ project: (0, import_colord2.colord)({ h: 237, s: 90, l: 60 }),
204
+ phantom: (0, import_colord2.colord)({ h: 252, s: 26, l: 30 }),
205
+ path: (0, import_colord2.colord)({ h: 243, s: 90, l: 40 }),
206
+ accent: (0, import_colord2.colord)({ h: 343, s: 100, l: 60 }),
207
+ success: (0, import_colord2.colord)({ h: 162, s: 80, l: 30 }),
208
+ warning: (0, import_colord2.colord)({ h: 19, s: 100, l: 40 }),
209
+ alert: (0, import_colord2.colord)({ h: 337, s: 100, l: 40 }),
210
+ neutral: (0, import_colord2.colord)({ h: 252, s: 26, l: 30 })
211
+ };
212
+ var ps4LightScheme = (base10) => ({
213
+ colors: {
214
+ base: {
215
+ content: base10.content.toRgbString(),
216
+ surface: base10.surface.toRgbString(),
217
+ project: base10.project.toRgbString(),
218
+ phantom: base10.phantom.toRgbString(),
219
+ path: base10.path.toRgbString(),
220
+ accent: base10.accent.toRgbString(),
221
+ success: base10.success.toRgbString(),
222
+ warning: base10.warning.toRgbString(),
223
+ alert: base10.alert.toRgbString(),
224
+ neutral: base10.neutral.toRgbString()
225
+ },
226
+ core: {
227
+ background: {
228
+ primary: base10.surface.toRgbString(),
229
+ secondary: base10.surface.toRgbString(),
230
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
231
+ tone: base10.phantom.desaturate(0.16).alpha(0.5).toRgbString(),
232
+ selection: base10.phantom.alpha(0.1).toRgbString(),
233
+ hover: base10.phantom.alpha(0.08).toRgbString(),
234
+ brand: base10.project.rotate(-9).lighten(0.3).toRgbString(),
235
+ brandSecondary: base10.accent.rotate(6).lighten(0.2).toRgbString(),
236
+ success: base10.success.rotate(-21).lighten(0.65).toRgbString(),
237
+ warning: base10.warning.rotate(18).lighten(0.55).toRgbString(),
238
+ alert: base10.alert.rotate(18).lighten(0.55).toRgbString(),
239
+ neutral: base10.neutral.rotate(-21).lighten(0.65).toRgbString()
240
+ },
241
+ divider: {
242
+ divider: base10.phantom.alpha(0.15).toRgbString()
243
+ },
244
+ text: {
245
+ primary: base10.content.toRgbString(),
246
+ secondary: base10.content.alpha(0.75).toRgbString(),
247
+ tertiary: base10.content.alpha(0.61).toRgbString(),
248
+ brand: base10.project.toRgbString(),
249
+ brandSecondary: base10.accent.toRgbString(),
250
+ success: base10.success.toRgbString(),
251
+ warning: base10.warning.toRgbString(),
252
+ alert: base10.alert.rotate(-3).darken(0.1).toRgbString(),
253
+ neutral: base10.neutral.toRgbString()
254
+ },
255
+ link: {
256
+ link: base10.path.toRgbString(),
257
+ linkHover: base10.path.alpha(0.7).toRgbString(),
258
+ linkMinor: base10.path.rotate(-6).lighten(0.2).toRgbString(),
259
+ linkMinorHover: base10.path.rotate(-6).lighten(0.2).alpha(0.7).toRgbString()
260
+ }
261
+ },
262
+ control: {
263
+ primary: {
264
+ bg: base10.project.toRgbString(),
265
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
266
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
267
+ bgDisabled: base10.surface.rotate(12).darken(0.2).toRgbString(),
268
+ border: base10.project.toRgbString(),
269
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
270
+ borderPress: base10.project.rotate(-3).lighten(0.1).toRgbString()
271
+ },
272
+ secondary: {
273
+ bg: "transparent",
274
+ bgHover: base10.project.rotate(-6).lighten(0.2).alpha(0.2).toRgbString(),
275
+ bgPress: base10.project.rotate(-6).lighten(0.2).alpha(0.5).toRgbString(),
276
+ border: base10.project.toRgbString(),
277
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
278
+ borderPress: base10.project.rotate(3).darken(0.1).toRgbString()
279
+ },
280
+ default: {
281
+ bg: base10.surface.rotate(33).darken(0.9).toRgbString(),
282
+ bgHover: base10.surface.rotate(33).darken(0.95).toRgbString(),
283
+ bgPress: base10.surface.rotate(33).darken(0.8).toRgbString(),
284
+ border: base10.surface.rotate(33).darken(0.9).toRgbString(),
285
+ borderHover: base10.surface.rotate(33).darken(0.95).toRgbString(),
286
+ borderPress: base10.surface.rotate(33).darken(0.8).toRgbString()
287
+ },
288
+ input: {
289
+ bg: base10.phantom.alpha(0.07).toRgbString(),
290
+ bgHover: base10.phantom.alpha(0.1).toRgbString(),
291
+ bgDisabled: base10.phantom.alpha(0.15).toRgbString(),
292
+ border: "transparent",
293
+ borderHover: base10.phantom.alpha(0.1).toRgbString(),
294
+ borderDisabled: "transparent",
295
+ text: base10.content.toRgbString(),
296
+ textDisabled: base10.content.alpha(0.36).toRgbString(),
297
+ placeholder: base10.content.alpha(0.61).toRgbString()
298
+ },
299
+ focus: {
300
+ bg: base10.surface.toRgbString(),
301
+ border: base10.project.toRgbString()
302
+ },
303
+ alert: {
304
+ bg: "transparent",
305
+ bgHover: base10.alert.rotate(9).lighten(0.3).alpha(0.2).toRgbString(),
306
+ bgPress: base10.alert.rotate(9).lighten(0.3).alpha(0.5).toRgbString(),
307
+ border: base10.alert.toRgbString(),
308
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
309
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
310
+ },
311
+ check: {
312
+ bg: base10.project.toRgbString(),
313
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
314
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
315
+ },
316
+ faint: {
317
+ bg: base10.phantom.alpha(0.15).toRgbString(),
318
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
319
+ border: "transparent",
320
+ borderHover: base10.phantom.alpha(0.15).toRgbString()
321
+ },
322
+ toggle: {
323
+ bg: base10.phantom.alpha(0.15).toRgbString(),
324
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
325
+ },
326
+ text: {
327
+ active: base10.content.lighten(1).toRgbString(),
328
+ secondary: base10.project.toRgbString(),
329
+ default: base10.content.lighten(1).toRgbString(),
330
+ primary: base10.content.toRgbString(),
331
+ disabled: base10.content.alpha(0.3).toRgbString(),
332
+ faint: base10.content.lighten(1).toRgbString(),
333
+ alert: base10.alert.toRgbString()
334
+ }
335
+ }
336
+ }
337
+ });
338
+ var light = ps4LightScheme(base2);
339
+
340
+ // src/themes/paystation4/variants/take2.ts
341
+ var import_colord3 = require("colord");
342
+ var base3 = {
343
+ content: (0, import_colord3.colord)("#FFFFFF"),
344
+ surface: (0, import_colord3.colord)("#2C2640"),
345
+ project: (0, import_colord3.colord)("#3D46F5"),
346
+ phantom: (0, import_colord3.colord)("#FFFFFF"),
347
+ path: (0, import_colord3.colord)("#6E7BF7"),
348
+ accent: (0, import_colord3.colord)("#FF336D"),
349
+ success: (0, import_colord3.colord)("#04A476"),
350
+ warning: (0, import_colord3.colord)("#FFC633"),
351
+ alert: (0, import_colord3.colord)("#FF668B"),
352
+ neutral: (0, import_colord3.colord)("#817FB3")
353
+ };
354
+ var ps4Take2Scheme = () => ({
355
+ colors: {
356
+ base: {
357
+ content: base3.content.toRgbString(),
358
+ surface: base3.surface.toRgbString(),
359
+ project: base3.project.toRgbString(),
360
+ phantom: base3.phantom.toRgbString(),
361
+ path: base3.path.toRgbString(),
362
+ accent: base3.accent.toRgbString(),
363
+ success: base3.success.toRgbString(),
364
+ warning: base3.warning.toRgbString(),
365
+ alert: base3.alert.toRgbString(),
366
+ neutral: base3.neutral.toRgbString()
367
+ },
368
+ core: {
369
+ background: {
370
+ primary: (0, import_colord3.colord)({ r: 17, g: 19, b: 40, a: 1 }).toRgbString(),
371
+ secondary: base3.surface.toRgbString(),
372
+ ghost: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.05 }).toRgbString(),
373
+ tone: (0, import_colord3.colord)({ r: 2, g: 2, b: 4, a: 0.3 }).toRgbString(),
374
+ selection: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
375
+ hover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.05 }).toRgbString(),
376
+ brand: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 0.3 }).toRgbString(),
377
+ brandSecondary: base3.accent.rotate(-9).darken(0.3).alpha(0.5).toRgbString(),
378
+ success: (0, import_colord3.colord)({ r: 71, g: 235, b: 161, a: 0.35 }).toRgbString(),
379
+ warning: (0, import_colord3.colord)({ r: 255, g: 136, b: 51, a: 0.35 }).toRgbString(),
380
+ alert: (0, import_colord3.colord)({ r: 255, g: 51, b: 109, a: 0.35 }).toRgbString(),
381
+ neutral: (0, import_colord3.colord)({ r: 65, g: 57, b: 96, a: 1 }).toRgbString()
382
+ },
383
+ divider: {
384
+ divider: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString()
385
+ },
386
+ text: {
387
+ primary: (0, import_colord3.colord)({ r: 248, g: 249, b: 255, a: 1 }).toRgbString(),
388
+ secondary: (0, import_colord3.colord)({ r: 248, g: 249, b: 255, a: 0.7 }).toRgbString(),
389
+ tertiary: (0, import_colord3.colord)({ r: 248, g: 249, b: 255, a: 0.5 }).toRgbString(),
390
+ brand: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
391
+ brandSecondary: base3.accent.toRgbString(),
392
+ success: (0, import_colord3.colord)({ r: 163, g: 245, b: 200, a: 1 }).toRgbString(),
393
+ warning: (0, import_colord3.colord)({ r: 255, g: 206, b: 153, a: 1 }).toRgbString(),
394
+ alert: (0, import_colord3.colord)({ r: 255, g: 153, b: 172, a: 1 }).toRgbString(),
395
+ neutral: (0, import_colord3.colord)({ r: 191, g: 192, b: 217, a: 1 }).toRgbString()
396
+ },
397
+ link: {
398
+ link: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
399
+ linkHover: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 0.7 }).toRgbString(),
400
+ linkMinor: (0, import_colord3.colord)({ r: 147, g: 165, b: 236, a: 1 }).toRgbString(),
401
+ linkMinorHover: (0, import_colord3.colord)({ r: 147, g: 165, b: 236, a: 0.7 }).toRgbString()
402
+ }
403
+ },
404
+ control: {
405
+ primary: {
406
+ bg: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
407
+ bgHover: (0, import_colord3.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString(),
408
+ bgPress: (0, import_colord3.colord)({ r: 253, g: 172, b: 43, a: 1 }).toRgbString(),
409
+ bgDisabled: (0, import_colord3.colord)({ r: 117, g: 120, b: 138, a: 1 }).toRgbString(),
410
+ border: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
411
+ borderHover: (0, import_colord3.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString(),
412
+ borderPress: (0, import_colord3.colord)({ r: 253, g: 172, b: 43, a: 1 }).toRgbString()
413
+ },
414
+ secondary: {
415
+ bg: (0, import_colord3.colord)({ r: 26, g: 28, b: 40, a: 0 }).toRgbString(),
416
+ bgHover: (0, import_colord3.colord)({ r: 110, g: 123, b: 247, a: 0.1 }).toRgbString(),
417
+ bgPress: (0, import_colord3.colord)({ r: 110, g: 123, b: 247, a: 0.3 }).toRgbString(),
418
+ border: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
419
+ borderHover: (0, import_colord3.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString(),
420
+ borderPress: (0, import_colord3.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString()
421
+ },
422
+ default: {
423
+ bg: (0, import_colord3.colord)({ r: 247, g: 247, b: 248, a: 1 }).toRgbString(),
424
+ bgHover: (0, import_colord3.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
425
+ bgPress: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
426
+ border: (0, import_colord3.colord)({ r: 247, g: 247, b: 248, a: 1 }).toRgbString(),
427
+ borderHover: (0, import_colord3.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
428
+ borderPress: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString()
429
+ },
430
+ input: {
431
+ bg: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.07 }).toRgbString(),
432
+ bgHover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.1 }).toRgbString(),
433
+ bgDisabled: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString(),
434
+ border: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
435
+ borderHover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.1 }).toRgbString(),
436
+ borderDisabled: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
437
+ text: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
438
+ textDisabled: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.3 }).toRgbString(),
439
+ placeholder: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.55 }).toRgbString()
440
+ },
441
+ focus: {
442
+ bg: (0, import_colord3.colord)({ r: 27, g: 32, b: 64, a: 1 }).toRgbString(),
443
+ border: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString()
444
+ },
445
+ alert: {
446
+ bg: "transparent",
447
+ bgHover: (0, import_colord3.colord)({ r: 255, g: 153, b: 172, a: 0.1 }).toRgbString(),
448
+ bgPress: (0, import_colord3.colord)({ r: 255, g: 153, b: 172, a: 0.2 }).toRgbString(),
449
+ border: (0, import_colord3.colord)({ r: 255, g: 102, b: 138, a: 1 }).toRgbString(),
450
+ borderHover: (0, import_colord3.colord)({ r: 255, g: 51, b: 109, a: 1 }).toRgbString(),
451
+ borderPress: (0, import_colord3.colord)({ r: 255, g: 51, b: 109, a: 1 }).toRgbString()
452
+ },
453
+ check: {
454
+ bg: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
455
+ bgHover: (0, import_colord3.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString(),
456
+ bgDisabled: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString()
457
+ },
458
+ faint: {
459
+ bg: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
460
+ bgHover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString(),
461
+ border: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
462
+ borderHover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.12 }).toRgbString()
463
+ },
464
+ toggle: {
465
+ bg: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
466
+ bgHover: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString()
467
+ },
468
+ text: {
469
+ active: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
470
+ secondary: (0, import_colord3.colord)({ r: 244, g: 163, b: 2, a: 1 }).toRgbString(),
471
+ default: (0, import_colord3.colord)({ r: 2, g: 2, b: 3, a: 1 }).toRgbString(),
472
+ primary: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
473
+ disabled: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 0.3 }).toRgbString(),
474
+ faint: (0, import_colord3.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
475
+ alert: (0, import_colord3.colord)({ r: 255, g: 102, b: 138, a: 1 }).toRgbString()
476
+ }
477
+ }
478
+ }
479
+ });
480
+ var take2 = ps4Take2Scheme();
481
+
482
+ // src/themes/paystation4/variants/gaijin.ts
483
+ var import_colord4 = require("colord");
484
+ var base4 = {
485
+ content: (0, import_colord4.colord)("#FFFFFF"),
486
+ surface: (0, import_colord4.colord)("#2C2640"),
487
+ project: (0, import_colord4.colord)("#3D46F5"),
488
+ phantom: (0, import_colord4.colord)("#FFFFFF"),
489
+ path: (0, import_colord4.colord)("#6E7BF7"),
490
+ accent: (0, import_colord4.colord)("#FF336D"),
491
+ success: (0, import_colord4.colord)("#04A476"),
492
+ warning: (0, import_colord4.colord)("#FFC633"),
493
+ alert: (0, import_colord4.colord)("#FF668B"),
494
+ neutral: (0, import_colord4.colord)("#817FB3")
495
+ };
496
+ var ps4GaijinScheme = () => ({
497
+ colors: {
498
+ base: {
499
+ content: base4.content.toRgbString(),
500
+ surface: base4.surface.toRgbString(),
501
+ project: base4.project.toRgbString(),
502
+ phantom: base4.phantom.toRgbString(),
503
+ path: base4.path.toRgbString(),
504
+ accent: base4.accent.toRgbString(),
505
+ success: base4.success.toRgbString(),
506
+ warning: base4.warning.toRgbString(),
507
+ alert: base4.alert.toRgbString(),
508
+ neutral: base4.neutral.toRgbString()
509
+ },
510
+ core: {
511
+ background: {
512
+ primary: (0, import_colord4.colord)({ r: 46, g: 58, b: 71, a: 1 }).toRgbString(),
513
+ secondary: base4.surface.toRgbString(),
514
+ ghost: (0, import_colord4.colord)({ r: 3, g: 12, b: 21, a: 0.4 }).toRgbString(),
515
+ tone: (0, import_colord4.colord)({ r: 2, g: 2, b: 4, a: 0.3 }).toRgbString(),
516
+ selection: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
517
+ hover: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.05 }).toRgbString(),
518
+ brand: (0, import_colord4.colord)({ r: 16, g: 112, b: 112, a: 1 }).toRgbString(),
519
+ brandSecondary: base4.accent.rotate(-9).darken(0.3).alpha(0.5).toRgbString(),
520
+ success: (0, import_colord4.colord)({ r: 71, g: 235, b: 161, a: 0.35 }).toRgbString(),
521
+ warning: (0, import_colord4.colord)({ r: 255, g: 136, b: 51, a: 0.35 }).toRgbString(),
522
+ alert: (0, import_colord4.colord)({ r: 255, g: 51, b: 109, a: 0.35 }).toRgbString(),
523
+ neutral: (0, import_colord4.colord)({ r: 65, g: 57, b: 96, a: 1 }).toRgbString()
524
+ },
525
+ divider: {
526
+ divider: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString()
527
+ },
528
+ text: {
529
+ primary: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
530
+ secondary: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.75 }).toRgbString(),
531
+ tertiary: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.6 }).toRgbString(),
532
+ brand: (0, import_colord4.colord)({ r: 27, g: 188, b: 183, a: 1 }).toRgbString(),
533
+ brandSecondary: base4.accent.toRgbString(),
534
+ success: (0, import_colord4.colord)({ r: 163, g: 245, b: 200, a: 1 }).toRgbString(),
535
+ warning: (0, import_colord4.colord)({ r: 255, g: 206, b: 153, a: 1 }).toRgbString(),
536
+ alert: (0, import_colord4.colord)({ r: 255, g: 153, b: 172, a: 1 }).toRgbString(),
537
+ neutral: (0, import_colord4.colord)({ r: 191, g: 192, b: 217, a: 1 }).toRgbString()
538
+ },
539
+ link: {
540
+ link: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 1 }).toRgbString(),
541
+ linkHover: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 0.7 }).toRgbString(),
542
+ linkMinor: (0, import_colord4.colord)({ r: 41, g: 178, b: 188, a: 1 }).toRgbString(),
543
+ linkMinorHover: (0, import_colord4.colord)({ r: 41, g: 178, b: 188, a: 0.7 }).toRgbString()
544
+ }
545
+ },
546
+ control: {
547
+ primary: {
548
+ bg: (0, import_colord4.colord)({ r: 27, g: 188, b: 183, a: 1 }).toRgbString(),
549
+ bgHover: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString(),
550
+ bgPress: (0, import_colord4.colord)({ r: 12, g: 97, b: 94, a: 1 }).toRgbString(),
551
+ bgDisabled: (0, import_colord4.colord)({ r: 117, g: 120, b: 138, a: 1 }).toRgbString(),
552
+ border: (0, import_colord4.colord)({ r: 27, g: 188, b: 183, a: 1 }).toRgbString(),
553
+ borderHover: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString(),
554
+ borderPress: (0, import_colord4.colord)({ r: 12, g: 97, b: 94, a: 1 }).toRgbString()
555
+ },
556
+ secondary: {
557
+ bg: (0, import_colord4.colord)({ r: 26, g: 28, b: 40, a: 0 }).toRgbString(),
558
+ bgHover: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 0.1 }).toRgbString(),
559
+ bgPress: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 0.3 }).toRgbString(),
560
+ border: (0, import_colord4.colord)({ r: 27, g: 188, b: 183, a: 1 }).toRgbString(),
561
+ borderHover: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString(),
562
+ borderPress: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString()
563
+ },
564
+ default: {
565
+ bg: (0, import_colord4.colord)({ r: 247, g: 247, b: 258, a: 1 }).toRgbString(),
566
+ bgHover: (0, import_colord4.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
567
+ bgPress: (0, import_colord4.colord)({ r: 225, g: 255, b: 255, a: 1 }).toRgbString(),
568
+ border: (0, import_colord4.colord)({ r: 247, g: 247, b: 258, a: 1 }).toRgbString(),
569
+ borderHover: (0, import_colord4.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
570
+ borderPress: (0, import_colord4.colord)({ r: 225, g: 255, b: 255, a: 1 }).toRgbString()
571
+ },
572
+ input: {
573
+ bg: (0, import_colord4.colord)({ r: 3, g: 12, b: 21, a: 0.2 }).toRgbString(),
574
+ bgHover: (0, import_colord4.colord)({ r: 3, g: 12, b: 12, a: 0.2 }).toRgbString(),
575
+ bgDisabled: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString(),
576
+ border: (0, import_colord4.colord)({ r: 87, g: 97, b: 108, a: 1 }).toRgbString(),
577
+ borderHover: (0, import_colord4.colord)({ r: 87, g: 97, b: 108, a: 1 }).toRgbString(),
578
+ borderDisabled: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
579
+ text: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
580
+ textDisabled: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.3 }).toRgbString(),
581
+ placeholder: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.75 }).toRgbString()
582
+ },
583
+ focus: {
584
+ bg: (0, import_colord4.colord)({ r: 58, g: 75, b: 90, a: 1 }).toRgbString(),
585
+ border: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 1 }).toRgbString()
586
+ },
587
+ alert: {
588
+ bg: (0, import_colord4.colord)({ r: 24, g: 23, b: 28, a: 0 }).toRgbString(),
589
+ bgHover: (0, import_colord4.colord)({ r: 255, g: 153, b: 172, a: 0.1 }).toRgbString(),
590
+ bgPress: (0, import_colord4.colord)({ r: 255, g: 153, b: 172, a: 0.2 }).toRgbString(),
591
+ border: (0, import_colord4.colord)({ r: 255, g: 102, b: 138, a: 1 }).toRgbString(),
592
+ borderHover: (0, import_colord4.colord)({ r: 255, g: 51, b: 109, a: 1 }).toRgbString(),
593
+ borderPress: (0, import_colord4.colord)({ r: 255, g: 51, b: 109, a: 1 }).toRgbString()
594
+ },
595
+ check: {
596
+ bg: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 1 }).toRgbString(),
597
+ bgHover: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString(),
598
+ bgDisabled: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString()
599
+ },
600
+ faint: {
601
+ bg: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
602
+ bgHover: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0 }).toRgbString(),
603
+ border: (0, import_colord4.colord)({ r: 49, g: 238, b: 218, a: 1 }).toRgbString(),
604
+ borderHover: (0, import_colord4.colord)({ r: 7, g: 158, b: 169, a: 1 }).toRgbString()
605
+ },
606
+ toggle: {
607
+ bg: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
608
+ bgHover: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString()
609
+ },
610
+ text: {
611
+ active: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
612
+ secondary: (0, import_colord4.colord)({ r: 27, g: 188, b: 183, a: 1 }).toRgbString(),
613
+ default: (0, import_colord4.colord)({ r: 2, g: 2, b: 3, a: 1 }).toRgbString(),
614
+ primary: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
615
+ disabled: (0, import_colord4.colord)({ r: 255, g: 255, b: 255, a: 0.3 }).toRgbString(),
616
+ faint: (0, import_colord4.colord)({ r: 46, g: 58, b: 72, a: 1 }).toRgbString(),
617
+ alert: (0, import_colord4.colord)({ r: 255, g: 102, b: 138, a: 1 }).toRgbString()
618
+ }
619
+ }
620
+ }
621
+ });
622
+ var gaijin = ps4GaijinScheme();
623
+
624
+ // src/themes/paystation4/variants/nexters.ts
625
+ var import_colord5 = require("colord");
626
+ var base5 = {
627
+ content: (0, import_colord5.colord)({ h: 211, s: 8, l: 100 }),
628
+ surface: (0, import_colord5.colord)({ h: 255, s: 26, l: 20 }),
629
+ project: (0, import_colord5.colord)({ h: 237, s: 90, l: 60 }),
630
+ phantom: (0, import_colord5.colord)({ h: 211, s: 8, l: 100 }),
631
+ path: (0, import_colord5.colord)({ h: 234, s: 90, l: 70 }),
632
+ accent: (0, import_colord5.colord)("#FF336D"),
633
+ success: (0, import_colord5.colord)({ h: 147, s: 80, l: 80 }),
634
+ warning: (0, import_colord5.colord)({ h: 31, s: 100, l: 80 }),
635
+ alert: (0, import_colord5.colord)({ h: 346, s: 100, l: 70 }),
636
+ neutral: (0, import_colord5.colord)({ h: 237, s: 26, l: 80 })
637
+ };
638
+ var ps4NextersScheme = () => ({
639
+ colors: {
640
+ base: {
641
+ content: base5.content.toRgbString(),
642
+ surface: base5.surface.toRgbString(),
643
+ project: base5.project.toRgbString(),
644
+ phantom: base5.phantom.toRgbString(),
645
+ path: base5.path.toRgbString(),
646
+ accent: base5.accent.toRgbString(),
647
+ success: base5.success.toRgbString(),
648
+ warning: base5.warning.toRgbString(),
649
+ alert: base5.alert.toRgbString(),
650
+ neutral: base5.neutral.toRgbString()
651
+ },
652
+ core: {
653
+ background: {
654
+ primary: (0, import_colord5.colord)({ r: 32, g: 19, b: 8, a: 1 }).toRgbString(),
655
+ secondary: base5.surface.toRgbString(),
656
+ ghost: (0, import_colord5.colord)({ r: 45, g: 25, b: 13, a: 1 }).toRgbString(),
657
+ tone: (0, import_colord5.colord)({ r: 51, g: 28, b: 14, a: 1 }).toRgbString(),
658
+ selection: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 0.15 }).toRgbString(),
659
+ hover: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 0.05 }).toRgbString(),
660
+ brand: (0, import_colord5.colord)({ r: 244, g: 163, b: 2, a: 0.3 }).toRgbString(),
661
+ brandSecondary: base5.accent.rotate(-9).darken(0.3).alpha(0.5).toRgbString(),
662
+ success: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
663
+ warning: (0, import_colord5.colord)({ r: 145, g: 93, b: 36, a: 1 }).toRgbString(),
664
+ alert: (0, import_colord5.colord)({ r: 194, g: 18, b: 19, a: 1 }).toRgbString(),
665
+ neutral: (0, import_colord5.colord)({ r: 13, g: 106, b: 185, a: 1 }).toRgbString()
666
+ },
667
+ divider: {
668
+ divider: (0, import_colord5.colord)({ r: 61, g: 31, b: 14, a: 1 }).toRgbString()
669
+ },
670
+ text: {
671
+ primary: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
672
+ secondary: (0, import_colord5.colord)({ r: 190, g: 150, b: 128, a: 1 }).toRgbString(),
673
+ tertiary: (0, import_colord5.colord)({ r: 155, g: 113, b: 89, a: 1 }).toRgbString(),
674
+ brand: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
675
+ brandSecondary: base5.accent.toRgbString(),
676
+ success: (0, import_colord5.colord)({ r: 163, g: 245, b: 200, a: 1 }).toRgbString(),
677
+ warning: (0, import_colord5.colord)({ r: 255, g: 206, b: 153, a: 1 }).toRgbString(),
678
+ alert: (0, import_colord5.colord)({ r: 255, g: 153, b: 172, a: 1 }).toRgbString(),
679
+ neutral: (0, import_colord5.colord)({ r: 191, g: 192, b: 217, a: 1 }).toRgbString()
680
+ },
681
+ link: {
682
+ link: (0, import_colord5.colord)({ r: 104, g: 202, b: 45, a: 1 }).toRgbString(),
683
+ linkHover: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
684
+ linkMinor: (0, import_colord5.colord)({ r: 255, g: 214, b: 109, a: 1 }).toRgbString(),
685
+ linkMinorHover: (0, import_colord5.colord)({ r: 254, g: 196, b: 57, a: 1 }).toRgbString()
686
+ }
687
+ },
688
+ control: {
689
+ primary: {
690
+ bg: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
691
+ bgHover: (0, import_colord5.colord)({ r: 104, g: 202, b: 45, a: 1 }).toRgbString(),
692
+ bgPress: (0, import_colord5.colord)({ r: 115, g: 226, b: 62, a: 1 }).toRgbString(),
693
+ bgDisabled: (0, import_colord5.colord)({ r: 102, g: 102, b: 102, a: 1 }).toRgbString(),
694
+ border: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
695
+ borderHover: (0, import_colord5.colord)({ r: 104, g: 202, b: 45, a: 1 }).toRgbString(),
696
+ borderPress: (0, import_colord5.colord)({ r: 115, g: 226, b: 62, a: 1 }).toRgbString()
697
+ },
698
+ secondary: {
699
+ bg: (0, import_colord5.colord)({ r: 51, g: 28, b: 14, a: 1 }).toRgbString(),
700
+ bgHover: (0, import_colord5.colord)({ r: 61, g: 31, b: 14, a: 1 }).toRgbString(),
701
+ bgPress: (0, import_colord5.colord)({ r: 71, g: 35, b: 14, a: 1 }).toRgbString(),
702
+ border: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
703
+ borderHover: (0, import_colord5.colord)({ r: 104, g: 202, b: 45, a: 1 }).toRgbString(),
704
+ borderPress: (0, import_colord5.colord)({ r: 115, g: 226, b: 62, a: 1 }).toRgbString()
705
+ },
706
+ default: {
707
+ bg: (0, import_colord5.colord)({ r: 247, g: 247, b: 248, a: 1 }).toRgbString(),
708
+ bgHover: (0, import_colord5.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
709
+ bgPress: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString(),
710
+ border: (0, import_colord5.colord)({ r: 247, g: 247, b: 248, a: 1 }).toRgbString(),
711
+ borderHover: (0, import_colord5.colord)({ r: 227, g: 229, b: 231, a: 1 }).toRgbString(),
712
+ borderPress: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 1 }).toRgbString()
713
+ },
714
+ input: {
715
+ bg: (0, import_colord5.colord)({ r: 51, g: 28, b: 14, a: 1 }).toRgbString(),
716
+ bgHover: (0, import_colord5.colord)({ r: 51, g: 28, b: 14, a: 1 }).toRgbString(),
717
+ bgDisabled: (0, import_colord5.colord)({ r: 51, g: 51, b: 51, a: 1 }).toRgbString(),
718
+ border: (0, import_colord5.colord)({ r: 77, g: 44, b: 7, a: 1 }).toRgbString(),
719
+ borderHover: (0, import_colord5.colord)({ r: 145, g: 93, b: 36, a: 1 }).toRgbString(),
720
+ borderDisabled: (0, import_colord5.colord)({ r: 32, g: 19, b: 8, a: 1 }).toRgbString(),
721
+ text: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
722
+ textDisabled: (0, import_colord5.colord)({ r: 102, g: 102, b: 102, a: 1 }).toRgbString(),
723
+ placeholder: (0, import_colord5.colord)({ r: 145, g: 93, b: 36, a: 1 }).toRgbString()
724
+ },
725
+ focus: {
726
+ bg: (0, import_colord5.colord)({ r: 71, g: 35, b: 14, a: 1 }).toRgbString(),
727
+ border: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString()
728
+ },
729
+ alert: {
730
+ bg: "transparent",
731
+ bgHover: (0, import_colord5.colord)({ r: 194, g: 18, b: 19, a: 0.1 }).toRgbString(),
732
+ bgPress: (0, import_colord5.colord)({ r: 194, g: 18, b: 19, a: 0.2 }).toRgbString(),
733
+ border: (0, import_colord5.colord)({ r: 194, g: 18, b: 19, a: 1 }).toRgbString(),
734
+ borderHover: (0, import_colord5.colord)({ r: 211, g: 40, b: 41, a: 1 }).toRgbString(),
735
+ borderPress: (0, import_colord5.colord)({ r: 236, g: 49, b: 50, a: 1 }).toRgbString()
736
+ },
737
+ check: {
738
+ bg: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
739
+ bgHover: (0, import_colord5.colord)({ r: 192, g: 138, b: 2, a: 1 }).toRgbString(),
740
+ bgDisabled: (0, import_colord5.colord)({ r: 51, g: 51, b: 51, a: 1 }).toRgbString()
741
+ },
742
+ faint: {
743
+ bg: "transparent",
744
+ bgHover: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 0.3 }).toRgbString(),
745
+ border: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString(),
746
+ borderHover: (0, import_colord5.colord)({ r: 75, g: 148, b: 29, a: 1 }).toRgbString()
747
+ },
748
+ toggle: {
749
+ bg: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 0.1 }).toRgbString(),
750
+ bgHover: (0, import_colord5.colord)({ r: 255, g: 255, b: 255, a: 0.2 }).toRgbString()
751
+ },
752
+ text: {
753
+ active: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
754
+ secondary: (0, import_colord5.colord)({ r: 104, g: 202, b: 45, a: 1 }).toRgbString(),
755
+ default: (0, import_colord5.colord)({ r: 2, g: 2, b: 3, a: 1 }).toRgbString(),
756
+ primary: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
757
+ disabled: (0, import_colord5.colord)({ r: 153, g: 153, b: 153, a: 1 }).toRgbString(),
758
+ faint: (0, import_colord5.colord)({ r: 255, g: 250, b: 214, a: 1 }).toRgbString(),
759
+ alert: (0, import_colord5.colord)({ r: 194, g: 18, b: 19, a: 1 }).toRgbString()
760
+ }
761
+ }
762
+ }
763
+ });
764
+ var nexters = ps4NextersScheme();
765
+
766
+ // src/themes/paystation4/misc.ts
767
+ var borderRadiusScale = {
768
+ sm: "4px",
769
+ md: "8px",
770
+ lg: "12px",
771
+ xl: "16px"
772
+ };
773
+ var misc = {
774
+ borderRadiusScale,
775
+ borderWidth: "2px",
776
+ borderRadius: {
777
+ /* for Autocomplet, Select, TextField, DatePicker, Pin */
778
+ input: borderRadiusScale.md,
779
+ /* for Button, Upload */
780
+ button: borderRadiusScale.md,
781
+ buttonIcon: borderRadiusScale.md,
782
+ /* Calendar, ContextMenu, Tooltip, Notification, Avatar (square type), */
783
+ popup: borderRadiusScale.md,
784
+ checkbox: borderRadiusScale.sm,
785
+ tag: "18px"
786
+ },
787
+ minWidth: {
788
+ button: "40px"
789
+ }
790
+ };
791
+
792
+ // src/themes/paystation4/scale.ts
793
+ var typoScale = {
794
+ fontSize: {
795
+ $xs: "10px",
796
+ $sm: "12px",
797
+ $md: "14px",
798
+ $lg: "16px",
799
+ $xl: "18px",
800
+ $2xl: "20px",
801
+ $3xl: "24px",
802
+ $4xl: "30px"
803
+ },
804
+ lineHeight: {
805
+ $xs: "14px",
806
+ $sm: "17px",
807
+ $md: "20px",
808
+ $lg: "22px",
809
+ $xl: "25px",
810
+ $2xl: "28px",
811
+ $3xl: "32px",
812
+ $4xl: "36px"
813
+ }
814
+ };
815
+
816
+ // src/themes/paystation4/typo.ts
817
+ var typo = {
818
+ fontFamily: `'GraphikLCWebUikit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
819
+ Helvetica, Arial, sans-serif`,
820
+ core: {
821
+ strong: {
822
+ fontSize: "36px",
823
+ lineHeight: "40px"
824
+ },
825
+ h1: {
826
+ fontSize: typoScale.fontSize.$4xl,
827
+ lineHeight: typoScale.lineHeight.$4xl,
828
+ fontWeight: 500
829
+ },
830
+ h2: {
831
+ fontSize: typoScale.fontSize.$3xl,
832
+ lineHeight: typoScale.lineHeight.$3xl,
833
+ fontWeight: 500
834
+ },
835
+ h3: {
836
+ fontSize: typoScale.fontSize.$2xl,
837
+ lineHeight: typoScale.lineHeight.$2xl,
838
+ fontWeight: 500
839
+ },
840
+ h4: { fontSize: typoScale.fontSize.$xl, lineHeight: typoScale.lineHeight.$xl, fontWeight: 500 },
841
+ bodyMd: { fontSize: typoScale.fontSize.$md, lineHeight: typoScale.lineHeight.$md },
842
+ bodyMdAccent: {
843
+ fontSize: typoScale.fontSize.$md,
844
+ lineHeight: typoScale.lineHeight.$md,
845
+ fontWeight: 500
846
+ },
847
+ bodyLg: {
848
+ fontSize: typoScale.fontSize.$lg,
849
+ lineHeight: typoScale.lineHeight.$md,
850
+ fontWeight: 400
851
+ },
852
+ bodyLgAccent: {
853
+ fontSize: typoScale.fontSize.$lg,
854
+ lineHeight: typoScale.lineHeight.$md,
855
+ fontWeight: 500
856
+ },
857
+ paragraph: { fontSize: typoScale.fontSize.$md, lineHeight: typoScale.lineHeight.$md },
858
+ label: { fontSize: typoScale.fontSize.$md, lineHeight: typoScale.lineHeight.$md },
859
+ minor: { fontSize: typoScale.fontSize.$sm, lineHeight: typoScale.lineHeight.$sm }
860
+ },
861
+ components: {
862
+ button: {
863
+ sm: {
864
+ fontSize: typoScale.fontSize.$sm,
865
+ lineHeight: typoScale.lineHeight.$sm,
866
+ fontWeight: 500
867
+ },
868
+ md: {
869
+ fontSize: typoScale.fontSize.$md,
870
+ lineHeight: typoScale.lineHeight.$md,
871
+ fontWeight: 500
872
+ },
873
+ lg: {
874
+ fontSize: typoScale.fontSize.$lg,
875
+ lineHeight: typoScale.lineHeight.$lg,
876
+ fontWeight: 500
877
+ }
878
+ },
879
+ input: {
880
+ sm: {
881
+ fontSize: typoScale.fontSize.$sm,
882
+ lineHeight: typoScale.lineHeight.$sm,
883
+ fontWeight: 400
884
+ },
885
+ md: {
886
+ fontSize: typoScale.fontSize.$md,
887
+ lineHeight: typoScale.lineHeight.$md,
888
+ fontWeight: 400
889
+ },
890
+ lg: {
891
+ fontSize: typoScale.fontSize.$lg,
892
+ lineHeight: typoScale.lineHeight.$lg,
893
+ fontWeight: 400
894
+ }
895
+ },
896
+ tab: {
897
+ sm: {
898
+ fontSize: typoScale.fontSize.$sm,
899
+ lineHeight: typoScale.lineHeight.$sm,
900
+ fontWeight: 500
901
+ },
902
+ md: {
903
+ fontSize: typoScale.fontSize.$md,
904
+ lineHeight: typoScale.lineHeight.$md,
905
+ fontWeight: 500
906
+ },
907
+ lg: {
908
+ fontSize: typoScale.fontSize.$lg,
909
+ lineHeight: typoScale.lineHeight.$lg,
910
+ fontWeight: 500
911
+ }
912
+ },
913
+ check: {
914
+ sm: {
915
+ fontSize: typoScale.fontSize.$sm,
916
+ lineHeight: typoScale.lineHeight.$sm,
917
+ fontWeight: 400
918
+ },
919
+ md: {
920
+ fontSize: typoScale.fontSize.$md,
921
+ lineHeight: typoScale.lineHeight.$md,
922
+ fontWeight: 400
923
+ },
924
+ lg: {
925
+ fontSize: typoScale.fontSize.$lg,
926
+ lineHeight: typoScale.lineHeight.$lg,
927
+ fontWeight: 400
928
+ }
929
+ },
930
+ heading: {
931
+ sm: {
932
+ fontSize: typoScale.fontSize.$xs,
933
+ lineHeight: typoScale.lineHeight.$xs,
934
+ fontWeight: 400,
935
+ textTransform: "uppercase"
936
+ },
937
+ md: {
938
+ fontSize: typoScale.fontSize.$sm,
939
+ lineHeight: typoScale.lineHeight.$sm,
940
+ fontWeight: 400,
941
+ textTransform: "uppercase"
942
+ },
943
+ lg: {
944
+ fontSize: typoScale.fontSize.$md,
945
+ lineHeight: typoScale.lineHeight.$md,
946
+ fontWeight: 400,
947
+ textTransform: "uppercase"
948
+ }
949
+ },
950
+ label: {
951
+ sm: {
952
+ fontSize: typoScale.fontSize.$xs,
953
+ lineHeight: typoScale.lineHeight.$xs,
954
+ fontWeight: 400
955
+ },
956
+ md: {
957
+ fontSize: typoScale.fontSize.$sm,
958
+ lineHeight: typoScale.lineHeight.$sm,
959
+ fontWeight: 400
960
+ },
961
+ lg: {
962
+ fontSize: typoScale.fontSize.$md,
963
+ lineHeight: typoScale.lineHeight.$md,
964
+ fontWeight: 400
965
+ }
966
+ },
967
+ fieldGroup: {
968
+ sm: {
969
+ fontSize: typoScale.fontSize.$xs,
970
+ lineHeight: typoScale.lineHeight.$xs,
971
+ fontWeight: 400
972
+ },
973
+ md: {
974
+ fontSize: typoScale.fontSize.$sm,
975
+ lineHeight: typoScale.lineHeight.$sm,
976
+ fontWeight: 400
977
+ },
978
+ lg: {
979
+ fontSize: typoScale.fontSize.$md,
980
+ lineHeight: typoScale.lineHeight.$md,
981
+ fontWeight: 400
982
+ }
983
+ }
984
+ }
985
+ };
986
+
987
+ // src/default/shadows.ts
988
+ var shadowsDefault = {
989
+ active: "0px 1px 2px rgba(7, 7, 8, 0.2), 0px 1px 3px 1px rgba(7, 7, 8, 0.1)",
990
+ surface: "0px 1px 2px rgba(7, 7, 8, 0.2), 0px 2px 6px 2px rgba(7, 7, 8, 0.1)",
991
+ surfaceHover: "0px 4px 8px 3px rgba(7, 7, 8, 0.1), 0px 1px 3px rgba(7, 7, 8, 0.2)",
992
+ popover: "0px 6px 10px 4px rgba(7, 7, 8, 0.1), 0px 2px 3px rgba(7, 7, 8, 0.2)",
993
+ modal: "0px 8px 12px 6px rgba(7, 7, 8, 0.1), 0px 4px 4px rgba(7, 7, 8, 0.2)"
994
+ };
995
+
996
+ // src/themes/paystation4/shadows.ts
997
+ var shadows = shadowsDefault;
998
+
999
+ // src/themes/paystation4/paystation4.ts
1000
+ var paystation4 = {
1001
+ ...light,
1002
+ typo,
1003
+ misc,
1004
+ shadows
1005
+ };
1006
+ var paystation4Dark = {
1007
+ ...paystation4,
1008
+ ...dark
1009
+ };
1010
+ var paystation4Take2 = {
1011
+ ...paystation4,
1012
+ ...take2
1013
+ };
1014
+ var paystation4Gaijin = {
1015
+ ...paystation4,
1016
+ ...gaijin
1017
+ };
1018
+ var paystation4Nexters = {
1019
+ ...paystation4,
1020
+ ...nexters
1021
+ };
1022
+ var paystation4Themes = {
1023
+ light: paystation4,
1024
+ dark: paystation4Dark,
1025
+ take2: paystation4Take2,
1026
+ gaijin: paystation4Gaijin,
1027
+ nexters: paystation4Nexters
1028
+ };
1029
+
1030
+ // src/themes/emails/variants/dark.ts
1031
+ var import_colord6 = require("colord");
1032
+ var base6 = {
1033
+ content: (0, import_colord6.colord)({ h: 211, s: 8, l: 100 }),
1034
+ surface: (0, import_colord6.colord)({ h: 255, s: 26, l: 20 }),
1035
+ project: (0, import_colord6.colord)({ h: 237, s: 90, l: 60 }),
1036
+ phantom: (0, import_colord6.colord)({ h: 211, s: 8, l: 100 }),
1037
+ path: (0, import_colord6.colord)({ h: 231, s: 90, l: 80 }),
1038
+ accent: (0, import_colord6.colord)({ h: 343, s: 100, l: 60 }),
1039
+ success: (0, import_colord6.colord)({ h: 147, s: 80, l: 80 }),
1040
+ warning: (0, import_colord6.colord)({ h: 31, s: 100, l: 80 }),
1041
+ alert: (0, import_colord6.colord)({ h: 346, s: 100, l: 70 }),
1042
+ neutral: (0, import_colord6.colord)({ h: 237, s: 26, l: 80 })
1043
+ };
1044
+ var emailsDarkScheme = (base10) => ({
1045
+ colors: {
1046
+ base: {
1047
+ content: base10.content.toRgbString(),
1048
+ surface: base10.surface.toRgbString(),
1049
+ project: base10.project.toRgbString(),
1050
+ phantom: base10.phantom.toRgbString(),
1051
+ path: base10.path.toRgbString(),
1052
+ accent: base10.accent.toRgbString(),
1053
+ success: base10.success.toRgbString(),
1054
+ warning: base10.warning.toRgbString(),
1055
+ alert: base10.alert.toRgbString(),
1056
+ neutral: base10.neutral.toRgbString()
1057
+ },
1058
+ core: {
1059
+ background: {
1060
+ primary: base10.surface.toRgbString(),
1061
+ secondary: base10.surface.rotate(3).darken(0.1).toRgbString(),
1062
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
1063
+ tone: base10.phantom.darken(1).alpha(0.3).toRgbString(),
1064
+ selection: base10.phantom.alpha(0.15).toRgbString(),
1065
+ hover: base10.phantom.alpha(0.1).toRgbString(),
1066
+ brand: base10.project.rotate(-6).lighten(0.2).toRgbString(),
1067
+ brandSecondary: base10.accent.rotate(-9).darken(0.3).alpha(0.5).toRgbString(),
1068
+ success: base10.success.rotate(6).darken(0.2).alpha(0.35).toRgbString(),
1069
+ warning: base10.warning.rotate(-6).darken(0.2).alpha(0.35).toRgbString(),
1070
+ alert: base10.alert.rotate(-3).darken(0.1).alpha(0.35).toRgbString(),
1071
+ neutral: base10.neutral.rotate(15).darken(0.5).toRgbString()
1072
+ },
1073
+ divider: {
1074
+ divider: base10.phantom.alpha(0.15).toRgbString()
1075
+ },
1076
+ text: {
1077
+ primary: base10.content.toRgbString(),
1078
+ secondary: base10.content.alpha(0.72).toRgbString(),
1079
+ tertiary: base10.content.alpha(0.56).toRgbString(),
1080
+ brand: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1081
+ brandSecondary: base10.accent.toRgbString(),
1082
+ success: base10.success.toRgbString(),
1083
+ warning: base10.warning.toRgbString(),
1084
+ alert: base10.alert.rotate(3).lighten(0.1).toRgbString(),
1085
+ neutral: base10.neutral.toRgbString()
1086
+ },
1087
+ link: {
1088
+ link: base10.path.toRgbString(),
1089
+ linkHover: base10.path.alpha(0.7).toRgbString(),
1090
+ linkMinor: base10.path.rotate(-3).lighten(0.1).toRgbString(),
1091
+ linkMinorHover: base10.path.rotate(-3).lighten(0.1).alpha(0.7).toRgbString()
1092
+ }
1093
+ },
1094
+ control: {
1095
+ primary: {
1096
+ bg: base10.project.toRgbString(),
1097
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1098
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1099
+ bgDisabled: base10.surface.rotate(-3).lighten(0.1).toRgbString(),
1100
+ border: base10.project.toRgbString(),
1101
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1102
+ borderPress: base10.project.rotate(-3).lighten(0.1).toRgbString()
1103
+ },
1104
+ secondary: {
1105
+ bg: "transparent",
1106
+ bgHover: base10.project.rotate(-3).lighten(0.1).alpha(0.1).toRgbString(),
1107
+ bgPress: base10.project.rotate(-3).lighten(0.1).alpha(0.3).toRgbString(),
1108
+ border: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1109
+ borderHover: base10.project.toRgbString(),
1110
+ borderPress: base10.project.toRgbString()
1111
+ },
1112
+ default: {
1113
+ bg: (0, import_colord6.colord)({ h: 214, s: 8, l: 97 }).toRgbString(),
1114
+ bgHover: (0, import_colord6.colord)({ h: 220, s: 80, l: 90 }).toRgbString(),
1115
+ bgPress: (0, import_colord6.colord)({ h: 217, s: 8, l: 95 }).toRgbString(),
1116
+ border: (0, import_colord6.colord)({ h: 214, s: 8, l: 97 }).toRgbString(),
1117
+ borderHover: (0, import_colord6.colord)({ h: 220, s: 80, l: 90 }).toRgbString(),
1118
+ borderPress: (0, import_colord6.colord)({ h: 217, s: 8, l: 95 }).toRgbString()
1119
+ },
1120
+ input: {
1121
+ bg: base10.phantom.alpha(0.07).toRgbString(),
1122
+ bgHover: base10.phantom.alpha(0.1).toRgbString(),
1123
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString(),
1124
+ border: "transparent",
1125
+ borderHover: base10.phantom.alpha(0.1).toRgbString(),
1126
+ borderDisabled: "transparent",
1127
+ text: base10.content.toRgbString(),
1128
+ textDisabled: base10.content.alpha(0.36).toRgbString(),
1129
+ placeholder: base10.content.alpha(0.55).toRgbString()
1130
+ },
1131
+ focus: {
1132
+ bg: base10.surface.rotate(3).darken(0.1).toRgbString(),
1133
+ border: base10.project.toRgbString()
1134
+ },
1135
+ alert: {
1136
+ bg: "transparent",
1137
+ bgHover: base10.alert.rotate(3).lighten(0.1).alpha(0.1).toRgbString(),
1138
+ bgPress: base10.alert.rotate(3).lighten(0.1).alpha(0.2).toRgbString(),
1139
+ border: base10.alert.toRgbString(),
1140
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
1141
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
1142
+ },
1143
+ check: {
1144
+ bg: base10.project.toRgbString(),
1145
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1146
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
1147
+ },
1148
+ faint: {
1149
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1150
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
1151
+ border: "transparent",
1152
+ borderHover: base10.phantom.alpha(0.12).toRgbString()
1153
+ },
1154
+ toggle: {
1155
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1156
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
1157
+ },
1158
+ text: {
1159
+ active: base10.content.toRgbString(),
1160
+ secondary: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1161
+ default: base10.content.darken(1).toRgbString(),
1162
+ primary: base10.content.toRgbString(),
1163
+ disabled: base10.content.alpha(0.3).toRgbString(),
1164
+ faint: base10.content.toRgbString(),
1165
+ alert: base10.alert.toRgbString()
1166
+ }
1167
+ }
1168
+ }
1169
+ });
1170
+ var dark2 = emailsDarkScheme(base6);
1171
+
1172
+ // src/themes/emails/variants/light.ts
1173
+ var import_colord7 = require("colord");
1174
+ var base7 = {
1175
+ content: (0, import_colord7.colord)({ h: 244, s: 8, l: 10 }),
1176
+ surface: (0, import_colord7.colord)({ h: 211, s: 8, l: 100 }),
1177
+ project: (0, import_colord7.colord)({ h: 237, s: 90, l: 60 }),
1178
+ phantom: (0, import_colord7.colord)({ h: 252, s: 26, l: 30 }),
1179
+ path: (0, import_colord7.colord)({ h: 243, s: 90, l: 40 }),
1180
+ accent: (0, import_colord7.colord)({ h: 343, s: 100, l: 60 }),
1181
+ success: (0, import_colord7.colord)({ h: 162, s: 80, l: 30 }),
1182
+ warning: (0, import_colord7.colord)({ h: 19, s: 100, l: 40 }),
1183
+ alert: (0, import_colord7.colord)({ h: 337, s: 100, l: 40 }),
1184
+ neutral: (0, import_colord7.colord)({ h: 252, s: 26, l: 30 })
1185
+ };
1186
+ var emailsLightScheme = (base10) => ({
1187
+ colors: {
1188
+ base: {
1189
+ content: base10.content.toRgbString(),
1190
+ surface: base10.surface.toRgbString(),
1191
+ project: base10.project.toRgbString(),
1192
+ phantom: base10.phantom.toRgbString(),
1193
+ path: base10.path.toRgbString(),
1194
+ accent: base10.accent.toRgbString(),
1195
+ success: base10.success.toRgbString(),
1196
+ warning: base10.warning.toRgbString(),
1197
+ alert: base10.alert.toRgbString(),
1198
+ neutral: base10.neutral.toRgbString()
1199
+ },
1200
+ core: {
1201
+ background: {
1202
+ primary: base10.surface.toRgbString(),
1203
+ secondary: base10.surface.toRgbString(),
1204
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
1205
+ tone: base10.phantom.desaturate(0.16).alpha(0.5).toRgbString(),
1206
+ selection: base10.phantom.alpha(0.1).toRgbString(),
1207
+ hover: base10.phantom.alpha(0.08).toRgbString(),
1208
+ brand: base10.project.rotate(-9).lighten(0.3).toRgbString(),
1209
+ brandSecondary: base10.accent.rotate(6).lighten(0.2).toRgbString(),
1210
+ success: base10.success.rotate(-21).lighten(0.65).toRgbString(),
1211
+ warning: base10.warning.rotate(18).lighten(0.55).toRgbString(),
1212
+ alert: base10.alert.rotate(18).lighten(0.55).toRgbString(),
1213
+ neutral: base10.neutral.rotate(-21).lighten(0.65).toRgbString()
1214
+ },
1215
+ divider: {
1216
+ divider: base10.phantom.alpha(0.15).toRgbString()
1217
+ },
1218
+ text: {
1219
+ primary: base10.content.toRgbString(),
1220
+ secondary: base10.content.alpha(0.75).toRgbString(),
1221
+ tertiary: base10.content.alpha(0.61).toRgbString(),
1222
+ brand: base10.project.toRgbString(),
1223
+ brandSecondary: base10.accent.toRgbString(),
1224
+ success: base10.success.toRgbString(),
1225
+ warning: base10.warning.toRgbString(),
1226
+ alert: base10.alert.rotate(-3).darken(0.1).toRgbString(),
1227
+ neutral: base10.neutral.toRgbString()
1228
+ },
1229
+ link: {
1230
+ link: base10.path.toRgbString(),
1231
+ linkHover: base10.path.alpha(0.7).toRgbString(),
1232
+ linkMinor: base10.path.rotate(-6).lighten(0.2).toRgbString(),
1233
+ linkMinorHover: base10.path.rotate(-6).lighten(0.2).alpha(0.7).toRgbString()
1234
+ }
1235
+ },
1236
+ control: {
1237
+ primary: {
1238
+ bg: base10.project.toRgbString(),
1239
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1240
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1241
+ bgDisabled: base10.surface.rotate(12).darken(0.2).toRgbString(),
1242
+ border: base10.project.toRgbString(),
1243
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1244
+ borderPress: base10.project.rotate(-3).lighten(0.1).toRgbString()
1245
+ },
1246
+ secondary: {
1247
+ bg: "transparent",
1248
+ bgHover: base10.project.rotate(-6).lighten(0.2).alpha(0.2).toRgbString(),
1249
+ bgPress: base10.project.rotate(-6).lighten(0.2).alpha(0.5).toRgbString(),
1250
+ border: base10.project.toRgbString(),
1251
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1252
+ borderPress: base10.project.rotate(3).darken(0.1).toRgbString()
1253
+ },
1254
+ default: {
1255
+ bg: base10.surface.rotate(33).darken(0.9).toRgbString(),
1256
+ bgHover: base10.surface.rotate(33).darken(0.95).toRgbString(),
1257
+ bgPress: base10.surface.rotate(33).darken(0.8).toRgbString(),
1258
+ border: base10.surface.rotate(33).darken(0.9).toRgbString(),
1259
+ borderHover: base10.surface.rotate(33).darken(0.95).toRgbString(),
1260
+ borderPress: base10.surface.rotate(33).darken(0.8).toRgbString()
1261
+ },
1262
+ input: {
1263
+ bg: base10.phantom.alpha(0.07).toRgbString(),
1264
+ bgHover: base10.phantom.alpha(0.1).toRgbString(),
1265
+ bgDisabled: base10.phantom.alpha(0.15).toRgbString(),
1266
+ border: "transparent",
1267
+ borderHover: base10.phantom.alpha(0.1).toRgbString(),
1268
+ borderDisabled: "transparent",
1269
+ text: base10.content.toRgbString(),
1270
+ textDisabled: base10.content.alpha(0.36).toRgbString(),
1271
+ placeholder: base10.content.alpha(0.61).toRgbString()
1272
+ },
1273
+ focus: {
1274
+ bg: base10.surface.toRgbString(),
1275
+ border: base10.project.toRgbString()
1276
+ },
1277
+ alert: {
1278
+ bg: "transparent",
1279
+ bgHover: base10.alert.rotate(9).lighten(0.3).alpha(0.2).toRgbString(),
1280
+ bgPress: base10.alert.rotate(9).lighten(0.3).alpha(0.5).toRgbString(),
1281
+ border: base10.alert.toRgbString(),
1282
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
1283
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
1284
+ },
1285
+ check: {
1286
+ bg: base10.project.toRgbString(),
1287
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1288
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
1289
+ },
1290
+ faint: {
1291
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1292
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
1293
+ border: "transparent",
1294
+ borderHover: base10.phantom.alpha(0.15).toRgbString()
1295
+ },
1296
+ toggle: {
1297
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1298
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
1299
+ },
1300
+ text: {
1301
+ active: base10.content.lighten(1).toRgbString(),
1302
+ secondary: base10.project.toRgbString(),
1303
+ default: base10.content.lighten(1).toRgbString(),
1304
+ primary: base10.content.toRgbString(),
1305
+ disabled: base10.content.alpha(0.3).toRgbString(),
1306
+ faint: base10.content.lighten(1).toRgbString(),
1307
+ alert: base10.alert.toRgbString()
1308
+ }
1309
+ }
1310
+ }
1311
+ });
1312
+ var light2 = emailsLightScheme(base7);
1313
+
1314
+ // src/themes/emails/misc.ts
1315
+ var borderRadiusScale2 = {
1316
+ sm: "4px",
1317
+ md: "8px",
1318
+ lg: "12px",
1319
+ xl: "16px"
1320
+ };
1321
+ var misc2 = {
1322
+ borderRadiusScale: borderRadiusScale2,
1323
+ borderWidth: "2px",
1324
+ borderRadius: {
1325
+ /* for Autocomplet, Select, TextField, DatePicker, Pin */
1326
+ input: borderRadiusScale2.md,
1327
+ /* for Button, Upload */
1328
+ button: borderRadiusScale2.md,
1329
+ buttonIcon: borderRadiusScale2.md,
1330
+ /* Calendar, ContextMenu, Tooltip, Notification, Avatar (square type), */
1331
+ popup: borderRadiusScale2.md,
1332
+ checkbox: borderRadiusScale2.sm,
1333
+ tag: "18px"
1334
+ },
1335
+ minWidth: {
1336
+ button: "40px"
1337
+ }
1338
+ };
1339
+
1340
+ // src/themes/emails/scale.ts
1341
+ var typoScale2 = {
1342
+ fontSize: {
1343
+ $xs: "10px",
1344
+ $sm: "12px",
1345
+ $md: "14px",
1346
+ $lg: "16px",
1347
+ $xl: "18px",
1348
+ $2xl: "20px",
1349
+ $3xl: "24px",
1350
+ $4xl: "30px"
1351
+ },
1352
+ lineHeight: {
1353
+ $xs: "14px",
1354
+ $sm: "17px",
1355
+ $md: "20px",
1356
+ $lg: "22px",
1357
+ $xl: "25px",
1358
+ $2xl: "28px",
1359
+ $3xl: "32px",
1360
+ $4xl: "36px"
1361
+ }
1362
+ };
1363
+
1364
+ // src/themes/emails/typo.ts
1365
+ var typo2 = {
1366
+ fontFamily: `'GraphikLCWebUikit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
1367
+ Helvetica, Arial, sans-serif`,
1368
+ core: {
1369
+ strong: {
1370
+ fontSize: "36px",
1371
+ lineHeight: "40px"
1372
+ },
1373
+ h1: { fontSize: typoScale2.fontSize.$4xl, lineHeight: typoScale2.lineHeight.$4xl, fontWeight: 500 },
1374
+ h2: { fontSize: typoScale2.fontSize.$3xl, lineHeight: typoScale2.lineHeight.$3xl, fontWeight: 500 },
1375
+ h3: { fontSize: typoScale2.fontSize.$2xl, lineHeight: typoScale2.lineHeight.$2xl, fontWeight: 500 },
1376
+ h4: { fontSize: typoScale2.fontSize.$xl, lineHeight: typoScale2.lineHeight.$xl, fontWeight: 500 },
1377
+ bodyMd: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md },
1378
+ bodyMdAccent: {
1379
+ fontSize: typoScale2.fontSize.$md,
1380
+ lineHeight: typoScale2.lineHeight.$md,
1381
+ fontWeight: 500
1382
+ },
1383
+ bodyLg: {
1384
+ fontSize: typoScale2.fontSize.$lg,
1385
+ lineHeight: typoScale2.lineHeight.$md,
1386
+ fontWeight: 400
1387
+ },
1388
+ bodyLgAccent: {
1389
+ fontSize: typoScale2.fontSize.$lg,
1390
+ lineHeight: typoScale2.lineHeight.$md,
1391
+ fontWeight: 500
1392
+ },
1393
+ paragraph: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md },
1394
+ label: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md },
1395
+ minor: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm }
1396
+ },
1397
+ components: {
1398
+ button: {
1399
+ sm: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 500 },
1400
+ md: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 500 },
1401
+ lg: { fontSize: typoScale2.fontSize.$lg, lineHeight: typoScale2.lineHeight.$lg, fontWeight: 500 }
1402
+ },
1403
+ input: {
1404
+ sm: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 400 },
1405
+ md: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 400 },
1406
+ lg: { fontSize: typoScale2.fontSize.$lg, lineHeight: typoScale2.lineHeight.$lg, fontWeight: 400 }
1407
+ },
1408
+ tab: {
1409
+ sm: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 500 },
1410
+ md: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 500 },
1411
+ lg: { fontSize: typoScale2.fontSize.$lg, lineHeight: typoScale2.lineHeight.$lg, fontWeight: 500 }
1412
+ },
1413
+ check: {
1414
+ sm: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 400 },
1415
+ md: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 400 },
1416
+ lg: { fontSize: typoScale2.fontSize.$lg, lineHeight: typoScale2.lineHeight.$lg, fontWeight: 400 }
1417
+ },
1418
+ heading: {
1419
+ sm: {
1420
+ fontSize: typoScale2.fontSize.$xs,
1421
+ lineHeight: typoScale2.lineHeight.$xs,
1422
+ fontWeight: 400,
1423
+ textTransform: "uppercase"
1424
+ },
1425
+ md: {
1426
+ fontSize: typoScale2.fontSize.$sm,
1427
+ lineHeight: typoScale2.lineHeight.$sm,
1428
+ fontWeight: 400,
1429
+ textTransform: "uppercase"
1430
+ },
1431
+ lg: {
1432
+ fontSize: typoScale2.fontSize.$md,
1433
+ lineHeight: typoScale2.lineHeight.$md,
1434
+ fontWeight: 400,
1435
+ textTransform: "uppercase"
1436
+ }
1437
+ },
1438
+ label: {
1439
+ sm: {
1440
+ fontSize: typoScale2.fontSize.$xs,
1441
+ lineHeight: typoScale2.lineHeight.$xs,
1442
+ fontWeight: 400
1443
+ },
1444
+ md: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 400 },
1445
+ lg: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 400 }
1446
+ },
1447
+ fieldGroup: {
1448
+ sm: {
1449
+ fontSize: typoScale2.fontSize.$xs,
1450
+ lineHeight: typoScale2.lineHeight.$xs,
1451
+ fontWeight: 400
1452
+ },
1453
+ md: { fontSize: typoScale2.fontSize.$sm, lineHeight: typoScale2.lineHeight.$sm, fontWeight: 400 },
1454
+ lg: { fontSize: typoScale2.fontSize.$md, lineHeight: typoScale2.lineHeight.$md, fontWeight: 400 }
1455
+ }
1456
+ }
1457
+ };
1458
+
1459
+ // src/themes/emails/shadows.ts
1460
+ var shadows2 = shadowsDefault;
1461
+
1462
+ // src/themes/emails/emails.ts
1463
+ var emails = {
1464
+ ...light2,
1465
+ typo: typo2,
1466
+ misc: misc2,
1467
+ shadows: shadows2
1468
+ };
1469
+ var emailsDark = {
1470
+ ...emails,
1471
+ ...dark2
1472
+ };
1473
+ var emailsThemes = {
1474
+ light: emails,
1475
+ dark: emailsDark
1476
+ };
1477
+
1478
+ // src/themes/publisherV2/variants/light.ts
1479
+ var import_colord8 = require("colord");
1480
+ var base8 = {
1481
+ content: (0, import_colord8.colord)({ h: 244, s: 8, l: 10 }),
1482
+ surface: (0, import_colord8.colord)({ h: 240, s: 7, l: 97 }),
1483
+ project: (0, import_colord8.colord)({ h: 255, s: 94, l: 60 }),
1484
+ phantom: (0, import_colord8.colord)({ h: 252, s: 26, l: 30 }),
1485
+ path: (0, import_colord8.colord)({ h: 258, s: 94, l: 50 }),
1486
+ accent: (0, import_colord8.colord)({ h: 77, s: 90, l: 60 }),
1487
+ success: (0, import_colord8.colord)({ h: 162, s: 80, l: 30 }),
1488
+ warning: (0, import_colord8.colord)({ h: 19, s: 100, l: 40 }),
1489
+ alert: (0, import_colord8.colord)({ h: 337, s: 100, l: 40 }),
1490
+ neutral: (0, import_colord8.colord)({ h: 252, s: 25, l: 30 })
1491
+ };
1492
+ var publisherV2LightScheme = (base10) => ({
1493
+ colors: {
1494
+ base: {
1495
+ content: base10.content.toRgbString(),
1496
+ surface: base10.surface.toRgbString(),
1497
+ project: base10.project.toRgbString(),
1498
+ phantom: base10.phantom.toRgbString(),
1499
+ path: base10.path.toRgbString(),
1500
+ accent: base10.accent.toRgbString(),
1501
+ success: base10.success.toRgbString(),
1502
+ warning: base10.warning.toRgbString(),
1503
+ alert: base10.alert.toRgbString(),
1504
+ neutral: base10.neutral.toRgbString()
1505
+ },
1506
+ core: {
1507
+ background: {
1508
+ primary: base10.surface.toRgbString(),
1509
+ secondary: base10.surface.rotate(-3).lighten(0.03).toRgbString(),
1510
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
1511
+ tone: base10.phantom.desaturate(0.08).alpha(0.5).toRgbString(),
1512
+ selection: base10.phantom.alpha(0.1).toRgbString(),
1513
+ hover: base10.phantom.alpha(0.08).toRgbString(),
1514
+ brand: base10.project.toRgbString(),
1515
+ brandSecondary: base10.accent.toRgbString(),
1516
+ /* status */
1517
+ success: base10.success.rotate(-19).lighten(0.6).toRgbString(),
1518
+ warning: base10.warning.rotate(15).lighten(0.5).toRgbString(),
1519
+ alert: base10.alert.rotate(-329).desaturate(0.12).lighten(0.5).toRgbString(),
1520
+ neutral: base10.neutral.rotate(-17).lighten(0.6).toRgbString()
1521
+ },
1522
+ divider: {
1523
+ divider: base10.phantom.alpha(0.15).toRgbString()
1524
+ },
1525
+ text: {
1526
+ primary: base10.content.toRgbString(),
1527
+ secondary: base10.content.alpha(0.7).toRgbString(),
1528
+ tertiary: base10.content.alpha(0.5).toRgbString(),
1529
+ brand: base10.project.toRgbString(),
1530
+ brandSecondary: base10.accent.toRgbString(),
1531
+ success: base10.success.toRgbString(),
1532
+ warning: base10.warning.toRgbString(),
1533
+ alert: base10.alert.toRgbString(),
1534
+ neutral: base10.neutral.toRgbString()
1535
+ },
1536
+ link: {
1537
+ link: base10.path.toRgbString(),
1538
+ linkHover: base10.path.alpha(0.7).toRgbString(),
1539
+ linkMinor: base10.path.rotate(-6).lighten(0.2).toRgbString(),
1540
+ linkMinorHover: base10.path.rotate(-6).lighten(0.2).alpha(0.7).toRgbString()
1541
+ }
1542
+ },
1543
+ control: {
1544
+ primary: {
1545
+ bg: base10.project.toRgbString(),
1546
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1547
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1548
+ bgDisabled: base10.surface.rotate(9).darken(0.17).toRgbString(),
1549
+ border: "transparent",
1550
+ borderHover: "transparent",
1551
+ borderPress: "transparent"
1552
+ },
1553
+ secondary: {
1554
+ bg: "transparent",
1555
+ bgHover: base10.project.rotate(-6).lighten(0.2).alpha(0.2).toRgbString(),
1556
+ bgPress: base10.project.rotate(-6).lighten(0.2).alpha(0.5).toRgbString(),
1557
+ border: base10.project.toRgbString(),
1558
+ borderHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1559
+ borderPress: base10.project.rotate(3).darken(0.1).toRgbString()
1560
+ },
1561
+ tertiary: {
1562
+ bg: base10.phantom.alpha(0.07).toRgbString(),
1563
+ bgHover: base10.phantom.alpha(0.15).toRgbString(),
1564
+ bgPress: base10.phantom.alpha(0.25).toRgbString(),
1565
+ border: "transparent",
1566
+ borderHover: "transparent",
1567
+ borderPress: "transparent"
1568
+ },
1569
+ default: {
1570
+ bg: (0, import_colord8.colord)({ h: 244, s: 8, l: 10 }).toRgbString(),
1571
+ bgHover: (0, import_colord8.colord)({ h: 238, s: 8, l: 30 }).toRgbString(),
1572
+ bgPress: (0, import_colord8.colord)({ h: 241, s: 8, l: 20 }).toRgbString(),
1573
+ border: "transparent",
1574
+ borderHover: "transparent",
1575
+ borderPress: "transparent"
1576
+ },
1577
+ input: {
1578
+ bg: "transparent",
1579
+ bgHover: base10.project.rotate(-6).lighten(0.2).alpha(0.1).toRgbString(),
1580
+ bgDisabled: base10.phantom.alpha(0.07).toRgbString(),
1581
+ border: base10.phantom.alpha(0.15).toRgbString(),
1582
+ borderHover: base10.phantom.alpha(0.25).toRgbString(),
1583
+ borderDisabled: "transparent",
1584
+ text: base10.content.toRgbString(),
1585
+ placeholder: base10.content.alpha(0.55).toRgbString(),
1586
+ textDisabled: base10.content.alpha(0.3).toRgbString()
1587
+ },
1588
+ focus: {
1589
+ bg: "transparent",
1590
+ border: base10.project.toRgbString()
1591
+ },
1592
+ alert: {
1593
+ bg: "transparent",
1594
+ bgHover: base10.alert.rotate(9).lighten(0.3).alpha(0.2).toRgbString(),
1595
+ bgPress: base10.alert.rotate(9).lighten(0.3).alpha(0.5).toRgbString(),
1596
+ border: base10.alert.toRgbString(),
1597
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
1598
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
1599
+ },
1600
+ check: {
1601
+ bg: base10.project.darken(0.6).toRgbString(),
1602
+ bgHover: base10.project.rotate(3).darken(0.51).toRgbString(),
1603
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
1604
+ },
1605
+ faint: {
1606
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1607
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
1608
+ border: "transparent",
1609
+ borderHover: base10.phantom.alpha(0.15).toRgbString()
1610
+ },
1611
+ toggle: {
1612
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1613
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
1614
+ },
1615
+ text: {
1616
+ active: base10.content.lighten(1).toRgbString(),
1617
+ secondary: base10.project.toRgbString(),
1618
+ default: base10.content.lighten(1).toRgbString(),
1619
+ primary: base10.content.toRgbString(),
1620
+ tertiary: base10.content.toRgbString(),
1621
+ disabled: base10.content.alpha(0.3).toRgbString(),
1622
+ faint: base10.content.lighten(1).toRgbString(),
1623
+ alert: base10.alert.toRgbString()
1624
+ }
1625
+ }
1626
+ }
1627
+ });
1628
+ var light3 = publisherV2LightScheme(base8);
1629
+
1630
+ // src/themes/publisherV2/variants/dark.ts
1631
+ var import_colord9 = require("colord");
1632
+ var base9 = {
1633
+ content: (0, import_colord9.colord)({ h: 0, s: 0, l: 100 }),
1634
+ surface: (0, import_colord9.colord)({ h: 240, s: 8, l: 20 }),
1635
+ project: (0, import_colord9.colord)({ h: 255, s: 94, l: 60 }),
1636
+ phantom: (0, import_colord9.colord)({ h: 0, s: 0, l: 100 }),
1637
+ path: (0, import_colord9.colord)({ h: 252, s: 94, l: 70 }),
1638
+ accent: (0, import_colord9.colord)({ h: 77, s: 90, l: 60 }),
1639
+ success: (0, import_colord9.colord)({ h: 147, s: 80, l: 80 }),
1640
+ warning: (0, import_colord9.colord)({ h: 31, s: 100, l: 80 }),
1641
+ alert: (0, import_colord9.colord)({ h: 345, s: 100, l: 70 }),
1642
+ neutral: (0, import_colord9.colord)({ h: 237, s: 26, l: 80 })
1643
+ };
1644
+ var publisherV2DarkScheme = (base10) => ({
1645
+ colors: {
1646
+ base: {
1647
+ content: base10.content.toRgbString(),
1648
+ surface: base10.surface.toRgbString(),
1649
+ project: base10.project.toRgbString(),
1650
+ phantom: base10.phantom.toRgbString(),
1651
+ path: base10.path.toRgbString(),
1652
+ accent: base10.accent.toRgbString(),
1653
+ success: base10.success.toRgbString(),
1654
+ warning: base10.warning.toRgbString(),
1655
+ alert: base10.alert.toRgbString(),
1656
+ neutral: base10.neutral.toRgbString()
1657
+ },
1658
+ core: {
1659
+ background: {
1660
+ primary: base10.surface.saturate(0.01).darken(0.06).toRgbString(),
1661
+ secondary: base10.surface.darken(0.15).toRgbString(),
1662
+ ghost: base10.phantom.alpha(0.05).toRgbString(),
1663
+ tone: base10.project.rotate(-3).lighten(0.1).alpha(0.1).toRgbString(),
1664
+ selection: base10.phantom.alpha(0.15).toRgbString(),
1665
+ hover: base10.phantom.alpha(0.05).toRgbString(),
1666
+ brand: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1667
+ brandSecondary: base10.accent.toRgbString(),
1668
+ /* status */
1669
+ success: base10.surface.toRgbString(),
1670
+ warning: base10.surface.toRgbString(),
1671
+ alert: base10.surface.toRgbString(),
1672
+ neutral: base10.surface.toRgbString()
1673
+ },
1674
+ divider: {
1675
+ divider: base10.phantom.alpha(0.15).toRgbString()
1676
+ },
1677
+ text: {
1678
+ primary: base10.content.toRgbString(),
1679
+ secondary: base10.content.alpha(0.7).toRgbString(),
1680
+ tertiary: base10.content.alpha(0.5).toRgbString(),
1681
+ brand: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1682
+ brandSecondary: base10.accent.toRgbString(),
1683
+ success: base10.success.toRgbString(),
1684
+ warning: base10.warning.toRgbString(),
1685
+ alert: base10.alert.toRgbString(),
1686
+ neutral: base10.neutral.toRgbString()
1687
+ },
1688
+ link: {
1689
+ link: base10.path.toRgbString(),
1690
+ linkHover: base10.path.alpha(0.7).toRgbString(),
1691
+ linkMinor: base10.path.rotate(-6).lighten(0.2).toRgbString(),
1692
+ linkMinorHover: base10.path.rotate(-6).lighten(0.2).alpha(0.7).toRgbString()
1693
+ }
1694
+ },
1695
+ control: {
1696
+ primary: {
1697
+ bg: base10.project.toRgbString(),
1698
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1699
+ bgPress: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1700
+ bgDisabled: base10.phantom.alpha(0.1).toRgbString(),
1701
+ border: "transparent",
1702
+ borderHover: "transparent",
1703
+ borderPress: "transparent"
1704
+ },
1705
+ secondary: {
1706
+ bg: "transparent",
1707
+ bgHover: base10.project.rotate(-3).lighten(0.1).alpha(0.1).toRgbString(),
1708
+ bgPress: base10.project.rotate(-3).lighten(0.1).alpha(0.3).toRgbString(),
1709
+ border: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1710
+ borderHover: base10.project.toRgbString(),
1711
+ borderPress: base10.project.toRgbString()
1712
+ },
1713
+ tertiary: {
1714
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1715
+ bgHover: base10.phantom.alpha(0.25).toRgbString(),
1716
+ bgPress: base10.phantom.alpha(0.35).toRgbString(),
1717
+ border: "transparent",
1718
+ borderHover: "transparent",
1719
+ borderPress: "transparent"
1720
+ },
1721
+ default: {
1722
+ bg: (0, import_colord9.colord)({ h: 214, s: 8, l: 97 }).toRgbString(),
1723
+ bgHover: (0, import_colord9.colord)({ h: 220, s: 8, l: 90 }).toRgbString(),
1724
+ bgPress: (0, import_colord9.colord)({ h: 217, s: 8, l: 95 }).toRgbString(),
1725
+ border: "transparent",
1726
+ borderHover: "transparent",
1727
+ borderPress: "transparent"
1728
+ },
1729
+ input: {
1730
+ bg: "transparent",
1731
+ bgHover: base10.project.rotate(-3).lighten(0.1).alpha(0.1).toRgbString(),
1732
+ bgDisabled: base10.phantom.alpha(0.1).toRgbString(),
1733
+ border: base10.phantom.alpha(0.3).toRgbString(),
1734
+ borderHover: base10.phantom.alpha(0.4).toRgbString(),
1735
+ borderDisabled: base10.phantom.alpha(0.1).toRgbString(),
1736
+ text: base10.content.toRgbString(),
1737
+ placeholder: base10.content.alpha(0.55).toRgbString(),
1738
+ textDisabled: base10.content.alpha(0.15).toRgbString()
1739
+ },
1740
+ focus: {
1741
+ bg: base10.surface.toRgbString(),
1742
+ border: base10.project.rotate(-3).lighten(0.1).toRgbString()
1743
+ },
1744
+ alert: {
1745
+ bg: "transparent",
1746
+ bgHover: base10.alert.rotate(3).lighten(0.1).alpha(0.1).toRgbString(),
1747
+ bgPress: base10.alert.rotate(3).lighten(0.1).alpha(0.2).toRgbString(),
1748
+ border: base10.alert.toRgbString(),
1749
+ borderHover: base10.alert.rotate(-3).darken(0.1).toRgbString(),
1750
+ borderPress: base10.alert.rotate(-3).darken(0.1).toRgbString()
1751
+ },
1752
+ check: {
1753
+ bg: base10.project.toRgbString(),
1754
+ bgHover: base10.project.rotate(3).darken(0.1).toRgbString(),
1755
+ bgDisabled: base10.phantom.alpha(0.2).toRgbString()
1756
+ },
1757
+ faint: {
1758
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1759
+ bgHover: base10.phantom.alpha(0.2).toRgbString(),
1760
+ border: "transparent",
1761
+ borderHover: base10.phantom.alpha(0.12).toRgbString()
1762
+ },
1763
+ toggle: {
1764
+ bg: base10.phantom.alpha(0.15).toRgbString(),
1765
+ bgHover: base10.phantom.alpha(0.2).toRgbString()
1766
+ },
1767
+ text: {
1768
+ active: base10.content.toRgbString(),
1769
+ secondary: base10.project.rotate(-3).lighten(0.1).toRgbString(),
1770
+ tertiary: base10.content.toRgbString(),
1771
+ default: base10.content.darken(0.99).toRgbString(),
1772
+ primary: base10.content.toRgbString(),
1773
+ disabled: base10.content.alpha(0.15).toRgbString(),
1774
+ faint: base10.content.toRgbString(),
1775
+ alert: base10.alert.toRgbString()
1776
+ }
1777
+ }
1778
+ }
1779
+ });
1780
+ var dark3 = publisherV2DarkScheme(base9);
1781
+
1782
+ // src/themes/publisherV2/misc.ts
1783
+ var borderRadiusScale3 = {
1784
+ sm: "4px",
1785
+ md: "8px",
1786
+ lg: "12px",
1787
+ xl: "16px"
1788
+ };
1789
+ var misc3 = {
1790
+ borderRadiusScale: borderRadiusScale3,
1791
+ borderWidth: "1px",
1792
+ borderRadius: {
1793
+ /* for Autocomplete, Select, TextField, DatePicker, Pin */
1794
+ input: borderRadiusScale3.md,
1795
+ /* for Button, Upload */
1796
+ button: borderRadiusScale3.md,
1797
+ buttonIcon: borderRadiusScale3.md,
1798
+ /* Calendar, ContextMenu, Tooltip, Notification, Avatar (square type), */
1799
+ popup: borderRadiusScale3.md,
1800
+ checkbox: borderRadiusScale3.sm,
1801
+ tag: borderRadiusScale3.md
1802
+ },
1803
+ minWidth: {
1804
+ button: "40px"
1805
+ }
1806
+ };
1807
+
1808
+ // src/themes/publisherV2/typo.ts
1809
+ var graphikLCWeb = '"GraphikLCWebUikit", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", Arial, sans-serif';
1810
+ var typo3 = {
1811
+ fontFamily: graphikLCWeb,
1812
+ core: {
1813
+ h1: { fontSize: "56px", lineHeight: "58px", fontWeight: 500, letterSpacing: "-0.02em" },
1814
+ h2: { fontSize: "48px", lineHeight: "50px", fontWeight: 500 },
1815
+ h3: { fontSize: "32px", lineHeight: "38px", fontWeight: 500 },
1816
+ h4: { fontSize: "24px", lineHeight: "28px", fontWeight: 500 },
1817
+ strong: { fontSize: "72px", lineHeight: "72px", fontWeight: 500 },
1818
+ bodyLgAccent: {
1819
+ fontSize: "56px",
1820
+ lineHeight: "64px",
1821
+ fontWeight: 500
1822
+ },
1823
+ bodyLg: {
1824
+ fontSize: "40px",
1825
+ lineHeight: "48px",
1826
+ fontWeight: 500
1827
+ },
1828
+ bodyMd: {
1829
+ fontSize: "16px",
1830
+ lineHeight: "24px",
1831
+ fontWeight: 400
1832
+ },
1833
+ bodyMdAccent: {
1834
+ fontSize: "20px",
1835
+ lineHeight: "28px",
1836
+ fontWeight: 500
1837
+ },
1838
+ paragraph: { fontSize: "16px", lineHeight: "24px", fontWeight: 400 },
1839
+ label: {
1840
+ fontSize: "16px",
1841
+ lineHeight: "20px",
1842
+ letterSpacing: "0.5px",
1843
+ fontWeight: 500
1844
+ },
1845
+ minor: { fontSize: "14px", lineHeight: "18px", fontWeight: 400 }
1846
+ },
1847
+ components: {
1848
+ button: {
1849
+ sm: {
1850
+ fontSize: "12px",
1851
+ lineHeight: "17px",
1852
+ fontWeight: 500,
1853
+ letterSpacing: "0.5px"
1854
+ },
1855
+ md: {
1856
+ fontSize: "14px",
1857
+ lineHeight: "20px",
1858
+ fontWeight: 500,
1859
+ letterSpacing: "0.5px"
1860
+ },
1861
+ lg: {
1862
+ fontSize: "16px",
1863
+ lineHeight: "22px",
1864
+ fontWeight: 500,
1865
+ letterSpacing: "0.5px"
1866
+ },
1867
+ xl: {
1868
+ fontSize: "18px",
1869
+ lineHeight: "24px",
1870
+ fontWeight: 500,
1871
+ letterSpacing: "0.5px"
1872
+ }
1873
+ },
1874
+ input: {
1875
+ sm: { fontSize: "12px", lineHeight: "17px", fontWeight: 400 },
1876
+ md: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 },
1877
+ lg: { fontSize: "16px", lineHeight: "22px", fontWeight: 400 },
1878
+ xl: { fontSize: "18px", lineHeight: "24px", fontWeight: 400 }
1879
+ },
1880
+ tab: {
1881
+ sm: { fontSize: "12px", lineHeight: "17px", fontWeight: 500 },
1882
+ md: { fontSize: "14px", lineHeight: "20px", fontWeight: 500 },
1883
+ lg: { fontSize: "16px", lineHeight: "22px", fontWeight: 500 },
1884
+ xl: { fontSize: "18px", lineHeight: "24px", fontWeight: 500 }
1885
+ },
1886
+ check: {
1887
+ sm: { fontSize: "12px", lineHeight: "17px", fontWeight: 400 },
1888
+ md: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 },
1889
+ lg: { fontSize: "16px", lineHeight: "22px", fontWeight: 400 },
1890
+ xl: { fontSize: "18px", lineHeight: "24px", fontWeight: 400 }
1891
+ },
1892
+ heading: {
1893
+ sm: {
1894
+ fontSize: "10px",
1895
+ lineHeight: "14px",
1896
+ fontWeight: 500,
1897
+ letterSpacing: "1px",
1898
+ textTransform: "uppercase"
1899
+ },
1900
+ md: {
1901
+ fontSize: "12px",
1902
+ lineHeight: "17px",
1903
+ fontWeight: 500,
1904
+ letterSpacing: "1px",
1905
+ textTransform: "uppercase"
1906
+ },
1907
+ lg: {
1908
+ fontSize: "14px",
1909
+ lineHeight: "20px",
1910
+ fontWeight: 500,
1911
+ letterSpacing: "1px",
1912
+ textTransform: "uppercase"
1913
+ },
1914
+ xl: {
1915
+ fontSize: "16px",
1916
+ lineHeight: "24px",
1917
+ fontWeight: 500,
1918
+ letterSpacing: "1px",
1919
+ textTransform: "uppercase"
1920
+ }
1921
+ },
1922
+ label: {
1923
+ sm: { fontSize: "10px", lineHeight: "14px", fontWeight: 400 },
1924
+ md: { fontSize: "12px", lineHeight: "17px", fontWeight: 400 },
1925
+ lg: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 },
1926
+ xl: { fontSize: "16px", lineHeight: "24px", fontWeight: 400 }
1927
+ }
1928
+ }
1929
+ };
1930
+
1931
+ // src/themes/publisherV2/shadows.ts
1932
+ var shadows3 = {
1933
+ active: "0px 1px 2px rgba(7, 7, 8, 0.2), 0px 1px 3px 1px rgba(7, 7, 8, 0.1)",
1934
+ surface: "0px 1px 2px rgba(7, 7, 8, 0.2), 0px 2px 6px 2px rgba(7, 7, 8, 0.1)",
1935
+ surfaceHover: "0px 4px 8px 3px rgba(7, 7, 8, 0.1), 0px 1px 3px rgba(7, 7, 8, 0.2)",
1936
+ popover: "0px 2px 25px 0px rgba(7, 7, 8, 0.15)",
1937
+ modal: "0px 4px 50px 0px rgba(7, 7, 8, 0.15)"
1938
+ };
1939
+
1940
+ // src/themes/publisherV2/publisherV2.ts
1941
+ var publisherV2 = {
1942
+ ...light3,
1943
+ typo: typo3,
1944
+ misc: misc3,
1945
+ shadows: shadows3,
1946
+ globalStyle: "publisherV2"
1947
+ };
1948
+ var publisherV2Dark = {
1949
+ ...dark3,
1950
+ typo: typo3,
1951
+ misc: misc3,
1952
+ shadows: shadows3,
1953
+ globalStyle: "publisherV2"
1954
+ };
1955
+ var publisherV2Themes = {
1956
+ light: publisherV2,
1957
+ dark: publisherV2Dark
1958
+ };
1959
+
1960
+ // src/themes/baseColors.ts
1961
+ var themesBaseColorsArray = [
1962
+ { theme: "publisherV2", baseColors: base8 },
1963
+ { theme: "publisherV2Dark", baseColors: base9 },
1964
+ { theme: "paystation4", baseColors: base2 },
1965
+ { theme: "paystation4Dark", baseColors: base },
1966
+ { theme: "paystation4Take2", baseColors: base3 },
1967
+ { theme: "paystation4Gaijin", baseColors: base4 },
1968
+ { theme: "paystation4Nexters", baseColors: base5 },
1969
+ { theme: "emails", baseColors: base7 },
1970
+ { theme: "emailsDark", baseColors: base6 }
1971
+ ];
1972
+ var themesBaseColors = {
1973
+ publisherV2: base8,
1974
+ publisherV2Dark: base9,
1975
+ paystation4: base2,
1976
+ paystation4Dark: base,
1977
+ paystation4Take2: base3,
1978
+ paystation4Gaijin: base4,
1979
+ paystation4Nexters: base5,
1980
+ emails: base7,
1981
+ emailsDark: base6
1982
+ };
1983
+ var themesColorsScheme = {
1984
+ publisherV2: publisherV2LightScheme,
1985
+ publisherV2Dark: publisherV2DarkScheme,
1986
+ paystation4: ps4LightScheme,
1987
+ paystation4Dark: ps4DarkScheme,
1988
+ paystation4Take2: ps4Take2Scheme,
1989
+ paystation4Gaijin: ps4GaijinScheme,
1990
+ paystation4Nexters: ps4NextersScheme,
1991
+ emails: emailsLightScheme,
1992
+ emailsDark: emailsDarkScheme
1993
+ };
1994
+
1995
+ // src/themes/index.ts
1996
+ var themes = {
1997
+ paystation4,
1998
+ paystation4Nexters,
1999
+ paystation4Gaijin,
2000
+ paystation4Take2,
2001
+ paystation4Dark,
2002
+ emails,
2003
+ emailsDark,
2004
+ publisherV2,
2005
+ publisherV2Dark
2006
+ };
2007
+
2008
+ // src/palettes/primaryPalette.ts
2009
+ var primaryPalette = {
2010
+ gray: {
2011
+ white: { h: 0, s: 0, l: 100 },
2012
+ 25: { h: 217, s: 8, l: 97 },
2013
+ 50: { h: 218, s: 8, l: 95 },
2014
+ 100: { h: 220, s: 8, l: 90 },
2015
+ 200: { h: 223, s: 8, l: 80 },
2016
+ 300: { h: 226, s: 8, l: 70 },
2017
+ 400: { h: 229, s: 8, l: 60 },
2018
+ 500: { h: 232, s: 8, l: 50 },
2019
+ 600: { h: 235, s: 8, l: 40 },
2020
+ 700: { h: 238, s: 8, l: 30 },
2021
+ 800: { h: 241, s: 8, l: 20 },
2022
+ 900: { h: 244, s: 8, l: 10 },
2023
+ 950: { h: 245, s: 8, l: 5 },
2024
+ dark: { h: 246, s: 8, l: 3 }
2025
+ },
2026
+ magenta: {
2027
+ 50: { h: 353, s: 100, l: 95 },
2028
+ 100: { h: 351, s: 100, l: 90 },
2029
+ 200: { h: 348, s: 100, l: 80 },
2030
+ 300: { h: 345, s: 100, l: 70 },
2031
+ 400: { h: 342, s: 100, l: 60 },
2032
+ 500: { h: 339, s: 100, l: 50 },
2033
+ 600: { h: 336, s: 100, l: 40 },
2034
+ 700: { h: 333, s: 100, l: 30 },
2035
+ 800: { h: 330, s: 100, l: 20 },
2036
+ 900: { h: 327, s: 100, l: 10 },
2037
+ 950: { h: 326, s: 100, l: 5 }
2038
+ },
2039
+ red: {
2040
+ 50: { h: 11, s: 90, l: 95 },
2041
+ 100: { h: 9, s: 90, l: 90 },
2042
+ 200: { h: 6, s: 90, l: 80 },
2043
+ 300: { h: 3, s: 90, l: 70 },
2044
+ 400: { h: 360, s: 90, l: 60 },
2045
+ 500: { h: 357, s: 90, l: 50 },
2046
+ 600: { h: 354, s: 90, l: 40 },
2047
+ 700: { h: 351, s: 90, l: 30 },
2048
+ 800: { h: 348, s: 90, l: 20 },
2049
+ 900: { h: 345, s: 90, l: 10 }
2050
+ },
2051
+ orange: {
2052
+ 50: { h: 36, s: 100, l: 95 },
2053
+ 100: { h: 34, s: 100, l: 90 },
2054
+ 200: { h: 31, s: 100, l: 80 },
2055
+ 300: { h: 28, s: 100, l: 70 },
2056
+ 400: { h: 25, s: 100, l: 60 },
2057
+ 500: { h: 22, s: 100, l: 50 },
2058
+ 600: { h: 19, s: 100, l: 40 },
2059
+ 700: { h: 16, s: 100, l: 30 },
2060
+ 800: { h: 13, s: 100, l: 20 },
2061
+ 900: { h: 10, s: 100, l: 10 }
2062
+ },
2063
+ yellow: {
2064
+ 50: { h: 54, s: 100, l: 95 },
2065
+ 100: { h: 52, s: 100, l: 90 },
2066
+ 200: { h: 49, s: 100, l: 80 },
2067
+ 300: { h: 46, s: 100, l: 70 },
2068
+ 400: { h: 43, s: 100, l: 60 },
2069
+ 500: { h: 40, s: 100, l: 50 },
2070
+ 600: { h: 37, s: 100, l: 40 },
2071
+ 700: { h: 34, s: 100, l: 30 },
2072
+ 800: { h: 31, s: 100, l: 20 },
2073
+ 900: { h: 28, s: 100, l: 10 },
2074
+ 950: { h: 27, s: 100, l: 5 }
2075
+ },
2076
+ acidGreen: {
2077
+ 50: { h: 66, s: 90, l: 95 },
2078
+ 100: { h: 68, s: 90, l: 90 },
2079
+ 200: { h: 71, s: 90, l: 80 },
2080
+ 300: { h: 74, s: 90, l: 70 },
2081
+ 400: { h: 77, s: 90, l: 60 },
2082
+ 500: { h: 80, s: 90, l: 50 },
2083
+ 600: { h: 83, s: 90, l: 40 },
2084
+ 700: { h: 86, s: 90, l: 30 },
2085
+ 800: { h: 89, s: 90, l: 20 },
2086
+ 900: { h: 92, s: 90, l: 10 }
2087
+ },
2088
+ green: {
2089
+ 50: { h: 142, s: 80, l: 95 },
2090
+ 100: { h: 144, s: 80, l: 90 },
2091
+ 200: { h: 147, s: 80, l: 80 },
2092
+ 300: { h: 150, s: 80, l: 70 },
2093
+ 400: { h: 153, s: 80, l: 60 },
2094
+ 500: { h: 156, s: 80, l: 50 },
2095
+ 600: { h: 159, s: 80, l: 40 },
2096
+ 700: { h: 162, s: 80, l: 30 },
2097
+ 800: { h: 165, s: 80, l: 20 },
2098
+ 900: { h: 168, s: 80, l: 10 },
2099
+ 950: { h: 169, s: 80, l: 5 }
2100
+ },
2101
+ cyan: {
2102
+ 50: { h: 171, s: 100, l: 95 },
2103
+ 100: { h: 174, s: 100, l: 90 },
2104
+ 200: { h: 177, s: 100, l: 80 },
2105
+ 300: { h: 180, s: 100, l: 70 },
2106
+ 400: { h: 183, s: 100, l: 60 },
2107
+ 500: { h: 186, s: 100, l: 50 },
2108
+ 600: { h: 189, s: 100, l: 40 },
2109
+ 700: { h: 192, s: 100, l: 30 },
2110
+ 800: { h: 195, s: 100, l: 20 },
2111
+ 900: { h: 198, s: 100, l: 10 }
2112
+ },
2113
+ neonPink: {
2114
+ 50: { h: 296, s: 100, l: 95 },
2115
+ 100: { h: 298, s: 100, l: 90 },
2116
+ 200: { h: 301, s: 100, l: 80 },
2117
+ 300: { h: 304, s: 100, l: 70 },
2118
+ 400: { h: 307, s: 100, l: 60 },
2119
+ 500: { h: 310, s: 100, l: 50 },
2120
+ 600: { h: 313, s: 100, l: 40 },
2121
+ 700: { h: 316, s: 100, l: 30 },
2122
+ 800: { h: 319, s: 100, l: 20 },
2123
+ 900: { h: 322, s: 100, l: 10 }
2124
+ },
2125
+ marine: {
2126
+ 50: { h: 226, s: 90, l: 95 },
2127
+ 100: { h: 228, s: 90, l: 90 },
2128
+ 200: { h: 231, s: 90, l: 80 },
2129
+ 300: { h: 234, s: 90, l: 70 },
2130
+ 400: { h: 237, s: 90, l: 60 },
2131
+ 500: { h: 240, s: 90, l: 50 },
2132
+ 600: { h: 243, s: 90, l: 40 },
2133
+ 700: { h: 246, s: 90, l: 30 },
2134
+ 800: { h: 249, s: 90, l: 20 },
2135
+ 900: { h: 252, s: 90, l: 10 }
2136
+ },
2137
+ purple: {
2138
+ 50: { h: 244, s: 94, l: 95 },
2139
+ 100: { h: 246, s: 94, l: 90 },
2140
+ 200: { h: 249, s: 94, l: 80 },
2141
+ 300: { h: 252, s: 94, l: 70 },
2142
+ 400: { h: 255, s: 94, l: 60 },
2143
+ 500: { h: 258, s: 94, l: 50 },
2144
+ 600: { h: 261, s: 94, l: 40 },
2145
+ 700: { h: 264, s: 94, l: 30 },
2146
+ 800: { h: 267, s: 94, l: 20 },
2147
+ 900: { h: 270, s: 94, l: 10 }
2148
+ },
2149
+ paleBlue: {
2150
+ 50: { h: 232, s: 26, l: 95 },
2151
+ 100: { h: 234, s: 26, l: 90 },
2152
+ 200: { h: 237, s: 26, l: 80 },
2153
+ 300: { h: 240, s: 26, l: 70 },
2154
+ 400: { h: 243, s: 26, l: 60 },
2155
+ 500: { h: 246, s: 26, l: 50 },
2156
+ 600: { h: 249, s: 26, l: 40 },
2157
+ 700: { h: 252, s: 26, l: 30 },
2158
+ 800: { h: 256, s: 26, l: 20 },
2159
+ 850: { h: 256, s: 26, l: 15 },
2160
+ 900: { h: 258, s: 26, l: 10 },
2161
+ 950: { h: 259, s: 26, l: 5 }
2162
+ }
2163
+ };
2164
+
2165
+ // src/palettes/index.ts
2166
+ var palettes = {
2167
+ primaryPalette
2168
+ };
2169
+
2170
+ // src/generators/themeGenerator.ts
2171
+ var import_colord10 = require("colord");
2172
+ var import_lodash = __toESM(require("lodash.merge"));
2173
+ var bColorsMap = [
2174
+ "content",
2175
+ "surface",
2176
+ "project",
2177
+ "accent",
2178
+ "phantom",
2179
+ "path",
2180
+ "success",
2181
+ "warning",
2182
+ "alert",
2183
+ "neutral"
2184
+ ];
2185
+ var generateWithScheme = ({ schemeName, baseColors, parentTheme }) => {
2186
+ const scheme = themesColorsScheme[schemeName] || themesColorsScheme.paystation4;
2187
+ const base10 = themesBaseColors[schemeName] || themesBaseColors.paystation4;
2188
+ if (baseColors) {
2189
+ bColorsMap.map((value) => {
2190
+ base10[value] = (0, import_colord10.colord)(baseColors[value]);
2191
+ });
2192
+ }
2193
+ return (0, import_lodash.default)({}, parentTheme, scheme(base10));
2194
+ };
2195
+ var themeGenerator = (props) => {
2196
+ const { baseColors, customParams } = props;
2197
+ const schemeName = props.schemeName || "paystation4";
2198
+ const parentTheme = props.parentTheme || themes[schemeName] || {};
2199
+ let generateTheme = { ...parentTheme };
2200
+ if (schemeName && baseColors) {
2201
+ generateTheme = generateWithScheme({ schemeName, baseColors, parentTheme });
2202
+ }
2203
+ if (customParams) {
2204
+ const generateColors = { ...generateTheme.colors };
2205
+ const generateTypo = { ...generateTheme.typo };
2206
+ const generateMisc = { ...generateTheme.misc };
2207
+ generateTheme.colors = (0, import_lodash.default)({}, generateColors, customParams.colors);
2208
+ generateTheme.typo = (0, import_lodash.default)({}, generateTypo, customParams.typo);
2209
+ generateTheme.misc = (0, import_lodash.default)({}, generateMisc, customParams.misc);
2210
+ }
2211
+ return generateTheme;
2212
+ };
2213
+ // Annotate the CommonJS export names for ESM import in node:
2214
+ 0 && (module.exports = {
2215
+ emails,
2216
+ emailsDark,
2217
+ emailsThemes,
2218
+ generateWithScheme,
2219
+ palettes,
2220
+ paystation4,
2221
+ paystation4Dark,
2222
+ paystation4Gaijin,
2223
+ paystation4Nexters,
2224
+ paystation4Take2,
2225
+ paystation4Themes,
2226
+ primaryPalette,
2227
+ publisherV2,
2228
+ publisherV2Dark,
2229
+ publisherV2Themes,
2230
+ themeGenerator,
2231
+ themes,
2232
+ themesBaseColors,
2233
+ themesBaseColorsArray,
2234
+ themesColorsScheme
2235
+ });
2236
+ //# sourceMappingURL=index.js.map