Skip to content

Commit f29a4e0

Browse files
committed
fix: NativeWind to Nativewind
1 parent 66dd15e commit f29a4e0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

apps/cli/src/project-manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const DEPRECATED_FROM_LIB = [
113113
includes: [
114114
{
115115
content: ["useColorScheme"],
116-
message: "lib/useColorScheme is deprecated. Use NativeWind's color scheme hook instead.",
116+
message: "lib/useColorScheme is deprecated. Use Nativewind's color scheme hook instead.",
117117
docs: "https://www.nativewind.dev/docs/api/use-color-scheme"
118118
}
119119
]

apps/cli/src/services/required-files-checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class RequiredFilesChecker extends Effect.Service<RequiredFilesChecker>()("Requi
184184
missingIncludes.push({ ...include, fileName: customFileChecks.css.name })
185185
}
186186

187-
// Check NativeWind env file
187+
// Check Nativewind env file
188188
if (componentJson.tsx !== false) {
189189
const nativewindEnvContent = yield* fs
190190
.readFileString(path.join(options.cwd, PROJECT_MANIFEST.nativewindEnvFile))

apps/docs/content/docs/customization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Defines your theme using CSS variables under `:root` and `.dark:root` (for dark
2222
You can choose a custom theme from [shadcn/ui themes](https://ui.shadcn.com/themes), but make sure to:
2323

2424
- Use the Tailwind v3 version (CSS variables)
25-
- Replace `.dark` with `.dark:root` for compatibility with NativeWind
25+
- Replace `.dark` with `.dark:root` for compatibility with Nativewind
2626

2727
See the [full list of CSS variables](https://ui.shadcn.com/docs/theming#list-of-variables) in the shadcn/ui documentation.
2828

apps/docs/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Built with familiar tools and libraries, it follows consistent styling, structur
2020

2121
## Key differences from shadcn/ui
2222

23-
- <a href='https://www.nativewind.dev' target='_blank' rel='noreferrer' className='font-medium underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>Nativewind</a>: React Native Reusables integrates with NativeWind for utility-first styling on native, providing a Tailwind-like experience adapted for React Native.
23+
- <a href='https://www.nativewind.dev' target='_blank' rel='noreferrer' className='font-medium underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>Nativewind</a>: React Native Reusables integrates with Nativewind for utility-first styling on native, providing a Tailwind-like experience adapted for React Native.
2424
- <a href='https://rnprimitives.com' target='_blank' rel='noreferrer' className='font-medium underline underline-offset-4 decoration-fd-muted-foreground/0 hover:decoration-fd-muted-foreground'>RN Primitives</a>: A universal port of Radix UI primitives for React Native with an almost identical API, enabling consistent composition on native platforms.
2525
- <span className='font-medium'>Portals</span>: React Native doesn't support DOM portals. Components like modals, dropdowns, and toasts require a `PortalHost`.
2626
- <span className='font-medium'>No cascading styles</span>: Child elements like `Text` can't inherit styles from a parent class. Each element must be styled directly. (We use a small [workaround](/docs/components/text#inheritance-system) for `Text`.)

apps/docs/content/docs/installation/manual.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Run `init` to start a new Expo project, or follow the manual steps to set up an
2020

2121
<Steps>
2222
<Step>
23-
### Set up NativeWind
23+
### Set up Nativewind
2424
Follow the official installation guide to add [Nativewind](https://www.nativewind.dev/docs/getting-started/installation) to your project.
2525
</Step>
2626
<Step>

0 commit comments

Comments
 (0)