feat: update

This commit is contained in:
2025-11-06 16:37:01 +08:00
parent c0d54b8513
commit 855f289579
59 changed files with 3398 additions and 572 deletions

36
theme/index.ts Normal file
View File

@@ -0,0 +1,36 @@
/**
* 主题系统统一导出
*
* 提供主题配置、工具函数和类型定义
*/
// 导出颜色配置
export { default as Colors } from '@/constants/Colors';
// 导出主题 Hooks
export {
useColorScheme,
useThemeColor,
useThemeColors,
useThemeInfo,
} from '@/hooks/useTheme';
// 导出主题组件
export {
ThemedText,
ThemedView,
Text as ThemeText,
View as ThemeView,
} from '@/components/Themed';
export type {
ThemedTextProps,
ThemedViewProps,
TextProps as ThemeTextProps,
ViewProps as ThemeViewProps,
} from '@/components/Themed';
// 导出主题工具函数
export * from './utils';
export * from './styles';