Style Dictionary adds DTCG-compliant inset shadow support¶
Insight: Style Dictionary's CSS shadow shorthand transform now supports the DTCG specification's boolean inset: true property alongside the legacy type: "inset" string format. This alignment with the W3C DTCG standard ensures design token tooling correctly generates CSS inset keyword for box-shadow values when using the standard token format.
Detail: The fix modifies lib/common/transforms.js to extract the inset property alongside existing shadow properties, checking inset || type === 'inset' ? 'inset ' : ''. Invalid type values (like "innerShadow") are now ignored rather than being inserted into box-shadow values, preventing malformed CSS. New test validates inset: true produces 'inset 4px 4px 12px 6px #00000080'. This is part of the ongoing DTCG ecosystem maturation tracked in design-tokens.md.