refactor: 非ボタンの生カラーを semantic token に統一する - #54
Conversation
一覧の空状態と login サブ文言に残っていた生カラーを semantic token へ。 ダークモード対応の前提を揃える。 - text-gray-500 → text-muted-foreground(一覧の空状態・login サブ文言) - 空状態の border-gray-300 を削除(bare border が globals の border-border で semantic --border を継承。一覧アイテムの既存 border と一貫)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated the bottles empty state and login prompt styling to use semantic design-system color tokens instead of gray-specific Tailwind classes. ChangesSemantic color token updates
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
関連 issue
resolve #51
やったこと
概要
#48で扱わなかった非ボタンの生カラーを semantic token に統一した。対象は一覧の空状態と login のサブ文言の 2 箇所のみ(他に非ボタンの生カラーは無し)。ダークモード対応の前提を揃える純粋なスタイル整理。変更点
<p>(src/app/bottles/page.tsx):text-gray-500→text-muted-foreground、border-gray-300を削除(bareborderが semantic--borderを継承)。<p>(src/app/login/page.tsx):text-gray-500→text-muted-foreground。受け入れ条件(セルフチェック)
動作確認
pnpm format:checkpnpm lintpnpm test(26 本・不変)pnpm build(型チェック含む)備考
border-gray-300削除の根拠:globals.cssの@apply border-borderにより bareborderは semantic--border(ダーク対応)を継承。同ファイルの一覧アイテムが既に bareborderを使用しており一貫。Summary by CodeRabbit