Closed TravisSpomer closed 3 years ago
After looking into this further, I don't really see any interesting opportunities for alignment. DSP is just another JSON-based output format for tokens. If it happens to catch on as a popular format, it wouldn't be too difficult to build a DSP from the token pipeline, but as it stands, I don't see any value in doing that right now. I'm also not sure how we'd represent more complex things like gradients in their schema, since structured data (JSON objects) appears to be unsupported. (A string containing JSON would work. Or just a CSS linear-gradient
string, but then anything that isn't CSS that wanted to consume it would then have to parse a CSS function..)
Adobe Design System Packages (DSP) might be an interesting long-term tie-in for this project. Our token hierarchy is massively larger and more component-focused than other projects that use Style Dictionary though, such as the Adobe Spectrum DSP which has fewer than 250 tokens, and with our more cross-platform plans, it might not make a lot of sense.