Pablo-WMDE added a comment.
Looked into https://www.npmjs.com/package/flat 's `unflatten()` but that struggles with concrete values and child nodes on the same level, e.g. `@background-color-base` vs `@background-color-base--hover`. Ironically this seems to coincide quite a bit with the double dash notation which is a challenge in itself. TASK DETAIL https://phabricator.wikimedia.org/T256021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pablo-WMDE Cc: Aklapper, Pablo-WMDE, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs