sparkle-design-cli 2.4.1 → 2.4.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": "sparkle-design-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Sparkle Design CLI — プロジェクトセットアップ、CSS・フォント生成、アンチパターン検査、AI エージェント(Claude Code / Cursor / Codex)向けのガードと hook 設定まで一括で行う sparkle-design 公式 CLI。",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
@@ -210,18 +210,12 @@
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/* セマンティクスのトークン定義(Tailwind ユーティリティ生成用) */
|
|
213
|
-
/* NOTE
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
utility
|
|
219
|
-
同名のセマンティック変数(--color-primary-500)は一切参照されなくなる。
|
|
220
|
-
この状態では、`:root` / `[data-attr]` セレクタでセマンティック変数だけを
|
|
221
|
-
ランタイム上書きしても utility class の見た目は変わらない
|
|
222
|
-
(generate --scope が解決しようとしていた issue #229 の問題そのもの)。
|
|
223
|
-
自己参照にしておけば、compiled utility は常にセマンティック変数名を参照し続け、
|
|
224
|
-
別セレクタでその変数を上書きするだけでランタイムに追従する。 */
|
|
213
|
+
/* NOTE: 各宣言は上の「セマンティックトークン」:root ブロックにある同名変数を
|
|
214
|
+
自己参照している(例: --color-primary-500: var(--color-primary-500))。
|
|
215
|
+
プリミティブへの直接参照にしない意図的な設計。Tailwind v4 は @theme inline
|
|
216
|
+
の宣言右辺を compiled utility class にそのまま埋め込むため、直接参照だと
|
|
217
|
+
セマンティック変数が一切参照されなくなり、別セレクタでのランタイム上書きが
|
|
218
|
+
compiled utility に効かなくなる。 */
|
|
225
219
|
@theme inline {
|
|
226
220
|
/* セマンティクスカラー定義 */
|
|
227
221
|
--color-neutral-50: var(--color-neutral-50);
|