🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
413 B
TypeScript
22 lines
413 B
TypeScript
import { StyleSheet } from "react-native-unistyles";
|
|
import { theme } from "./theme";
|
|
|
|
// Configure Unistyles with our theme
|
|
StyleSheet.configure({
|
|
themes: {
|
|
dark: theme,
|
|
},
|
|
settings: {
|
|
initialTheme: "dark",
|
|
},
|
|
});
|
|
|
|
// Type augmentation for TypeScript
|
|
type AppThemes = {
|
|
dark: typeof theme;
|
|
};
|
|
|
|
declare module "react-native-unistyles" {
|
|
export interface UnistylesThemes extends AppThemes {}
|
|
}
|