Squash merge feat/expo-app: app-expo, .cursor, workflows, package.json, .husky; remove app-android, app-ios, react-app

This commit is contained in:
Kevin
2026-03-19 01:12:17 +08:00
parent 9e4f301ab9
commit b4f4369b7d
544 changed files with 23707 additions and 67151 deletions

View File

@@ -0,0 +1,20 @@
import { Platform } from 'react-native';
import tokens from '../../design-tokens.json';
export const Layout = tokens.layout;
export const MaxContentWidth = tokens.layout.contentMaxWidth;
export const ScreenGutter = tokens.layout.screenGutter;
/** Mobile-first breakpoints (px). Use with useBreakpoint or useWindowDimensions. */
export const Breakpoints = tokens.layout.breakpoints as {
sm: number;
md: number;
lg: number;
xl: number;
'2xl': number;
};
// App shell env/config, not design tokens.
export const BottomTabInset = Platform.select({ ios: 50, android: 80 }) ?? 0;