-
Notifications
You must be signed in to change notification settings - Fork 48
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
Adding all color modes to figma export #805
Conversation
🦋 Changeset detectedLatest commit: 882384a 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 |
Variables changedNo variables changed |
scripts/buildPlatforms/buildFigma.ts
Outdated
@@ -30,7 +38,7 @@ export const buildFigma = (buildOptions: ConfigGeneratorOptions): void => { | |||
} | |||
// | |||
for (const {filename, source, include} of themes) { | |||
if (['light', 'dark'].includes(filename)) { | |||
if (!['light-high-contrast', 'dark-high-contrast', 'dark-dimmed'].includes(filename)) { |
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.
What about color blind themes?
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 just disabling them to test if they are problematic, they are. It is just a temp step.
So it works great for all modes that have no specific base scale, so everything but So I need to find a fix for those three. |
Design Token DiffNo design tokens changed |
79e6f0b
to
1458cde
Compare
This PR adds transformations to be able to import all colors modes into Figma.