Skip to content

chore: sparkle-design-cli 2.4.1 で sparkle-design.css を再生成#289

Merged
touyou merged 2 commits into
mainfrom
worktree-regen-cli-2.4.1
Jul 10, 2026
Merged

chore: sparkle-design-cli 2.4.1 で sparkle-design.css を再生成#289
touyou merged 2 commits into
mainfrom
worktree-regen-cli-2.4.1

Conversation

@touyou

@touyou touyou commented Jul 10, 2026

Copy link
Copy Markdown
Member

Summary

影響

  • 生成物のみの差分(@theme inline ブロックの内部参照方法のみ)。現状の運用(属性スコープでの上書きを使わない default 表示)には一切影響しません
  • Storybook で Button(全 variant)/ Switch / Tabs (line variant) の表示をピクセル差分ゼロで確認済み(bbox=None, max_channel_diff=0

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

@theme inline のセマンティック宣言をプリミティブ直接参照から自己参照に変更する
不具合修正(goodpatch/sparkle-design-internal#229 フォローアップ、
sparkle-design-cli v2.4.1)を取り込む。生成物のみの変更で、デフォルト表示
(属性スコープでの上書きを使わない現状の運用)には影響しない
(Storybook で Button/Switch/Tabs をピクセル差分ゼロで確認済み)。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 06:23
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 59 seconds

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3acae9bd-d270-45eb-9e92-e055b03a33a9

📥 Commits

Reviewing files that changed from the base of the PR and between 0b7d233 and 048866d.

📒 Files selected for processing (1)
  • src/app/sparkle-design.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch worktree-regen-cli-2.4.1

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sparkle-design Ready Ready Preview, Comment Jul 10, 2026 6:49am

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

sparkle-design-cli v2.4.1 の修正(@theme inline のセマンティック宣言がプリミティブ直参照になってしまう問題)に追従して、sparkle-design.css の Tailwind v4 用トークン定義を再生成し、ランタイム上書き可能なセマンティック変数参照を維持するための更新です。

Changes:

  • @theme inline 内のセマンティックトークンを、プリミティブ直参照から「同名のセマンティック変数の自己参照」に変更
  • 変更理由と Tailwind v4 のインライン化挙動に関する説明コメントを追加

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 985930e352

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

--color-primary-200: var(--color-primary-200);
--color-primary-300: var(--color-primary-300);
--color-primary-400: var(--color-primary-400);
--color-primary-500: var(--color-primary-500);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid publishing self-referential registry theme vars

When make registry runs, scripts/build-sparkle-design-theme.mjs reads the @theme inline block and merges those declarations over the first :root block before writing sparkle-design-theme.json; with this self-reference pattern, the generated registry theme contains entries like color-primary-500: var(--color-primary-500). Registry consumers receive only those cssVars, so the variable is defined in terms of itself and semantic colors/radii/shadows become unresolved even though importing the full CSS in this app still works.

Useful? React with 👍 / 👎.

@theme inline 自己参照コメントを簡潔にし、社内 issue 番号への言及を削除した
sparkle-design-cli v2.4.2 を反映。生成される CSS は公開 npm パッケージにも
同梱され消費側の CSS にそのまま出力されるため、社内 issue 番号を含めるべき
ではなかった。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 06:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@touyou touyou merged commit 2ec414c into main Jul 10, 2026
5 checks passed
@touyou touyou deleted the worktree-regen-cli-2.4.1 branch July 10, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants