Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate methods for theme style and meta color tags #29802

Merged
merged 1 commit into from Apr 5, 2024

Conversation

mjankowski
Copy link
Contributor

Collection of changes:

  • Instead of one method which outputs both the theme stylesheet and the meta color tag, use one method for each purpose.
  • Add spec coverage for both helper methods, capturing what they are doing
  • Update view layout to call both methods
  • Move the theme-related helper methods out of application helper and into new theme helper module

This started as feedback on #29795 but that merged before I submitted my comment.

Collection of changes:

- Instead of one method which outputs both the theme stylesheet and the
  meta color tag, use one method for each purpose.
- Add spec coverage for both helper methods, capturing what they are
  doing
- Update view layout to call both methods
- Move the theme-related helper methods out of application helper and
  into new theme helper module
@ClearlyClaire ClearlyClaire added this pull request to the merge queue Apr 5, 2024
Merged via the queue into mastodon:main with commit b61ae28 Apr 5, 2024
33 checks passed
@mjankowski mjankowski deleted the theme-helper-specs branch April 5, 2024 12:39
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.

None yet

2 participants