sparkle-design 1.0.1 → 1.0.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.en.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -73,7 +73,7 @@ Customize primary color, fonts, border radius, and more via `sparkle.config.json
|
|
|
73
73
|
> @import "./sparkle-design.css";
|
|
74
74
|
> ```
|
|
75
75
|
>
|
|
76
|
-
> From `sparkle-design-cli` v2.0.6 onward, `generate` / `setup` **auto-scans your `package.json`** (dependencies / devDependencies) and automatically inserts the matching `@source`
|
|
76
|
+
> From `sparkle-design-cli` v2.0.6 onward, `generate` / `setup` **auto-scans your `package.json`** (dependencies / devDependencies) and automatically inserts the matching `@source` directive when it detects `sparkle-design`. No manual config is required. If you want to include additional design system packages, add them to `extend.source-packages` in `sparkle.config.json`; the detected packages and your explicit list will be merged.
|
|
77
77
|
|
|
78
78
|
#### Installing as an AI Agent Skill (optional)
|
|
79
79
|
|
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ export default function RootLayout({ children }) {
|
|
|
73
73
|
> @import "./sparkle-design.css";
|
|
74
74
|
> ```
|
|
75
75
|
>
|
|
76
|
-
> `sparkle-design-cli` v2.0.6 以降は、`generate` / `setup` 実行時に **`package.json` の dependencies / devDependencies を自動スキャン** し、`sparkle-design`
|
|
76
|
+
> `sparkle-design-cli` v2.0.6 以降は、`generate` / `setup` 実行時に **`package.json` の dependencies / devDependencies を自動スキャン** し、`sparkle-design` が含まれていれば該当する `@source` を自動挿入します。`sparkle.config.json` 側で何も設定しなくても動きます。独自のデザインシステムパッケージを併用したい場合のみ `extend.source-packages` に追記すると、自動検出分と合算されます。
|
|
77
77
|
|
|
78
78
|
#### AI エージェントに Skill として導入する場合(任意)
|
|
79
79
|
|