Design Token Community Group
These utilities have to do with the Design Token Community Group Draft spec.
typeDtcgDelegate
This function processes your “Design Token Community Group Draft spec”-compliant dictionary of tokens, and ensures that $type
inheritance is applied.
We built this utility because it’s cheaper to apply the inheritance once, rather than on every access of a token’s “$type” property, checking the ancestor tree to find it.
Input:
Output: