-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Setup new primer-primitive
bundle
#2078
Conversation
🦋 Changeset detectedLatest commit: a31aa92 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a "private" bundle not currently included in the
core
index created for testing purposes.
👍 As long as we don't output any variables, can't think of a concern. 🚢
// temporary import until primitives moves to core bundle | ||
// importing the index from /css didn't play nice with Storybook | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/base/size/size.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/base/typography/typography.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/border.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/breakpoints.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-coarse.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-fine.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/size.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/size/viewport.css' | ||
import '../../node_modules/@primer/primitives/tokens-v2-private/css/tokens/functional/typography/typography.css' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point might nice to offer an .../tokens-v2-private/css/tokens/index.css
to not have to update each file individually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100% agree 😂 I certainly will add that!
This is a "private" bundle not currently included in the
core
index created for testing purposes. Tokens are available in Storybook and the docs site, and will be behind a feature flag in github/github.Can these changes ship as is?