useColorScheme.web.ts
1 // NOTE: The default React Native styling doesn't support server rendering. 2 // Server rendered styles should not change between the first render of the HTML 3 // and the first render on the client. Typically, web developers will use CSS media queries 4 // to render different styles on the client and server, these aren't directly supported in React Native 5 // but can be achieved using a styling library like Nativewind. 6 export function useColorScheme() { 7 return 'light'; 8 }