@xsolla/xui-core 0.120.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +12 -0
- package/index.d.ts +12 -0
- package/index.js +14 -0
- package/index.js.map +1 -1
- package/index.mjs +14 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3133,6 +3133,20 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3133
3133
|
};
|
|
3134
3134
|
return configs[size];
|
|
3135
3135
|
},
|
|
3136
|
+
modal: () => {
|
|
3137
|
+
return {
|
|
3138
|
+
borderRadius: 12,
|
|
3139
|
+
headerPadding: 8,
|
|
3140
|
+
contentPadding: 40,
|
|
3141
|
+
headerButtonSize: "xl",
|
|
3142
|
+
headerGap: 8,
|
|
3143
|
+
shadow: "0px 8px 12px 6px rgba(7, 7, 8, 0.1), 0px 4px 4px rgba(7, 7, 8, 0.2)",
|
|
3144
|
+
maxWidth: 680,
|
|
3145
|
+
overlayColor: "rgba(0, 0, 0, 0.5)",
|
|
3146
|
+
portalPadding: 20,
|
|
3147
|
+
zIndex: 1e3
|
|
3148
|
+
};
|
|
3149
|
+
},
|
|
3136
3150
|
toast: () => {
|
|
3137
3151
|
return {
|
|
3138
3152
|
minHeight: 64,
|