Put SD specific metadata in $extensions #1175
Labels
4.0
Planned for v4 major version
Core Architecture
This is an issue related to the core architecture of Style Dictionary
I think we also need to have a discussion on how metadata properties should be handled in general.
According to the DTCG spec, you'd put it either in property names starting with
$
prefix, or you'd put it into the $extensions under the unique namespace of your tool (e.g. style-dictionary). If I'm not mistaken, $metada props are something that belong to the token authors territory, and $extensions is where tools can put their stuff, so I'm leaning towards refactoring everything to scope and read metadata from that$extensions['com.styledictionary']
namespaceOriginally posted by @jorenbroekema in #1007 (comment)
The text was updated successfully, but these errors were encountered: