Skip to content

Conversation

oliverschuerch
Copy link
Contributor

@oliverschuerch oliverschuerch commented Sep 8, 2025

📄 Description

Changed the fonts.scss import location from src/elements/body.scss to src/components/_index.scss.

This way, we can keep it in the bundled output files, but also allow projects who want to import only specific SASS/CSS files, to self-host their fonts and implement their own @font-face definitions.

Since the usage of the body.{scss|css} file is mandatory, this was not possible before.


📝 Checklist

  • ✅ My code follows the style guidelines of this project
  • 🛠️ I have performed a self-review of my own code
  • 📄 I have made corresponding changes to the documentation
  • ⚠️ My changes generate no new warnings or errors
  • 🧪 I have added tests that prove my fix is effective or that my feature works
  • ✔️ New and existing unit tests pass locally with my changes

@oliverschuerch oliverschuerch requested a review from a team as a code owner September 8, 2025 14:45
@oliverschuerch oliverschuerch linked an issue Sep 8, 2025 that may be closed by this pull request
2 tasks
Copy link

changeset-bot bot commented Sep 8, 2025

🦋 Changeset detected

Latest commit: ea88e0b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@swisspost/design-system-styles Major
@swisspost/design-system-components-angular-workspace Patch
@swisspost/design-system-components Major
@swisspost/design-system-documentation Patch
@swisspost/internet-header Major
@swisspost/design-system-nextjs-integration Patch
@swisspost/design-system-styles-primeng-workspace Patch
@swisspost/design-system-styles-primeng Major
@swisspost/design-system-components-react Major
@swisspost/design-system-components-angular Major
@swisspost/design-system-tokens Major
@swisspost/design-system-icons Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…ents/body.scss` to `src/components/_index.scss`.
Copy link

sonarqubecloud bot commented Sep 9, 2025

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Sep 9, 2025

Related Previews

@oliverschuerch oliverschuerch merged commit 9967209 into main Sep 12, 2025
15 of 16 checks passed
@oliverschuerch oliverschuerch deleted the fix/6187-fix-the-font-face-file-import branch September 12, 2025 07:46
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.

Fix the font-face file import

4 participants