@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/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @xsolla/switch-theme-customization
2
+
3
+ Theme customization engine for Xsolla products. Derives a full `Theme` object from `BaseColors` using `colord` formulas.
4
+
5
+ ## Public API
6
+
7
+ ```ts
8
+ import {
9
+ themeGenerator,
10
+ generateWithScheme,
11
+ themes,
12
+ themesBaseColors,
13
+ themesColorsScheme,
14
+ paystation4,
15
+ emails,
16
+ primaryPalette,
17
+ type Theme,
18
+ type BaseColors,
19
+ type Misc,
20
+ type Typography,
21
+ } from "@xsolla/switch-theme-customization";
22
+ ```
23
+
24
+ ## Themes included
25
+
26
+ `paystation4` (light / dark / take2 / gaijin / nexters), `emails` (light / dark), `switch`, `publisher`, `publisherV2` (light / dark), `brand` (light / dark), `b2c` (light / dark), `babka` (light / dark), `siteBuilder`, `lightstream`, `pentagram` (light / dark), `cloud-gaming` (dark), `influencer-account` (light / dark).