@symbiote-native/cli 0.1.0 → 0.1.2

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.
Files changed (120) hide show
  1. package/bundle.js +4 -33
  2. package/package.json +1 -1
  3. package/templates/js/angular/index.js +2 -0
  4. package/templates/js/angular/src/App.css +2 -4
  5. package/templates/js/react/App.css +1 -1
  6. package/templates/js/react/index.js +2 -0
  7. package/templates/js/solid/App.css +2 -4
  8. package/templates/js/solid/index.js +2 -0
  9. package/templates/js/svelte/App.svelte +2 -2
  10. package/templates/js/svelte/App.typescript.svelte +2 -2
  11. package/templates/js/svelte/index.js +2 -0
  12. package/templates/js/vue-sfc/App.typescript.vue +2 -2
  13. package/templates/js/vue-sfc/App.vue +2 -2
  14. package/templates/js/vue-sfc/index.js +2 -0
  15. package/templates/js/vue-tsx/App.css +2 -4
  16. package/templates/js/vue-tsx/index.js +2 -0
  17. package/templates/layers/navigation/app/angular/src/App.css +2 -4
  18. package/templates/layers/navigation/app/react/App.css +1 -1
  19. package/templates/layers/navigation/app/solid/App.css +2 -4
  20. package/templates/layers/navigation/app/svelte/App.css +2 -4
  21. package/templates/layers/navigation/app/vue-sfc/App.css +2 -4
  22. package/templates/layers/navigation/app/vue-tsx/App.css +2 -4
  23. package/templates/styling/js/angular/css-modules/src/App.module.css +78 -0
  24. package/templates/styling/js/angular/css-modules/src/App.ts +30 -6
  25. package/templates/styling/js/angular/stylesheet/src/App.ts +56 -6
  26. package/templates/styling/js/react/css-modules/App.jsx +17 -5
  27. package/templates/styling/js/react/css-modules/App.module.css +60 -0
  28. package/templates/styling/js/react/css-modules/App.tsx +17 -5
  29. package/templates/styling/js/react/stylesheet/App.jsx +48 -6
  30. package/templates/styling/js/react/stylesheet/App.tsx +48 -6
  31. package/templates/styling/js/solid/css-modules/App.jsx +29 -5
  32. package/templates/styling/js/solid/css-modules/App.module.css +78 -0
  33. package/templates/styling/js/solid/css-modules/App.tsx +29 -5
  34. package/templates/styling/js/solid/stylesheet/App.jsx +60 -6
  35. package/templates/styling/js/solid/stylesheet/App.tsx +60 -6
  36. package/templates/styling/js/svelte/css-modules/App.module.css +78 -0
  37. package/templates/styling/js/svelte/css-modules/App.svelte +27 -5
  38. package/templates/styling/js/svelte/css-modules/App.typescript.svelte +27 -5
  39. package/templates/styling/js/svelte/stylesheet/App.svelte +62 -6
  40. package/templates/styling/js/svelte/stylesheet/App.typescript.svelte +62 -6
  41. package/templates/styling/js/vue-sfc/css-modules/App.module.css +78 -0
  42. package/templates/styling/js/vue-sfc/css-modules/App.typescript.vue +29 -5
  43. package/templates/styling/js/vue-sfc/css-modules/App.vue +29 -5
  44. package/templates/styling/js/vue-sfc/stylesheet/App.typescript.vue +60 -6
  45. package/templates/styling/js/vue-sfc/stylesheet/App.vue +60 -6
  46. package/templates/styling/js/vue-tsx/css-modules/App.jsx +29 -5
  47. package/templates/styling/js/vue-tsx/css-modules/App.module.css +78 -0
  48. package/templates/styling/js/vue-tsx/css-modules/App.tsx +29 -5
  49. package/templates/styling/js/vue-tsx/stylesheet/App.jsx +60 -6
  50. package/templates/styling/js/vue-tsx/stylesheet/App.tsx +60 -6
  51. package/templates/styling/navigation/angular/css-modules/src/App.module.css +118 -0
  52. package/templates/styling/navigation/angular/css-modules/src/DetailsScreen.ts +12 -4
  53. package/templates/styling/navigation/angular/css-modules/src/MenuScreen.ts +38 -8
  54. package/templates/styling/navigation/angular/stylesheet/src/DetailsScreen.ts +39 -4
  55. package/templates/styling/navigation/angular/stylesheet/src/MenuScreen.ts +75 -8
  56. package/templates/styling/navigation/react/css-modules/App.jsx +56 -11
  57. package/templates/styling/navigation/react/css-modules/App.module.css +100 -0
  58. package/templates/styling/navigation/react/css-modules/App.tsx +56 -11
  59. package/templates/styling/navigation/react/stylesheet/App.jsx +107 -12
  60. package/templates/styling/navigation/react/stylesheet/App.tsx +107 -12
  61. package/templates/styling/navigation/solid/css-modules/App.jsx +68 -11
  62. package/templates/styling/navigation/solid/css-modules/App.module.css +118 -0
  63. package/templates/styling/navigation/solid/css-modules/App.tsx +68 -11
  64. package/templates/styling/navigation/solid/stylesheet/App.jsx +119 -12
  65. package/templates/styling/navigation/solid/stylesheet/App.tsx +119 -12
  66. package/templates/styling/navigation/svelte/css-modules/App.module.css +118 -0
  67. package/templates/styling/navigation/svelte/css-modules/DetailsScreen.svelte +14 -3
  68. package/templates/styling/navigation/svelte/css-modules/DetailsScreen.typescript.svelte +14 -3
  69. package/templates/styling/navigation/svelte/css-modules/MenuScreen.svelte +34 -6
  70. package/templates/styling/navigation/svelte/css-modules/MenuScreen.typescript.svelte +34 -6
  71. package/templates/styling/navigation/svelte/stylesheet/DetailsScreen.svelte +41 -4
  72. package/templates/styling/navigation/svelte/stylesheet/DetailsScreen.typescript.svelte +41 -4
  73. package/templates/styling/navigation/svelte/stylesheet/MenuScreen.svelte +80 -7
  74. package/templates/styling/navigation/svelte/stylesheet/MenuScreen.typescript.svelte +80 -7
  75. package/templates/styling/navigation/vue-sfc/css-modules/App.module.css +118 -0
  76. package/templates/styling/navigation/vue-sfc/css-modules/DetailsScreen.typescript.vue +12 -3
  77. package/templates/styling/navigation/vue-sfc/css-modules/DetailsScreen.vue +12 -3
  78. package/templates/styling/navigation/vue-sfc/css-modules/MenuScreen.typescript.vue +38 -6
  79. package/templates/styling/navigation/vue-sfc/css-modules/MenuScreen.vue +38 -6
  80. package/templates/styling/navigation/vue-sfc/stylesheet/DetailsScreen.typescript.vue +39 -4
  81. package/templates/styling/navigation/vue-sfc/stylesheet/DetailsScreen.vue +39 -4
  82. package/templates/styling/navigation/vue-sfc/stylesheet/MenuScreen.typescript.vue +80 -7
  83. package/templates/styling/navigation/vue-sfc/stylesheet/MenuScreen.vue +80 -7
  84. package/templates/styling/navigation/vue-tsx/css-modules/App.jsx +63 -18
  85. package/templates/styling/navigation/vue-tsx/css-modules/App.module.css +118 -0
  86. package/templates/styling/navigation/vue-tsx/css-modules/App.tsx +63 -18
  87. package/templates/styling/navigation/vue-tsx/stylesheet/App.jsx +116 -21
  88. package/templates/styling/navigation/vue-tsx/stylesheet/App.tsx +116 -21
  89. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
  90. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
  91. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
  92. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
  93. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
  94. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
  95. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
  96. /package/templates/{native/bootsplash-logo → bootsplash-logo}/angular/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
  97. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
  98. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
  99. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
  100. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
  101. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
  102. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
  103. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
  104. /package/templates/{native/bootsplash-logo → bootsplash-logo}/solid/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
  105. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
  106. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
  107. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
  108. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
  109. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
  110. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
  111. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
  112. /package/templates/{native/bootsplash-logo → bootsplash-logo}/svelte/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
  113. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png +0 -0
  114. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png +0 -0
  115. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png +0 -0
  116. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png +0 -0
  117. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png +0 -0
  118. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55.png +0 -0
  119. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@2x.png +0 -0
  120. /package/templates/{native/bootsplash-logo → bootsplash-logo}/vue/ios/Canary/Images.xcassets/BootSplashLogo-498e55.imageset/logo-498e55@3x.png +0 -0
@@ -5,11 +5,23 @@ export default function App() {
5
5
  const [count, setCount] = useState<number>(0);
6
6
 
7
7
  return (
8
- <view className={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count}</text>
8
+ <safe-area-view className={styles['screen']}>
9
+ <image
10
+ className={styles['brand-logo']}
11
+ resizeMode="contain"
12
+ source={require('./assets/react-native-logo.png')}
13
+ />
14
+ <text className={styles['title']}>Welcome to SymbioteNative!</text>
15
+ <text className={styles['subtitle']}>Framework-agnostic React Native, driven by React.</text>
16
+
17
+ <view className={styles['counter-card']}>
18
+ <text className={styles['counter-label']}>TAPS</text>
19
+ <text className={styles['counter-value']}>{count}</text>
20
+ </view>
21
+
22
+ <pressable className={styles['button-primary']} onPress={() => setCount((value) => value + 1)}>
23
+ <text className={styles['button-primary-text']}>Tap me</text>
12
24
  </pressable>
13
- </view>
25
+ </safe-area-view>
14
26
  );
15
27
  }
@@ -5,15 +5,57 @@ export default function App() {
5
5
  const [count, setCount] = useState(0);
6
6
 
7
7
  return (
8
- <view style={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count}</text>
8
+ <safe-area-view style={styles.screen}>
9
+ <image
10
+ style={styles.brandLogo}
11
+ resizeMode="contain"
12
+ source={require('./assets/react-native-logo.png')}
13
+ />
14
+ <text style={styles.title}>Welcome to SymbioteNative!</text>
15
+ <text style={styles.subtitle}>Framework-agnostic React Native, driven by React.</text>
16
+
17
+ <view style={styles.counterCard}>
18
+ <text style={styles.counterLabel}>TAPS</text>
19
+ <text style={styles.counterValue}>{count}</text>
20
+ </view>
21
+
22
+ <pressable style={styles.buttonPrimary} onPress={() => setCount((value) => value + 1)}>
23
+ <text style={styles.buttonPrimaryText}>Tap me</text>
12
24
  </pressable>
13
- </view>
25
+ </safe-area-view>
14
26
  );
15
27
  }
16
28
 
17
29
  const styles = StyleSheet.create({
18
- container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
30
+ screen: {
31
+ flex: 1,
32
+ backgroundColor: '#0b1622',
33
+ alignItems: 'center',
34
+ justifyContent: 'center',
35
+ gap: 24,
36
+ paddingVertical: 24,
37
+ paddingHorizontal: 32,
38
+ },
39
+ brandLogo: { width: 70, height: 64 },
40
+ title: { color: '#ffffff', fontSize: 22, fontWeight: 'bold', textAlign: 'center' },
41
+ subtitle: { color: '#cbd5e1', fontSize: 14, textAlign: 'center' },
42
+ counterCard: {
43
+ alignItems: 'center',
44
+ gap: 4,
45
+ paddingVertical: 20,
46
+ paddingHorizontal: 28,
47
+ borderRadius: 16,
48
+ backgroundColor: '#13243a',
49
+ },
50
+ counterLabel: { color: '#41506a', fontSize: 12, letterSpacing: 1 },
51
+ counterValue: { color: '#61dafb', fontSize: 32, fontWeight: 'bold' },
52
+ buttonPrimary: {
53
+ alignItems: 'center',
54
+ justifyContent: 'center',
55
+ borderRadius: 12,
56
+ paddingVertical: 14,
57
+ paddingHorizontal: 22,
58
+ backgroundColor: '#61dafb',
59
+ },
60
+ buttonPrimaryText: { color: '#0b1622', fontSize: 15, fontWeight: 'bold' },
19
61
  });
@@ -5,15 +5,57 @@ export default function App() {
5
5
  const [count, setCount] = useState<number>(0);
6
6
 
7
7
  return (
8
- <view style={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count}</text>
8
+ <safe-area-view style={styles.screen}>
9
+ <image
10
+ style={styles.brandLogo}
11
+ resizeMode="contain"
12
+ source={require('./assets/react-native-logo.png')}
13
+ />
14
+ <text style={styles.title}>Welcome to SymbioteNative!</text>
15
+ <text style={styles.subtitle}>Framework-agnostic React Native, driven by React.</text>
16
+
17
+ <view style={styles.counterCard}>
18
+ <text style={styles.counterLabel}>TAPS</text>
19
+ <text style={styles.counterValue}>{count}</text>
20
+ </view>
21
+
22
+ <pressable style={styles.buttonPrimary} onPress={() => setCount((value) => value + 1)}>
23
+ <text style={styles.buttonPrimaryText}>Tap me</text>
12
24
  </pressable>
13
- </view>
25
+ </safe-area-view>
14
26
  );
15
27
  }
16
28
 
17
29
  const styles = StyleSheet.create({
18
- container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
30
+ screen: {
31
+ flex: 1,
32
+ backgroundColor: '#0b1622',
33
+ alignItems: 'center',
34
+ justifyContent: 'center',
35
+ gap: 24,
36
+ paddingVertical: 24,
37
+ paddingHorizontal: 32,
38
+ },
39
+ brandLogo: { width: 70, height: 64 },
40
+ title: { color: '#ffffff', fontSize: 22, fontWeight: 'bold', textAlign: 'center' },
41
+ subtitle: { color: '#cbd5e1', fontSize: 14, textAlign: 'center' },
42
+ counterCard: {
43
+ alignItems: 'center',
44
+ gap: 4,
45
+ paddingVertical: 20,
46
+ paddingHorizontal: 28,
47
+ borderRadius: 16,
48
+ backgroundColor: '#13243a',
49
+ },
50
+ counterLabel: { color: '#41506a', fontSize: 12, letterSpacing: 1 },
51
+ counterValue: { color: '#61dafb', fontSize: 32, fontWeight: 'bold' },
52
+ buttonPrimary: {
53
+ alignItems: 'center',
54
+ justifyContent: 'center',
55
+ borderRadius: 12,
56
+ paddingVertical: 14,
57
+ paddingHorizontal: 22,
58
+ backgroundColor: '#61dafb',
59
+ },
60
+ buttonPrimaryText: { color: '#0b1622', fontSize: 15, fontWeight: 'bold' },
19
61
  });
@@ -5,11 +5,35 @@ export default function App() {
5
5
  const [count, setCount] = createSignal(0);
6
6
 
7
7
  return (
8
- <view class={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count()}</text>
8
+ <safe-area-view class={styles['screen']}>
9
+ <view class={styles['brand-row']}>
10
+ <image
11
+ class={`${styles['brand-logo']} ${styles['brand-logo-react']}`}
12
+ resizeMode="contain"
13
+ source={require('./assets/react-native-logo.png')}
14
+ />
15
+ <image
16
+ class={styles['plus-icon']}
17
+ resizeMode="contain"
18
+ source={require('./assets/plus-icon.png')}
19
+ />
20
+ <image
21
+ class={`${styles['brand-logo']} ${styles['brand-logo-solid']}`}
22
+ resizeMode="contain"
23
+ source={require('./assets/solid-logo.png')}
24
+ />
25
+ </view>
26
+ <text class={styles['title']}>Welcome to SymbioteNative!</text>
27
+ <text class={styles['subtitle']}>Framework-agnostic React Native, driven by Solid.</text>
28
+
29
+ <view class={styles['counter-card']}>
30
+ <text class={styles['counter-label']}>TAPS</text>
31
+ <text class={styles['counter-value']}>{count()}</text>
32
+ </view>
33
+
34
+ <pressable class={styles['button-primary']} onPress={() => setCount((value) => value + 1)}>
35
+ <text class={styles['button-primary-text']}>Tap me</text>
12
36
  </pressable>
13
- </view>
37
+ </safe-area-view>
14
38
  );
15
39
  }
@@ -0,0 +1,78 @@
1
+ .screen {
2
+ flex: 1;
3
+ background-color: #0b1622;
4
+ align-items: center;
5
+ justify-content: center;
6
+ gap: 24px;
7
+ padding: 24px 32px;
8
+ }
9
+
10
+ .brand-row {
11
+ flex-direction: row;
12
+ align-items: center;
13
+ gap: 28px;
14
+ }
15
+
16
+ .brand-logo {
17
+ height: 64px;
18
+ }
19
+
20
+ .brand-logo-react {
21
+ width: 70px;
22
+ }
23
+
24
+ .brand-logo-solid {
25
+ width: 66px;
26
+ }
27
+
28
+ .plus-icon {
29
+ width: 48px;
30
+ height: 48px;
31
+ }
32
+
33
+ .title {
34
+ color: #ffffff;
35
+ font-size: 22px;
36
+ font-weight: bold;
37
+ text-align: center;
38
+ }
39
+
40
+ .subtitle {
41
+ color: #cbd5e1;
42
+ font-size: 14px;
43
+ text-align: center;
44
+ }
45
+
46
+ .counter-card {
47
+ align-items: center;
48
+ gap: 4px;
49
+ padding: 20px 28px;
50
+ border-radius: 16px;
51
+ background-color: #13243a;
52
+ }
53
+
54
+ .counter-label {
55
+ color: #41506a;
56
+ font-size: 12px;
57
+ letter-spacing: 1px;
58
+ }
59
+
60
+ .counter-value {
61
+ color: #2c4f7c;
62
+ font-size: 32px;
63
+ font-weight: bold;
64
+ }
65
+
66
+ .button-primary {
67
+ align-items: center;
68
+ justify-content: center;
69
+ border-radius: 12px;
70
+ padding: 14px 22px;
71
+ background-color: #2c4f7c;
72
+ }
73
+
74
+ .button-primary-text {
75
+ color: #ffffff;
76
+ font-size: 15px;
77
+ font-weight: bold;
78
+ }
@@ -5,11 +5,35 @@ export default function App() {
5
5
  const [count, setCount] = createSignal<number>(0);
6
6
 
7
7
  return (
8
- <view class={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count()}</text>
8
+ <safe-area-view class={styles['screen']}>
9
+ <view class={styles['brand-row']}>
10
+ <image
11
+ class={`${styles['brand-logo']} ${styles['brand-logo-react']}`}
12
+ resizeMode="contain"
13
+ source={require('./assets/react-native-logo.png')}
14
+ />
15
+ <image
16
+ class={styles['plus-icon']}
17
+ resizeMode="contain"
18
+ source={require('./assets/plus-icon.png')}
19
+ />
20
+ <image
21
+ class={`${styles['brand-logo']} ${styles['brand-logo-solid']}`}
22
+ resizeMode="contain"
23
+ source={require('./assets/solid-logo.png')}
24
+ />
25
+ </view>
26
+ <text class={styles['title']}>Welcome to SymbioteNative!</text>
27
+ <text class={styles['subtitle']}>Framework-agnostic React Native, driven by Solid.</text>
28
+
29
+ <view class={styles['counter-card']}>
30
+ <text class={styles['counter-label']}>TAPS</text>
31
+ <text class={styles['counter-value']}>{count()}</text>
32
+ </view>
33
+
34
+ <pressable class={styles['button-primary']} onPress={() => setCount((value) => value + 1)}>
35
+ <text class={styles['button-primary-text']}>Tap me</text>
12
36
  </pressable>
13
- </view>
37
+ </safe-area-view>
14
38
  );
15
39
  }
@@ -5,15 +5,69 @@ export default function App() {
5
5
  const [count, setCount] = createSignal(0);
6
6
 
7
7
  return (
8
- <view style={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count()}</text>
8
+ <safe-area-view style={styles.screen}>
9
+ <view style={styles.brandRow}>
10
+ <image
11
+ style={[styles.brandLogo, styles.brandLogoReact]}
12
+ resizeMode="contain"
13
+ source={require('./assets/react-native-logo.png')}
14
+ />
15
+ <image style={styles.plusIcon} resizeMode="contain" source={require('./assets/plus-icon.png')} />
16
+ <image
17
+ style={[styles.brandLogo, styles.brandLogoSolid]}
18
+ resizeMode="contain"
19
+ source={require('./assets/solid-logo.png')}
20
+ />
21
+ </view>
22
+ <text style={styles.title}>Welcome to SymbioteNative!</text>
23
+ <text style={styles.subtitle}>Framework-agnostic React Native, driven by Solid.</text>
24
+
25
+ <view style={styles.counterCard}>
26
+ <text style={styles.counterLabel}>TAPS</text>
27
+ <text style={styles.counterValue}>{count()}</text>
28
+ </view>
29
+
30
+ <pressable style={styles.buttonPrimary} onPress={() => setCount((value) => value + 1)}>
31
+ <text style={styles.buttonPrimaryText}>Tap me</text>
12
32
  </pressable>
13
- </view>
33
+ </safe-area-view>
14
34
  );
15
35
  }
16
36
 
17
37
  const styles = StyleSheet.create({
18
- container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
38
+ screen: {
39
+ flex: 1,
40
+ backgroundColor: '#0b1622',
41
+ alignItems: 'center',
42
+ justifyContent: 'center',
43
+ gap: 24,
44
+ paddingVertical: 24,
45
+ paddingHorizontal: 32,
46
+ },
47
+ brandRow: { flexDirection: 'row', alignItems: 'center', gap: 28 },
48
+ brandLogo: { height: 64 },
49
+ brandLogoReact: { width: 70 },
50
+ brandLogoSolid: { width: 66 },
51
+ plusIcon: { width: 48, height: 48 },
52
+ title: { color: '#ffffff', fontSize: 22, fontWeight: 'bold', textAlign: 'center' },
53
+ subtitle: { color: '#cbd5e1', fontSize: 14, textAlign: 'center' },
54
+ counterCard: {
55
+ alignItems: 'center',
56
+ gap: 4,
57
+ paddingVertical: 20,
58
+ paddingHorizontal: 28,
59
+ borderRadius: 16,
60
+ backgroundColor: '#13243a',
61
+ },
62
+ counterLabel: { color: '#41506a', fontSize: 12, letterSpacing: 1 },
63
+ counterValue: { color: '#2c4f7c', fontSize: 32, fontWeight: 'bold' },
64
+ buttonPrimary: {
65
+ alignItems: 'center',
66
+ justifyContent: 'center',
67
+ borderRadius: 12,
68
+ paddingVertical: 14,
69
+ paddingHorizontal: 22,
70
+ backgroundColor: '#2c4f7c',
71
+ },
72
+ buttonPrimaryText: { color: '#ffffff', fontSize: 15, fontWeight: 'bold' },
19
73
  });
@@ -5,15 +5,69 @@ export default function App() {
5
5
  const [count, setCount] = createSignal<number>(0);
6
6
 
7
7
  return (
8
- <view style={styles.container}>
9
- <text>Welcome to SymbioteNative!</text>
10
- <pressable onPress={() => setCount((value) => value + 1)}>
11
- <text>Taps: {count()}</text>
8
+ <safe-area-view style={styles.screen}>
9
+ <view style={styles.brandRow}>
10
+ <image
11
+ style={[styles.brandLogo, styles.brandLogoReact]}
12
+ resizeMode="contain"
13
+ source={require('./assets/react-native-logo.png')}
14
+ />
15
+ <image style={styles.plusIcon} resizeMode="contain" source={require('./assets/plus-icon.png')} />
16
+ <image
17
+ style={[styles.brandLogo, styles.brandLogoSolid]}
18
+ resizeMode="contain"
19
+ source={require('./assets/solid-logo.png')}
20
+ />
21
+ </view>
22
+ <text style={styles.title}>Welcome to SymbioteNative!</text>
23
+ <text style={styles.subtitle}>Framework-agnostic React Native, driven by Solid.</text>
24
+
25
+ <view style={styles.counterCard}>
26
+ <text style={styles.counterLabel}>TAPS</text>
27
+ <text style={styles.counterValue}>{count()}</text>
28
+ </view>
29
+
30
+ <pressable style={styles.buttonPrimary} onPress={() => setCount((value) => value + 1)}>
31
+ <text style={styles.buttonPrimaryText}>Tap me</text>
12
32
  </pressable>
13
- </view>
33
+ </safe-area-view>
14
34
  );
15
35
  }
16
36
 
17
37
  const styles = StyleSheet.create({
18
- container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
38
+ screen: {
39
+ flex: 1,
40
+ backgroundColor: '#0b1622',
41
+ alignItems: 'center',
42
+ justifyContent: 'center',
43
+ gap: 24,
44
+ paddingVertical: 24,
45
+ paddingHorizontal: 32,
46
+ },
47
+ brandRow: { flexDirection: 'row', alignItems: 'center', gap: 28 },
48
+ brandLogo: { height: 64 },
49
+ brandLogoReact: { width: 70 },
50
+ brandLogoSolid: { width: 66 },
51
+ plusIcon: { width: 48, height: 48 },
52
+ title: { color: '#ffffff', fontSize: 22, fontWeight: 'bold', textAlign: 'center' },
53
+ subtitle: { color: '#cbd5e1', fontSize: 14, textAlign: 'center' },
54
+ counterCard: {
55
+ alignItems: 'center',
56
+ gap: 4,
57
+ paddingVertical: 20,
58
+ paddingHorizontal: 28,
59
+ borderRadius: 16,
60
+ backgroundColor: '#13243a',
61
+ },
62
+ counterLabel: { color: '#41506a', fontSize: 12, letterSpacing: 1 },
63
+ counterValue: { color: '#2c4f7c', fontSize: 32, fontWeight: 'bold' },
64
+ buttonPrimary: {
65
+ alignItems: 'center',
66
+ justifyContent: 'center',
67
+ borderRadius: 12,
68
+ paddingVertical: 14,
69
+ paddingHorizontal: 22,
70
+ backgroundColor: '#2c4f7c',
71
+ },
72
+ buttonPrimaryText: { color: '#ffffff', fontSize: 15, fontWeight: 'bold' },
19
73
  });
@@ -0,0 +1,78 @@
1
+ .screen {
2
+ flex: 1;
3
+ background-color: #0b1622;
4
+ align-items: center;
5
+ justify-content: center;
6
+ gap: 24px;
7
+ padding: 24px 32px;
8
+ }
9
+
10
+ .brand-row {
11
+ flex-direction: row;
12
+ align-items: center;
13
+ gap: 28px;
14
+ }
15
+
16
+ .brand-logo {
17
+ height: 64px;
18
+ }
19
+
20
+ .brand-logo-react {
21
+ width: 70px;
22
+ }
23
+
24
+ .brand-logo-svelte {
25
+ width: 54px;
26
+ }
27
+
28
+ .plus-icon {
29
+ width: 48px;
30
+ height: 48px;
31
+ }
32
+
33
+ .title {
34
+ color: #ffffff;
35
+ font-size: 22px;
36
+ font-weight: bold;
37
+ text-align: center;
38
+ }
39
+
40
+ .subtitle {
41
+ color: #cbd5e1;
42
+ font-size: 14px;
43
+ text-align: center;
44
+ }
45
+
46
+ .counter-card {
47
+ align-items: center;
48
+ gap: 4px;
49
+ padding: 20px 28px;
50
+ border-radius: 16px;
51
+ background-color: #13243a;
52
+ }
53
+
54
+ .counter-label {
55
+ color: #41506a;
56
+ font-size: 12px;
57
+ letter-spacing: 1px;
58
+ }
59
+
60
+ .counter-value {
61
+ color: #ff3e00;
62
+ font-size: 32px;
63
+ font-weight: bold;
64
+ }
65
+
66
+ .button-primary {
67
+ align-items: center;
68
+ justify-content: center;
69
+ border-radius: 12px;
70
+ padding: 14px 22px;
71
+ background-color: #ff3e00;
72
+ }
73
+
74
+ .button-primary-text {
75
+ color: #ffffff;
76
+ font-size: 15px;
77
+ font-weight: bold;
78
+ }
@@ -1,12 +1,34 @@
1
1
  <script>
2
+ import { PLUS_ICON_URI, REACT_NATIVE_LOGO_URI, SVELTE_LOGO_URI } from './image-uris';
2
3
  import styles from './App.module.css';
3
4
 
4
5
  let count = $state(0);
5
6
  </script>
6
7
 
7
- <view class={styles.container}>
8
- <text>Welcome to SymbioteNative!</text>
9
- <pressable onPress={() => count++}>
10
- <text>Taps: {count}</text>
8
+ <safe-area-view class={styles['screen']}>
9
+ <view class={styles['brand-row']}>
10
+ <image
11
+ class={`${styles['brand-logo']} ${styles['brand-logo-react']}`}
12
+ resizeMode="contain"
13
+ source={{ uri: REACT_NATIVE_LOGO_URI }}
14
+ />
15
+ <image class={styles['plus-icon']} resizeMode="contain" source={{ uri: PLUS_ICON_URI }} />
16
+ <image
17
+ class={`${styles['brand-logo']} ${styles['brand-logo-svelte']}`}
18
+ resizeMode="contain"
19
+ source={{ uri: SVELTE_LOGO_URI }}
20
+ />
21
+ </view>
22
+
23
+ <text class={styles['title']}>Welcome to SymbioteNative!</text>
24
+ <text class={styles['subtitle']}>Framework-agnostic React Native, driven by Svelte.</text>
25
+
26
+ <view class={styles['counter-card']}>
27
+ <text class={styles['counter-label']}>TAPS</text>
28
+ <text class={styles['counter-value']}>{count}</text>
29
+ </view>
30
+
31
+ <pressable class={styles['button-primary']} onPress={() => count++}>
32
+ <text class={styles['button-primary-text']}>Tap me</text>
11
33
  </pressable>
12
- </view>
34
+ </safe-area-view>
@@ -1,12 +1,34 @@
1
1
  <script lang="ts">
2
+ import { PLUS_ICON_URI, REACT_NATIVE_LOGO_URI, SVELTE_LOGO_URI } from './image-uris';
2
3
  import styles from './App.module.css';
3
4
 
4
5
  let count = $state<number>(0);
5
6
  </script>
6
7
 
7
- <view class={styles.container}>
8
- <text>Welcome to SymbioteNative!</text>
9
- <pressable onPress={() => count++}>
10
- <text>Taps: {count}</text>
8
+ <safe-area-view class={styles['screen']}>
9
+ <view class={styles['brand-row']}>
10
+ <image
11
+ class={`${styles['brand-logo']} ${styles['brand-logo-react']}`}
12
+ resizeMode="contain"
13
+ source={{ uri: REACT_NATIVE_LOGO_URI }}
14
+ />
15
+ <image class={styles['plus-icon']} resizeMode="contain" source={{ uri: PLUS_ICON_URI }} />
16
+ <image
17
+ class={`${styles['brand-logo']} ${styles['brand-logo-svelte']}`}
18
+ resizeMode="contain"
19
+ source={{ uri: SVELTE_LOGO_URI }}
20
+ />
21
+ </view>
22
+
23
+ <text class={styles['title']}>Welcome to SymbioteNative!</text>
24
+ <text class={styles['subtitle']}>Framework-agnostic React Native, driven by Svelte.</text>
25
+
26
+ <view class={styles['counter-card']}>
27
+ <text class={styles['counter-label']}>TAPS</text>
28
+ <text class={styles['counter-value']}>{count}</text>
29
+ </view>
30
+
31
+ <pressable class={styles['button-primary']} onPress={() => count++}>
32
+ <text class={styles['button-primary-text']}>Tap me</text>
11
33
  </pressable>
12
- </view>
34
+ </safe-area-view>