yaxa-svelte 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -126,14 +126,13 @@ Import `yaxa-svelte/yaxa.css` and wrap your app in `<YaxaApp>`:
126
126
  ```
127
127
 
128
128
  **Option B: Optimized Tailwind CSS v4 Pipeline** (Maximum build performance & deduplication)
129
- If your project already imports Tailwind in `src/app.css`, import the standalone theme tokens and tell Tailwind to scan Yaxa:
129
+ If your project already imports Tailwind in `src/app.css`, simply import the standalone theme tokens (Tailwind v4 automatically scans Yaxa's components via `@source` embedded in `theme.css`):
130
130
 
131
131
  ```css
132
132
  /* src/app.css */
133
133
  @import 'tailwindcss';
134
134
  @plugin '@tailwindcss/typography';
135
135
  @import 'yaxa-svelte/theme.css';
136
- @source '../node_modules/yaxa-svelte/dist/**/*.{js,svelte}';
137
136
  ```
138
137
 
139
138
  Then in `src/routes/+layout.svelte`, simply import `../app.css` instead of `yaxa.css`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaxa-svelte",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "The Intuitive Svelte UI Library — Nuxt UI v4 equivalent for SvelteKit 2 & 3 & Svelte 5 with automated SEO, dynamic OpenGraph cards, sitemaps, robots.txt, and Tailwind CSS v4.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://yaxa.vercel.app",