Skip to content

feat!: correcting the typography of this brand theme.#40

Merged
arbrandes merged 2 commits intomasterfrom
e0d/change-typography
Apr 2, 2026
Merged

feat!: correcting the typography of this brand theme.#40
arbrandes merged 2 commits intomasterfrom
e0d/change-typography

Conversation

@e0d
Copy link
Copy Markdown
Contributor

@e0d e0d commented Mar 27, 2026

This theme has been using the wrong fonts since it was created. It should be using the same fonts as the elm theme.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ddd85634c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread paragon/_fonts.scss Outdated
@@ -1 +1 @@
// Add any font imports or definitions here
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto+Mono&display=swap');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Import Inter 900 weight for display headings

paragon/_variables.scss sets $display1-weight through $display4-weight to 900, but paragon/_fonts.scss only loads Inter weights 400;500;700. In browsers, display text requesting font-weight: 900 will fall back to a synthesized or lower weight, so the new typography won’t render as intended for .display-* styles. Add 900 to the Google Fonts import (or lower display weights) to keep the configured typography consistent.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@e0d e0d requested a review from arbrandes April 1, 2026 15:20
Copy link
Copy Markdown
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objections.

I'm going to squash the commits, though, and add the following to the bottom, otherwise we won't get a new major version from semantic-release:

BREAKING CHANGE: replaces default Paragon typography with 
Inter/Roboto Mono font families and a revised heading scale 
matching the [elm theme](https://github.com/edx/elm-theme).

@arbrandes arbrandes merged commit 699d3d9 into master Apr 2, 2026
2 checks passed
@arbrandes arbrandes deleted the e0d/change-typography branch April 2, 2026 11:05
@openedx-semantic-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@arbrandes
Copy link
Copy Markdown
Contributor

@e0d, whoops:

#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants