Skip to content

Conversation

Adzouz
Copy link
Contributor

@Adzouz Adzouz commented Aug 28, 2025

What does it do?

It fixes the declaration of DefaultTheme when importing it from styled components (only when linking the design-system package locally with Strapi monorepo).

Why is it needed?

It fixes the local link of the design system package and helps debugging the design system locally directly on Strapi CMS.

How to test it?

  • In the terminal, go to the design-system package folder (./packages/design-system)
  • Run yarn build
  • Go to the Strapi monorepo folder
  • Run yarn link {FULLPATH_TO_DS_FOLDER}/packages/design-system
  • Run yarn setup
    -> The command should run without any errors

Related issue(s)/PR(s)

Mirror PR on Strapi CMS: strapi/strapi#24247 (this PR needs this one to be merged first).

🚀

Copy link

changeset-bot bot commented Aug 28, 2025

🦋 Changeset detected

Latest commit: f6e7a41

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

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

@Adzouz Adzouz self-assigned this Aug 28, 2025
Copy link

vercel bot commented Aug 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
design-system Ready Ready Preview Comment Aug 28, 2025 3:24pm

Copy link
Contributor

@remidej remidej left a comment

Choose a reason for hiding this comment

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

i confirm this is the only combination we found that worked 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: design-system relates to design-system package
Projects
Status: To triage
Development

Successfully merging this pull request may close these issues.

2 participants