I am trying to import files generated with https://sugarcube.sh/. I’m assuming both tools support the DTCG standard, so i thought it will be smooth. But observed behavior:
$type is parsed as a token, sugarcube has a group level $type that is inherited (not sure if that’s part of the standard)
I get group name conflicts when the names are unique, and it’s the only active set. Would be helpful if it tells me which set has the conflicting name.
I can work around the first issue, but I don’t know how to fix the second. Any ideas?
I ran into the same exact issue when trying to import the palette.json file from sugarcube. After uploading it, I deleted the $type token that appears first in the list in PenPot and the rest of the errors were resolved automagically.
@xanderjakeq from the screenshot it looks like the conflicting name is test.border?
Is it possible that you might not have another token called test.border but have a token called something like test.border.solid/test.border.[someOtherName]?
These would be treated as a conflict as a group name cannot be the same as a token name. Natacha explains why here: