fix(starter): 公開 API 名 --l-section-padding-* → --section-padding-* に revert(spec L695 準拠)#181
Merged
Merged
Conversation
…revert(spec L695 準拠) PR #180 で `--l-section-padding-min/max` に変更した公開 API 名を `--section-padding-min/max` に戻す。 spec §6 L695 「公開 API は Block 名からプレフィックス除外」原則違反のため。 - l-section.css: コメント + var() 参照を修正 - p-cta.css / p-numbers.css / p-problem.css: override 変数名を修正 - Block 冒頭 --_padding-min/max の private alias 構造は維持 修正前 grep `l-section-padding`: 10件 / 修正後: 0件 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
PR #180 で変更した公開 API 名
--l-section-padding-min/maxを--section-padding-min/maxに戻す。spec §6 L695「公開 API は
--{対象}-{名前}、{対象}は Block 名からプレフィックス(l-/c-/p-)除外」原則に違反していたため。修正内容
l-section.cssvar()参照:--l-section-padding-*→--section-padding-*p-cta.css--l-section-padding-*→--section-padding-*p-numbers.cssp-problem.cssBlock 冒頭
--_padding-min/maxの private alias 構造(Z パターン)は維持。確認
grep -rn "l-section-padding" src/: 修正前 10件 → 修正後 0件 ✅spec 根拠
--{Block名からプレフィックス除外}-{名前}形式整合状況
wp-starter tc / agent-reference / mflocss.dev は元から
--section-padding-*を採用。starter のみが PR #180 で乖離していたため、本 PR で統一。🤖 Generated with Claude Code