Oxygen Builder CCP Import Issue
-
I found that importing a previous colour palette works in CCP, but in Oxygen all the CCP colours are wiped from selectors and have to be reassigned manually. Example:
In Oxygen assign CCP colours to element selectors
Backup CCP
Change hex colour assignments via CCP – this works ok
Import backup
In Oxygen, CCP colours are no longer assigned to selectors.
-
Hi,
could you post the contents of your export, the one you’ve mentioned, and two additional ones, one after you’ve changed your colours and before you import the first one, and a third one after you’ve imported the first one? I need to compare them.Internally CCP assigns unique indices to each colour. If you import a palette it tries to reuse your current indices by comparing all current colours with those of the import. If they are “close enough” it keeps the current index but overwrites its colour with the imported one. That way it tries to minimise chaos.
Now, as you’ve mentioned, if you change your colours and they differ to much, their indices are not reused and you loose any association that might depend on them, although you’ve imported the same colour.
If what I’ve tried to explain is the case, then this is not a bug but intended behaviour.
Does this make sense to you?
First export – CCP colours assigned to Oxygen selectors
——————
eyJrdF9jb2xvcl9ncmlkX3ZlcnNpb24iOiIxLjE1LjMiLCJrdF9jb2xvcl9ncmlkX3Zpc3VhbCI6IiIsImt0X2NvbG9yX2dyaWRfY3VzdG9taXplciI6IiIsImt0X2NvbG9yX2dyaWRfY3NzX3ZhcnMiOiIiLCJrdF9jb2xvcl9ncmlkX2Nzc19hZG1pbl92YXJzIjoiIiwia3RfY29sb3JfZ3JpZF9hY2YiOmZhbHNlLCJrdF9jb2xvcl9ncmlkX2FzdHJhX3RoZW1lIjoiIiwia3RfY29sb3JfZ3JpZF9hc3RyYV90aGVtZV9hbHBoYSI6ZmFsc2UsImt0X2NvbG9yX2dyaWRfc3VraV90aGVtZSI6ZmFsc2UsImt0X2NvbG9yX2dyaWRfZWxlbWVudG9yIjpmYWxzZSwia3RfY29sb3JfZ3JpZF9veHlnZW5fdnNiIjoiMSIsImt0X2NvbG9yX2dyaWRfZm9udHByZXNzIjpmYWxzZSwia3RfY29sb3JfZ3JpZF9tZWdhbWF4IjpmYWxzZSwia3RfY29sb3JfZ3JpZF9vY2VhbndwIjpmYWxzZSwia3RfY29sb3JfZ3JpZF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iLCJzdGF0dXMiOjEsInR5cGUiOjF9LHsiY29sb3IiOiIjRkZGRkZGIiwiaGV4IjoiI0ZGRkZGRiIsIm5hbWUiOiJDb250YWN0IEhlYWRpbmcgI0ZGRkZGRiIsInZhcmlhYmxlIjoiY29udGFjdC1oZWFkaW5nIiwiYWxwaGEiOjEwMCwiaW5kZXgiOiI3MSIsInN0YXR1cyI6MSwidHlwZSI6MX0seyJjb2xvciI6IiMxMzRFNzIiLCJoZXgiOiIjMTM0RTcyIiwibmFtZSI6IkJ1dHRvbiAjMTM0RTcyIiwidmFyaWFibGUiOiJjb250YWN0LWJ1dHRvbiIsImFscGhhIjoxMDAsImluZGV4IjoiOTkiLCJzdGF0dXMiOjEsInR5cGUiOjF9LHsiY29sb3IiOiIjRkZGRkZGIiwiaGV4IjoiI0ZGRkZGRiIsIm5hbWUiOiJCdXR0b24gVGV4dCAjRkZGRkZGIiwidmFyaWFibGUiOiJjb250YWN0LWJ1dHRvbi10ZXh0IiwiYWxwaGEiOjEwMCwiaW5kZXgiOiI3MyIsInN0YXR1cyI6MSwidHlwZSI6MX1dfQ==d5527190Second export – CCP colours changed. Just css color values changed.
——————-
eyJrdF9jb2xvcl9ncmlkX3ZlcnNpb24iOiIxLjE1LjMiLCJrdF9jb2xvcl9ncmlkX3Zpc3VhbCI6IiIsImt0X2NvbG9yX2dyaWRfY3VzdG9taXplciI6IiIsImt0X2NvbG9yX2dyaWRfY3NzX3ZhcnMiOiIiLCJrdF9jb2xvcl9ncmlkX2Nzc19hZG1pbl92YXJzIjoiIiwia3RfY29sb3JfZ3JpZF9hY2YiOmZhbHNlLCJrdF9jb2xvcl9ncmlkX2FzdHJhX3RoZW1lIjoiIiwia3RfY29sb3JfZ3JpZF9hc3RyYV90aGVtZV9hbHBoYSI6ZmFsc2UsImt0X2NvbG9yX2dyaWRfc3VraV90aGVtZSI6ZmFsc2UsImt0X2NvbG9yX2dyaWRfZWxlbWVudG9yIjpmYWxzZSwia3RfY29sb3JfZ3Jp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ImNvbG9yIjoiI0Y2QTlFOSIsImhleCI6IiNGNkE5RTkiLCJuYW1lIjoiQ29udGFjdCBCYWNrZ3JvdW5kICM2RUFFNkIiLCJ2YXJpYWJsZSI6ImNvbnRhY3QtYmFja2dyb3VuZCIsImFscGhhIjoxMDAsImluZGV4IjoiOTIiLCJzdGF0dXMiOjEsInR5cGUiOjF9LHsiY29sb3IiOiIjNkI4MEZGIiwiaGV4IjoiIzZCODBGRiIsIm5hbWUiOiJDb250YWN0IEhlYWRpbmcgI0ZGRkZGRiIsInZhcmlhYmxlIjoiY29udGFjdC1oZWFkaW5nIiwiYWxwaGEiOjEwMCwiaW5kZXgiOiI3MSIsInN0YXR1cyI6MSwidHlwZSI6MX0seyJjb2xvciI6IiNBMkNCRTQiLCJoZXgiOiIjQTJDQkU0IiwibmFtZSI6IkJ1dHRvbiAjMTM0RTcyIiwidmFyaWFibGUiOiJjb250YWN0LWJ1dHRvbiIsImFscGhhIjoxMDAsImluZGV4IjoiOTkiLCJzdGF0dXMiOjEsInR5cGUiOjF9LHsiY29sb3IiOiIjQ0IyMDIwIiwiaGV4IjoiI0NCMjAyMCIsIm5hbWUiOiJCdXR0b24gVGV4dCAjRkZGRkZGIiwidmFyaWFibGUiOiJjb250YWN0LWJ1dHRvbi10ZXh0IiwiYWxwaGEiOjEwMCwiaW5kZXgiOiI3MyIsInN0YXR1cyI6MSwidHlwZSI6MX1dfQ==f0315787Third export – after first export imported again. CCP colours successfully imported but no longer assigned to Oxygen elements.
———————
eyJrdF9jb2xvcl9ncmlkX3ZlcnNpb24iOiIxLjE1LjMiLCJrdF9jb2xvcl9ncmlkX3Zpc3VhbCI6IiIsImt0X2NvbG9yX2dyaWRfY3VzdG9taXplciI6IiIsImt0X2NvbG9yX2dyaWRfY3NzX3ZhcnMiOiIiLCJrdF9jb2xvcl9ncmlkX2Nzc19hZG1pbl92YXJzIjoiIiwia3RfY29sb3JfZ3JpZF9hY2YiOmZhbHNlLCJrdF9jb2xvcl9ncmlk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iNGRkZGRkYiLCJoZXgiOiIjRkZGRkZGIiwibmFtZSI6IlJldmlld3MgSGVhZGluZyAjRkZGRkZGIiwidmFyaWFibGUiOiJyZXZpZXdzLWhlYWRpbmciLCJhbHBoYSI6MTAwLCJpbmRleCI6IjEwMyIsInN0YXR1cyI6MSwidHlwZSI6MX0seyJjb2xvciI6IiM2RUFFNkIiLCJoZXgiOiIjNkVBRTZCIiwibmFtZSI6IkNvbnRhY3QgQmFja2dyb3VuZCAjNkVBRTZCIiwidmFyaWFibGUiOiJjb250YWN0LWJhY2tncm91bmQiLCJhbHBoYSI6MTAwLCJpbmRleCI6IjEwNCIsInN0YXR1cyI6MSwidHlwZSI6MX0seyJjb2xvciI6IiNGRkZGRkYiLCJoZXgiOiIjRkZGRkZGIiwibmFtZSI6IkNvbnRhY3QgSGVhZGluZyAjRkZGRkZGIiwidmFyaWFibGUiOiJjb250YWN0LWhlYWRpbmciLCJhbHBoYSI6MTAwLCJpbmRleCI6IjEwNSIsInN0YXR1cyI6MSwidHlwZSI6MX0seyJjb2xvciI6IiMxMzRFNzIiLCJoZXgiOiIjMTM0RTcyIiwibmFtZSI6IkJ1dHRvbiAjMTM0RTcyIiwidmFyaWFibGUiOiJjb250YWN0LWJ1dHRvbiIsImFscGhhIjoxMDAsImluZGV4IjoiMTA2Iiwic3RhdHVzIjoxLCJ0eXBlIjoxfSx7ImNvbG9yIjoiI0ZGRkZGRiIsImhleCI6IiNGRkZGRkYiLCJuYW1lIjoiQnV0dG9uIFRleHQgI0ZGRkZGRiIsInZhcmlhYmxlIjoiY29udGFjdC1idXR0b24tdGV4dCIsImFscGhhIjoxMDAsImluZGV4IjoiMTA3Iiwic3RhdHVzIjoxLCJ0eXBlIjoxfV195e2e2ac9
- The topic ‘Oxygen Builder CCP Import Issue’ is closed to new replies.