create-vite-taro 0.5.10 → 0.5.12

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vite-taro",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
4
4
  "description": "Create Vite 8 + React 19 + Taro apps for H5 and WeChat Mini Program targets.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,6 +23,6 @@
23
23
  "cross-env": "^10.1.0",
24
24
  "rolldown": "1.2.3",
25
25
  "vite": "8.2.1",
26
- "vite-plugin-taro": "^0.5.10"
26
+ "vite-plugin-taro": "^0.5.12"
27
27
  }
28
28
  }
@@ -34,7 +34,8 @@ button {
34
34
  .starter-canvas {
35
35
  background:
36
36
  radial-gradient(ellipse at 12% 5%, rgba(101, 190, 119, 0.11), rgba(101, 190, 119, 0.04) 28%, transparent 62%),
37
- radial-gradient(ellipse at 90% 18%, rgba(234, 139, 115, 0.08), rgba(234, 139, 115, 0.03) 32%, transparent 68%);
37
+ radial-gradient(ellipse at 90% 18%, rgba(234, 139, 115, 0.08), rgba(234, 139, 115, 0.03) 32%, transparent 68%),
38
+ #fbfaf1;
38
39
  }
39
40
 
40
41
  .botanical-sprig {
@@ -18,10 +18,7 @@ export function NavigationBar({ title }: NavigationBarProps) {
18
18
  const sideStyle: CSSProperties = { flexBasis: px(menuInfo.width), width: px(menuInfo.width) }
19
19
 
20
20
  return (
21
- <View
22
- className="flex w-full flex-col border-b border-[#1e663d]/10 bg-[#fbfaf1] text-[#17673d]"
23
- style={containerStyle}
24
- >
21
+ <View className="flex w-full flex-col text-[#17673d]" style={containerStyle}>
25
22
  <View className="shrink-0" style={statusBarStyle} />
26
23
  <View className="flex w-full flex-1 flex-row items-center" style={contentStyle}>
27
24
  <View className="flex h-full shrink-0" style={sideStyle} />
@@ -52,9 +52,9 @@ function IndexPage() {
52
52
  const [count, setCount] = useState(0)
53
53
 
54
54
  return (
55
- <View className="flex h-screen flex-col overflow-hidden bg-[#fbfaf1] text-[#315f44]">
55
+ <View className="starter-canvas flex h-screen flex-col overflow-hidden text-[#315f44]">
56
56
  <NavigationBar title="VPT" />
57
- <ScrollView scrollY className="starter-canvas flex min-h-0 flex-1 flex-col bg-[#fbfaf1]">
57
+ <ScrollView scrollY className="flex min-h-0 flex-1 flex-col">
58
58
  <View className="relative flex shrink-0 flex-col items-center overflow-hidden px-5 pb-12 pt-10">
59
59
  <BotanicalSprig className="botanical-sprig-top" />
60
60
  <BotanicalSprig className="botanical-sprig-side" />
@@ -33,14 +33,16 @@ export default defineConfig(({ mode }) => {
33
33
  {
34
34
  path: 'pages/index/index',
35
35
  config: {
36
- navigationStyle: 'custom'
36
+ navigationStyle: 'custom',
37
+ navigationBarTextStyle: 'black'
37
38
  }
38
39
  }
39
40
  ],
40
41
  appJson: {
41
42
  lazyCodeLoading: 'requiredComponents',
42
43
  window: {
43
- navigationStyle: 'custom'
44
+ navigationStyle: 'custom',
45
+ navigationBarTextStyle: 'black'
44
46
  },
45
47
  renderer: 'skyline',
46
48
  componentFramework: 'glass-easel',