chore: remove unused Expo template files and dependencies, add CI workflow
- 17 files unreferenced by the app (knip): hello-wave, parallax-scroll-view, themed-*, icon-symbol, Button, GlassCard, ScreenWrapper, Models catalog, duplicated theme/color-scheme hooks - scripts/reset-project.js and its npm script: it moves app/ to app-example and would wipe the project - dependencies only used by those files: expo-image, expo-symbols, expo-web-browser, react-native-sse, @babel/plugin-transform-runtime - GitHub Actions workflow running typecheck, lint, tests and the web export
This commit is contained in:
1 parent
7ee78af76d
commit
200fb6afd7
22 files changed
+22
-886
No files matched your search
@@ -1,33 +0,0 @@
|
||||
export type AIModel = {
|
||||
id: string;
|
||||
name: string;
|
||||
parameters: string;
|
||||
huggingFaceUrl: string;
|
||||
description: string;
|
||||
};
|
||||
|
||||
export const QWEN_MODELS: AIModel[] = [
|
||||
{
|
||||
id: "qwen1.5-0.5b-chat",
|
||||
name: "Qwen 1.5 Chat",
|
||||
parameters: "0.5B",
|
||||
huggingFaceUrl: "https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat",
|
||||
description: "Ultra-lightweight model, extremely fast for basic tasks.",
|
||||
},
|
||||
{
|
||||
id: "qwen1.5-1.8b-chat",
|
||||
name: "Qwen 1.5 Chat",
|
||||
parameters: "1.8B",
|
||||
huggingFaceUrl: "https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat",
|
||||
description: "Good balance of speed and reasoning for mobile devices.",
|
||||
},
|
||||
{
|
||||
id: "qwen1.5-4b-chat",
|
||||
name: "Qwen 1.5 Chat",
|
||||
parameters: "4B",
|
||||
huggingFaceUrl: "https://huggingface.co/Qwen/Qwen1.5-4B-Chat",
|
||||
description: "Highest local quality, requires more RAM and processing power.",
|
||||
}
|
||||
];
|
||||
|
||||
export const DEFAULT_MODEL = QWEN_MODELS[0];
|
||||
@@ -1,87 +0,0 @@
|
||||
/**
|
||||
* ManusAI Theme - Monochromatic/Minimalist
|
||||
*
|
||||
* Design System:
|
||||
* - Primary: White (#ffffff)
|
||||
* - Background: Deep Matte Black (#09090b)
|
||||
* - Surface: Zinc-900 (#18181b)
|
||||
* - Border: Zinc-700 (#3f3f46)
|
||||
* - Text: Zinc-50 (#fafafa)
|
||||
*/
|
||||
|
||||
import { Platform } from 'react-native';
|
||||
|
||||
const ManusColors = {
|
||||
// Base
|
||||
black: '#09090b',
|
||||
zinc900: '#18181b',
|
||||
zinc800: '#27272a',
|
||||
zinc700: '#3f3f46',
|
||||
zinc400: '#a1a1aa',
|
||||
zinc50: '#fafafa',
|
||||
white: '#ffffff',
|
||||
|
||||
// Semantic
|
||||
background: '#09090b',
|
||||
surface: '#18181b',
|
||||
surfaceHighlight: '#27272a',
|
||||
primary: '#ffffff',
|
||||
border: '#3f3f46',
|
||||
text: '#fafafa',
|
||||
textSecondary: '#a1a1aa',
|
||||
error: '#ef4444',
|
||||
};
|
||||
|
||||
export const Colors = {
|
||||
light: {
|
||||
text: ManusColors.black,
|
||||
background: ManusColors.white,
|
||||
tint: ManusColors.black,
|
||||
icon: ManusColors.zinc700,
|
||||
tabIconDefault: ManusColors.zinc400,
|
||||
tabIconSelected: ManusColors.black,
|
||||
// Manus Specific
|
||||
surface: '#f4f4f5', // Zinc-100
|
||||
surfaceHighlight: '#e4e4e7', // Zinc-200
|
||||
border: '#d4d4d8', // Zinc-300
|
||||
textSecondary: ManusColors.zinc700,
|
||||
primary: ManusColors.black,
|
||||
},
|
||||
dark: {
|
||||
text: ManusColors.text,
|
||||
background: ManusColors.background,
|
||||
tint: ManusColors.primary,
|
||||
icon: ManusColors.zinc400,
|
||||
tabIconDefault: ManusColors.zinc400,
|
||||
tabIconSelected: ManusColors.primary,
|
||||
// Manus Specific
|
||||
surface: ManusColors.surface,
|
||||
surfaceHighlight: ManusColors.surfaceHighlight,
|
||||
border: ManusColors.border,
|
||||
textSecondary: ManusColors.textSecondary,
|
||||
primary: ManusColors.primary,
|
||||
},
|
||||
// Unified access for components that ignore system theme
|
||||
manus: ManusColors,
|
||||
};
|
||||
|
||||
export const Fonts = Platform.select({
|
||||
ios: {
|
||||
sans: 'system-ui',
|
||||
serif: 'ui-serif',
|
||||
rounded: 'ui-rounded',
|
||||
mono: 'ui-monospace',
|
||||
},
|
||||
android: {
|
||||
sans: 'sans-serif',
|
||||
serif: 'serif',
|
||||
rounded: 'sans-serif-medium',
|
||||
mono: 'monospace',
|
||||
},
|
||||
default: {
|
||||
sans: 'system-ui',
|
||||
serif: 'serif',
|
||||
rounded: 'system-ui',
|
||||
mono: 'monospace',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user