responsive-system 1.2.0 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "responsive-system",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Sistema de layout responsivo con auto-scaling para Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/responsive-system.cjs",
@@ -312,9 +312,8 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
312
312
  // Crear src/index.css
313
313
  const indexCssPath = path.join(projectRoot, 'src', 'index.css')
314
314
  if (!fs.existsSync(indexCssPath)) {
315
- const indexCss = `@tailwind base;
316
- @tailwind components;
317
- @tailwind utilities;
315
+ // Tailwind CSS v4 usa @import en lugar de @tailwind
316
+ const indexCss = `@import "tailwindcss";
318
317
  `
319
318
  fs.writeFileSync(indexCssPath, indexCss)
320
319
  console.log(' ✅ Creado: src/index.css')