Skip to content

fix: derive primaryContainer from theme color#378

Merged
barrydeen merged 1 commit intomainfrom
fix/article-badge-theme-color
Mar 31, 2026
Merged

fix: derive primaryContainer from theme color#378
barrydeen merged 1 commit intomainfrom
fix/article-badge-theme-color

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Article badge (and other primaryContainer usages) showed default Material 3 purple instead of the user's theme color
  • Now derives primaryContainer/onPrimaryContainer from the theme's primary color for all color scheme variants (dark/light, custom/preset)

Test plan

  • Switch between different theme presets and verify article badges match the theme color
  • Use a custom accent color and verify article badges reflect it
  • Check both dark and light modes

…efault

The article badge and other primaryContainer uses were showing default
Material 3 purple instead of the user's chosen theme color.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barrydeen barrydeen merged commit ff00d07 into main Mar 31, 2026
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