Merged
Conversation
デザイントークンのアーキテクチャを改善: - variable/ → tokens/(プリミティブ値)+ theme/(セマンティック値)に分離 - Tokens層: oklch色、フォントスタック、数値スケール等の生値 - Theme層: --color-main等のセマンティック変数でTokensを参照 - @layer宣言を8層構成に更新(tokens, theme, foundation, ...) - ダークモード対応の基盤(Theme層のみ差し替えで実現可能) Closes #3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shunei-web
added a commit
that referenced
this pull request
Apr 11, 2026
… none 冗長削除
mflocss/spec PR#63 で確定した以下の変更に波及対応:
1. §5.5 SHOULD NOT から overflow 関連を削除(書籍委譲)
2. §5.5 SHOULD NOT を「外部レイアウト影響プロパティの排除」と
「存在/不在制御の排除」の 2 つに分離
修正:
- c-accordion.css: 削除されたルール参照(overflow: hidden SHOULD NOT)
を削除し、意図(border-radius クリッピング)のみ残す
- c-overlay.css: position: fixed 逸脱コメントを新ルール名
「SHOULD NOT [外部レイアウト影響プロパティの排除]」に更新
- c-overlay.css: &[hidden] { display: none; } を削除
(Reset 層で処理済み + SHOULD NOT [存在/不在制御の排除] に抵触)
同質問題: mflocss/wordpress-starter #4, #5
spec: mflocss/spec#63
Co-Authored-By: Claude Opus 4.6 (1M context) <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.
Summary
variable/ディレクトリをtokens/(プリミティブ値)とtheme/(セマンティック値)に分離@layer宣言を8層構成(tokens, theme, foundation, layout, component, project, animation, utility)に更新Changes
--color-main等のセマンティック変数でTokensを参照Test plan
pnpm build成功pnpm lint:cssエラーなしCloses #3
🤖 Generated with Claude Code