You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
657 B
36 lines
657 B
/** |
|
* 主题系统统一导出 |
|
* |
|
* 提供主题配置、工具函数和类型定义 |
|
*/ |
|
|
|
// 导出颜色配置 |
|
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'; |
|
|
|
|