Skip to content
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

chore: updating style-dictionary and tokens studio version #52

Merged
merged 6 commits into from
Jul 25, 2024

Conversation

jaalah-akamai
Copy link
Collaborator

@jaalah-akamai jaalah-akamai commented Jul 25, 2024

Description 📝

Updating to latest versions of core packages and fixed issue with metadata for tokens not being processed.

Major Changes 🔄

List highlighting major changes

  • Upgrade tokens studio to v1.2.0
  • Upgrade style-dictionary to v4.0.1
  • Fixed breaking changes due to upgrade:
    • registerTransforms => register
    • formatter => format
    • Shorthands for typography and shadow come from SD now
    • Added preprocessor to handle metdata:
"$extensions": {
  "studio.tokens": {
    "modify": {
      "type": "alpha",
      "value": "0.2",
      "space": "lch"
    }
  }
}

Preview 📷

Before After
Screenshot 2024-07-25 at 10 03 34 AM Screenshot 2024-07-25 at 10 03 05 AM
Screenshot 2024-07-25 at 10 03 49 AM Screenshot 2024-07-25 at 11 10 14 AM

Copy link
Collaborator

@davyd-akamai davyd-akamai left a comment

Choose a reason for hiding this comment

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

Looks awesome!

@jaalah-akamai jaalah-akamai merged commit ec64afe into linode:staging Jul 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants