Skip to content

Use accent colors for tag badges - #34

Merged
tylercschneider merged 2 commits into
mainfrom
fix/tag-badges-use-accent-colors
Mar 9, 2026
Merged

tylercschneider merged 2 commits into
mainfrom
fix/tag-badges-use-accent-colors

Conversation

@tylercschneider

Copy link
Copy Markdown
Collaborator

Summary

  • Adds herald_accent_badge_classes helper wrapping AccentColors badge keys
  • Replaces hardcoded blue classes in posts/show.html.erb tag badges
  • Requires keystone_ui >= 0.5.0 (PR #63) for badge palette keys

Test plan

  • 198 tests pass, 0 failures
  • Tag badges no longer contain hardcoded bg-blue-50 classes
  • Helper returns correct accent badge classes when configured with :emerald

🤖 Generated with Claude Code

tylercschneider and others added 2 commits March 9, 2026 17:06
Provides accent-aware badge styling via AccentColors badge keys,
so tag badges follow the host app's custom accent palette.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces hardcoded blue classes with herald_accent_badge_classes
so tag badges follow the host app's custom accent palette.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tylercschneider
tylercschneider merged commit cf3699e into main Mar 9, 2026
1 check passed
@tylercschneider
tylercschneider deleted the fix/tag-badges-use-accent-colors branch March 9, 2026 21:09
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.

1 participant