Archived
1
0

fix(frontend): Работа с цветовыми схемами

This commit is contained in:
2025-11-27 11:11:27 +03:00
parent 1a1751f7fe
commit 0be849fdf0
2 changed files with 8 additions and 1 deletions

View File

@ -1 +0,0 @@
export { useColorScheme } from 'react-native';

View File

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