@codapet/design-system 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ export default config
|
|
|
67
67
|
3) Install the design system:
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
|
-
npm install codapet
|
|
70
|
+
npm install @codapet/design-system
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
4) Configure global CSS for Tailwind v4 scanning and import the design system styles.
|
|
@@ -333,7 +333,7 @@ module.exports = {
|
|
|
333
333
|
- Components render unstyled:
|
|
334
334
|
- Ensure your `globals.css` contains `@source` that points to the design system in `node_modules` (Tailwind must see class usage to emit utilities).
|
|
335
335
|
- Restart the dev server after changing `@source` or Tailwind config.
|
|
336
|
-
- Verify `@import "codapet
|
|
336
|
+
- Verify `@import "@codapet/design-system/styles";` comes after `@import "tailwindcss";`.
|
|
337
337
|
- If you use Tailwind v3, configure `content` globs as shown above.
|
|
338
338
|
- PostCSS cannot resolve an import:
|
|
339
339
|
- Ensure `@tailwindcss/postcss` is installed and present in `postcss.config.*`.
|