mirror of
https://github.com/andwati/blog-nest.git
synced 2026-11-28 23:08:49 +00:00
feat: initialize pnpm workspace, TypeScript configuration, and Turbo tasks
- Added pnpm-workspace.yaml to manage workspace packages and dependencies. - Created tsconfig.json with strict TypeScript settings for better type safety. - Introduced turbo.json to define build, lint, test, and other tasks with dependencies.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Learn more about light and dark modes:
|
||||
* https://docs.expo.dev/guides/color-schemes/
|
||||
*/
|
||||
|
||||
import { Colors } from '@/constants/theme'
|
||||
import { useColorScheme } from '@/hooks/use-color-scheme'
|
||||
|
||||
export function useTheme() {
|
||||
const scheme = useColorScheme()
|
||||
const theme = scheme === 'unspecified' ? 'light' : scheme
|
||||
|
||||
return Colors[theme]
|
||||
}
|
||||
Reference in New Issue
Block a user