@coze-arch/cli 0.0.1-alpha.134e08 → 0.0.1-alpha.13848f
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/lib/__templates__/expo/client/constants/theme.ts +5 -5
- package/lib/__templates__/expo/client/screens/home/index.tsx +6 -2
- package/lib/__templates__/expo/client/screens/home/styles.ts +10 -6
- package/lib/cli.js +1 -1
- package/package.json +1 -1
- package/lib/__templates__/expo/client/assets/images/coze-logo.png +0 -0
|
@@ -3,7 +3,7 @@ import { Platform, StyleSheet } from "react-native";
|
|
|
3
3
|
export const Colors = {
|
|
4
4
|
light: {
|
|
5
5
|
textPrimary: "#1C1917",
|
|
6
|
-
textSecondary: "#
|
|
6
|
+
textSecondary: "#78716c",
|
|
7
7
|
textMuted: "#9CA3AF",
|
|
8
8
|
textDisabled: "#D1D5DB",
|
|
9
9
|
placeholder: "#9CA3AF",
|
|
@@ -16,7 +16,7 @@ export const Colors = {
|
|
|
16
16
|
warning: "#F59E0B",
|
|
17
17
|
error: "#DC2626",
|
|
18
18
|
info: "#2563EB",
|
|
19
|
-
backgroundRoot: "#
|
|
19
|
+
backgroundRoot: "#FFF",
|
|
20
20
|
backgroundDefault: "#F9FAFB",
|
|
21
21
|
backgroundSecondary: "#F3F4F6",
|
|
22
22
|
backgroundTertiary: "#E5E7EB",
|
|
@@ -32,7 +32,7 @@ export const Colors = {
|
|
|
32
32
|
},
|
|
33
33
|
dark: {
|
|
34
34
|
textPrimary: "#FAFAF9",
|
|
35
|
-
textSecondary: "#
|
|
35
|
+
textSecondary: "#A8A29E",
|
|
36
36
|
textMuted: "#6F767E",
|
|
37
37
|
textDisabled: "#4A4D50",
|
|
38
38
|
placeholder: "#6F767E",
|
|
@@ -45,7 +45,7 @@ export const Colors = {
|
|
|
45
45
|
warning: "#FF9F0A",
|
|
46
46
|
error: "#FF453A",
|
|
47
47
|
info: "#64D2FF",
|
|
48
|
-
backgroundRoot: "#
|
|
48
|
+
backgroundRoot: "#0C0A09",
|
|
49
49
|
backgroundDefault: "#1C1C1E",
|
|
50
50
|
backgroundSecondary: "#2C2C2E",
|
|
51
51
|
backgroundTertiary: "#3A3A3C",
|
|
@@ -55,7 +55,7 @@ export const Colors = {
|
|
|
55
55
|
overlay: "rgba(0, 0, 0, 0.6)",
|
|
56
56
|
chartBackground: "rgba(28, 28, 30, 0.5)",
|
|
57
57
|
buttonPrimaryBackground: "#FAFAF9",
|
|
58
|
-
buttonPrimaryText: "#
|
|
58
|
+
buttonPrimaryText: "#0C0A09",
|
|
59
59
|
buttonSecondaryBackground: "#2C2C2E",
|
|
60
60
|
buttonSecondaryText: "#FAFAF9",
|
|
61
61
|
},
|
|
@@ -13,8 +13,12 @@ export default function HomeScreen() {
|
|
|
13
13
|
<View
|
|
14
14
|
style={styles.container}
|
|
15
15
|
>
|
|
16
|
-
<Image
|
|
17
|
-
|
|
16
|
+
<Image
|
|
17
|
+
style={styles.logo}
|
|
18
|
+
source="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/expo/coze-loading.gif"
|
|
19
|
+
></Image>
|
|
20
|
+
<Text style={{...styles.title, color: theme.textPrimary}}>APP 开发中</Text>
|
|
21
|
+
<Text style={{...styles.description, color: theme.textSecondary}}>即将为您呈现应用界面</Text>
|
|
18
22
|
</View>
|
|
19
23
|
</Screen>
|
|
20
24
|
);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Spacing } from '@/constants/theme';
|
|
1
2
|
import { StyleSheet } from 'react-native';
|
|
2
3
|
|
|
3
4
|
export const styles = StyleSheet.create({
|
|
@@ -12,13 +13,16 @@ export const styles = StyleSheet.create({
|
|
|
12
13
|
alignItems: 'center',
|
|
13
14
|
justifyContent: 'center',
|
|
14
15
|
},
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
logo: {
|
|
17
|
+
width: 130,
|
|
18
|
+
height: 109,
|
|
19
|
+
},
|
|
20
|
+
title: {
|
|
21
|
+
fontSize: 16,
|
|
17
22
|
fontWeight: 'bold',
|
|
18
23
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
marginBottom: 32,
|
|
24
|
+
description: {
|
|
25
|
+
fontSize: 14,
|
|
26
|
+
marginTop: Spacing.sm,
|
|
23
27
|
},
|
|
24
28
|
});
|
package/lib/cli.js
CHANGED
package/package.json
CHANGED
|
Binary file
|