Skip to content

Fix certain elements not using the 'Browser' font - #737

Open
acidrums4 wants to merge 2 commits into
Xyphyn:mainfrom
acidrums4:main
Open

Fix certain elements not using the 'Browser' font#737
acidrums4 wants to merge 2 commits into
Xyphyn:mainfrom
acidrums4:main

Conversation

@acidrums4

Copy link
Copy Markdown

Setting 'Browser' in the typeface ("font") settings will not make every element to use the font dictated by the web browser as 'sans-serif' - some elements, mainly headers (post headers, page headers) will still use the Inter font.

This pull request changes the hard-coded Inter font at the global CSS vars related to font typefaces to sans-serif so browsers will pick it first, and then apply another font if the user has set it that way.

- Switching global CSS vars related to font handling to sans-serif from Inter,
  as this was causing for some elements to not honor the 'Browser' font setting
  - they would use the Inter font anyway
Details:
- The 'Credits' link in the Language item at Settings (Settings/App) will not
  have the `text-base` Tailwind CSS class so it won't appear with a bigger font
  than the preceding text.
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