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

fix: Revert post font change in blog view #237

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Feb 21, 2025

Description

As described in a comment in the linked issue, with the "Use blog colors when viewing blogs" setting enabled, Tumblr applies the True Blue palette to posts in the blog view, including the default font. This unsets those variables if and only if we are setting a font override on the root element, making the font override apply as intended.

Resolves #236.

Testing steps

  • Set a distinctive custom font (e.g. fantasy).
  • Enable the "Use blog colors when viewing blogs" setting.
  • Open a blog by clicking a post or search dropdown result and confirm that the font applies.
  • Hard navigate to tumblr.com/blogname and confirm that the font applies.

There should be no changes to the page if "Use blog colors when viewing blogs" is off, if a font is not selected in the extension preferences, or if both are true.

@marcustyphoon marcustyphoon changed the title fix: Revert post font in blog view fix: Revert post font change in blog view Feb 21, 2025
@AprilSylph AprilSylph merged commit 9999fc7 into AprilSylph:master Feb 22, 2025
1 check passed
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.

Chosen font not working on blog view
2 participants