Skip to main content

👩‍💻 📅 W3C DTCG Spec boxShadow values JSON schema

As we move towards a JSON scheme that is more aligned with the W3C specifications from the Design Tokens Community Group (DTCG), the values of the boxShadow token type will change:

Values for the X and Y properties will be written as

  • offsetx

  • offsety


How it works under the hood

As per Github

  • When users switch to the DTCG format, we convert their boxShadow properties to offsetX and offsetY, and when they work in the legacy format, we detect x and y.

    • 2052 - Change boxShadow from x,y to offsetx and offsety

Status: 💡 Requests

Log in to comment and vote

No comments yet

Be the first to share your thoughts.