@particle-network/ui-react 0.4.0-beta.30 → 0.4.0-beta.32
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.
|
@@ -35,6 +35,9 @@ const UXThemeSwitchModal = ({ isOpen, onClose, onOpenChange, ...props })=>{
|
|
|
35
35
|
const [isFontExampleOpen, setIsFontExampleOpen] = useState(false);
|
|
36
36
|
return /*#__PURE__*/ jsx(UXModal, {
|
|
37
37
|
isOpen: isOpen,
|
|
38
|
+
classNames: {
|
|
39
|
+
base: 'md:max-h-[800px]'
|
|
40
|
+
},
|
|
38
41
|
title: i18n.theme.title,
|
|
39
42
|
footer: /*#__PURE__*/ jsx(UXButton, {
|
|
40
43
|
fullWidth: true,
|
|
@@ -19,7 +19,7 @@ const useThemeStore = create()(persist((set)=>({
|
|
|
19
19
|
fontName
|
|
20
20
|
})
|
|
21
21
|
}), {
|
|
22
|
-
name: 'ux-theme-
|
|
22
|
+
name: 'ux-theme-3',
|
|
23
23
|
storage: createJSONStorage(()=>'undefined' != typeof window ? window.localStorage : {}),
|
|
24
24
|
partialize: (state)=>({
|
|
25
25
|
theme: state.theme,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-react",
|
|
3
|
-
"version": "0.4.0-beta.
|
|
3
|
+
"version": "0.4.0-beta.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"ahooks": "^3.9.4",
|
|
50
50
|
"copy-to-clipboard": "^3.3.3",
|
|
51
51
|
"zustand": "^5.0.8",
|
|
52
|
-
"@particle-network/
|
|
53
|
-
"@particle-network/
|
|
52
|
+
"@particle-network/ui-shared": "0.3.0-beta.7",
|
|
53
|
+
"@particle-network/icons": "0.4.0-beta.15"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "rslib build",
|
package/tailwind-preset.js
CHANGED
|
@@ -160,7 +160,7 @@ module.exports = {
|
|
|
160
160
|
foreground: '#FFFFFF',
|
|
161
161
|
},
|
|
162
162
|
divider: {
|
|
163
|
-
DEFAULT: '#
|
|
163
|
+
DEFAULT: '#26272D',
|
|
164
164
|
foreground: '#FFFFFF',
|
|
165
165
|
},
|
|
166
166
|
alert: {
|
|
@@ -176,7 +176,7 @@ module.exports = {
|
|
|
176
176
|
foreground: '#FFFFFF',
|
|
177
177
|
},
|
|
178
178
|
bearish: {
|
|
179
|
-
DEFAULT: '#
|
|
179
|
+
DEFAULT: '#FFB800',
|
|
180
180
|
foreground: '#FFFFFF',
|
|
181
181
|
},
|
|
182
182
|
},
|
|
@@ -259,7 +259,7 @@ module.exports = {
|
|
|
259
259
|
foreground: '#FFFFFF',
|
|
260
260
|
},
|
|
261
261
|
bearish: {
|
|
262
|
-
DEFAULT: '#
|
|
262
|
+
DEFAULT: '#F38300',
|
|
263
263
|
foreground: '#FFFFFF',
|
|
264
264
|
},
|
|
265
265
|
},
|
|
@@ -326,7 +326,7 @@ module.exports = {
|
|
|
326
326
|
foreground: '#FFFFFF',
|
|
327
327
|
},
|
|
328
328
|
divider: {
|
|
329
|
-
DEFAULT: '#
|
|
329
|
+
DEFAULT: '#26272D',
|
|
330
330
|
foreground: '#FFFFFF',
|
|
331
331
|
},
|
|
332
332
|
alert: {
|
|
@@ -421,11 +421,11 @@ module.exports = {
|
|
|
421
421
|
foreground: '#FFFFFF',
|
|
422
422
|
},
|
|
423
423
|
bullish: {
|
|
424
|
-
DEFAULT: '#
|
|
424
|
+
DEFAULT: '#2E9F4A',
|
|
425
425
|
foreground: '#FFFFFF',
|
|
426
426
|
},
|
|
427
427
|
bearish: {
|
|
428
|
-
DEFAULT: '#
|
|
428
|
+
DEFAULT: '#DE4A40',
|
|
429
429
|
foreground: '#FFFFFF',
|
|
430
430
|
},
|
|
431
431
|
},
|
|
@@ -492,7 +492,7 @@ module.exports = {
|
|
|
492
492
|
foreground: '#000000',
|
|
493
493
|
},
|
|
494
494
|
divider: {
|
|
495
|
-
DEFAULT: '#
|
|
495
|
+
DEFAULT: '#26272D',
|
|
496
496
|
foreground: '#FFFFFF',
|
|
497
497
|
},
|
|
498
498
|
alert: {
|
|
@@ -654,11 +654,11 @@ module.exports = {
|
|
|
654
654
|
foreground: '#000000',
|
|
655
655
|
},
|
|
656
656
|
warning: {
|
|
657
|
-
DEFAULT: '#
|
|
657
|
+
DEFAULT: '#F2C366',
|
|
658
658
|
foreground: '#000000',
|
|
659
659
|
},
|
|
660
660
|
divider: {
|
|
661
|
-
DEFAULT: '#
|
|
661
|
+
DEFAULT: '#26272D',
|
|
662
662
|
foreground: '#FFFFFF',
|
|
663
663
|
},
|
|
664
664
|
alert: {
|
|
@@ -670,11 +670,11 @@ module.exports = {
|
|
|
670
670
|
foreground: '#000000',
|
|
671
671
|
},
|
|
672
672
|
bullish: {
|
|
673
|
-
DEFAULT: '#
|
|
673
|
+
DEFAULT: '#86D99F',
|
|
674
674
|
foreground: '#000000',
|
|
675
675
|
},
|
|
676
676
|
bearish: {
|
|
677
|
-
DEFAULT: '#
|
|
677
|
+
DEFAULT: '#F26682',
|
|
678
678
|
foreground: '#000000',
|
|
679
679
|
},
|
|
680
680
|
},
|
|
@@ -753,11 +753,11 @@ module.exports = {
|
|
|
753
753
|
foreground: '#000000',
|
|
754
754
|
},
|
|
755
755
|
bullish: {
|
|
756
|
-
DEFAULT: '#
|
|
756
|
+
DEFAULT: '#2FE3AC',
|
|
757
757
|
foreground: '#000000',
|
|
758
758
|
},
|
|
759
759
|
bearish: {
|
|
760
|
-
DEFAULT: '#
|
|
760
|
+
DEFAULT: '#EC397A',
|
|
761
761
|
foreground: '#000000',
|
|
762
762
|
},
|
|
763
763
|
},
|
|
@@ -836,11 +836,11 @@ module.exports = {
|
|
|
836
836
|
foreground: '#000000',
|
|
837
837
|
},
|
|
838
838
|
bullish: {
|
|
839
|
-
DEFAULT: '#
|
|
839
|
+
DEFAULT: '#50D2C1',
|
|
840
840
|
foreground: '#000000',
|
|
841
841
|
},
|
|
842
842
|
bearish: {
|
|
843
|
-
DEFAULT: '#
|
|
843
|
+
DEFAULT: '#ED7088',
|
|
844
844
|
foreground: '#000000',
|
|
845
845
|
},
|
|
846
846
|
},
|
|
@@ -903,7 +903,7 @@ module.exports = {
|
|
|
903
903
|
foreground: '#000000',
|
|
904
904
|
},
|
|
905
905
|
warning: {
|
|
906
|
-
DEFAULT: '#
|
|
906
|
+
DEFAULT: '#FFE629',
|
|
907
907
|
foreground: '#000000',
|
|
908
908
|
},
|
|
909
909
|
divider: {
|