create-vite-taro 0.5.9 → 0.5.11
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/templates/default/package.json +1 -1
- package/templates/default/src/app.css +2 -1
- package/templates/default/src/components/navigation-bar/navigation-bar.tsx +1 -4
- package/templates/default/src/pages/index/index.tsx +2 -2
- package/templates/default/vite.config.ts +4 -2
package/package.json
CHANGED
|
@@ -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
|
|
55
|
+
<View className="starter-canvas flex h-screen flex-col overflow-hidden text-[#315f44]">
|
|
56
56
|
<NavigationBar title="VPT" />
|
|
57
|
-
<ScrollView scrollY className="
|
|
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',
|