tang-ui-x 1.0.3 → 1.0.4
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/package.json +1 -1
- package/types/index.uts +55 -0
package/package.json
CHANGED
package/types/index.uts
CHANGED
|
@@ -50,3 +50,58 @@ export type ToastOptions = {
|
|
|
50
50
|
*/
|
|
51
51
|
icon?: string
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 主题配置类型
|
|
56
|
+
*/
|
|
57
|
+
export type ThemeConfig = {
|
|
58
|
+
/**
|
|
59
|
+
* 主色调
|
|
60
|
+
*/
|
|
61
|
+
primaryColor: string
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 成功色
|
|
65
|
+
*/
|
|
66
|
+
successColor: string
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* 警告色
|
|
70
|
+
*/
|
|
71
|
+
warningColor: string
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* 危险色
|
|
75
|
+
*/
|
|
76
|
+
dangerColor: string
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* 信息色
|
|
80
|
+
*/
|
|
81
|
+
infoColor: string
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* 文本色
|
|
85
|
+
*/
|
|
86
|
+
textColor: string
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 边框色
|
|
90
|
+
*/
|
|
91
|
+
borderColor: string
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 背景色
|
|
95
|
+
*/
|
|
96
|
+
backgroundColor: string
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* 圆角大小
|
|
100
|
+
*/
|
|
101
|
+
borderRadius: string
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 字体大小
|
|
105
|
+
*/
|
|
106
|
+
fontSize: string
|
|
107
|
+
}
|