To move our low-code app from one system to another, we need to copy over the relevant themes.
We are extracting the theme from the Themes.json file, I noticed that the target system has a theme with the same id, but a different name. Should we update the ID to a new unique value, or can we keep the ID as long as the name is unique?
It's better you indeed make this unique, or you could encounter weird situations when deleting or updating a theme through the UI, where that ID is used. I see a dashboard uses the name as reference. So changing the ID won't break anything. But we will change that in the (near) future, as a theme rename will now cause all dashboards that use that theme to fallback to the default theme...
Small note: negative numbers are preserved for system themes.
Indeed, we will make it easier to put themes in catalog packages, so that you don’t need to take care of merging the theme in the json file.