Publishing Failed

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
sugarloafdesign
Posts: 9
Joined: 02 Jul 2021, 11:22

06 Sep 2022, 10:39

Found an issue, not sure it is the design file and more a Figma thing, as I found people having a similar problem. Probably worth knowing and if anyone else has found something similar and a better work around.

I updated the colours on a button and published the updates for the library. it kept taking forever and eventually failed.
I found the main culprit was the Button, I had to publish this individually and then publish the others.

sugarloafdesign
Posts: 9
Joined: 02 Jul 2021, 11:22

06 Sep 2022, 10:46

As a side note, when updating colours, if I wanted to update the primary colour (3B82F6) to something else, it looks like I have to figure out on the colours page which ones are this colour for each component and change them eg. button bg, checkbox bg. Is this the case or is there a simpler way of doing this?

User avatar
w00f
Posts: 307
Joined: 27 Apr 2016, 13:27
Contact:

09 Sep 2022, 11:15

sugarloafdesign wrote:
06 Sep 2022, 10:39
Found an issue, not sure it is the design file and more a Figma thing, as I found people having a similar problem. Probably worth knowing and if anyone else has found something similar and a better work around.

I updated the colours on a button and published the updates for the library. it kept taking forever and eventually failed.
I found the main culprit was the Button, I had to publish this individually and then publish the others.
Hi,

It's probably caused because the button component has more than 1000 variants for now. Our priority for the next release is to use Component Property (Boolean) to reduce the number of variants.
sugarloafdesign wrote:
06 Sep 2022, 10:46
As a side note, when updating colours, if I wanted to update the primary colour (3B82F6) to something else, it looks like I have to figure out on the colours page which ones are this colour for each component and change them eg. button bg, checkbox bg. Is this the case or is there a simpler way of doing this?
Yes, but it's a little bit painful process. :) Let me share the trick:
1. Copy the "Theme" auto layout from the "🌈 Colors" page.
2. Navigate to the "📝 Form" page and paste "Theme" auto layout like this: https://www.dropbox.com/s/95l66cwyxpv0k ... eone-1.png
3. Run "Style Organizer" plugin (https://www.figma.com/community/plugin/ ... 9580757929) and press Scan this page button
4. Scroll down and find Lara/Theme/primaryColor and press Merge icon (https://www.dropbox.com/s/zd66pv7c4ii3s ... eone-2.png)
5. Find Lara/Theme/primaryDarkColor and press Merge
6. Find Lara/Theme/primaryDarkerColor and press Merge
7. Find Lara/Theme/primaryLightColor and press Merge
8. Copy "Theme" auto layout to next page: "🆗 Button", run "Style Organizer", find Lara/Theme/primaryColor, hit merge, find Lara/Theme/primaryDarkColor, hit merge, find Lara/Theme/primaryDarkerColor, hit merge, find Lara/Theme/primaryLightColor, hit merge...
9. Trust and repeat the process for all pages. 🙂
10. At the end, when you change the Color Styles from the right menu: https://www.dropbox.com/s/2va2uyj9ptj5j ... eone-3.png all component styles will change.

sugarloafdesign
Posts: 9
Joined: 02 Jul 2021, 11:22

12 Sep 2022, 13:48

w00f wrote:
09 Sep 2022, 11:15
sugarloafdesign wrote:
06 Sep 2022, 10:39
Found an issue, not sure it is the design file and more a Figma thing, as I found people having a similar problem. Probably worth knowing and if anyone else has found something similar and a better work around.

I updated the colours on a button and published the updates for the library. it kept taking forever and eventually failed.
I found the main culprit was the Button, I had to publish this individually and then publish the others.
Hi,

It's probably caused because the button component has more than 1000 variants for now. Our priority for the next release is to use Component Property (Boolean) to reduce the number of variants.
sugarloafdesign wrote:
06 Sep 2022, 10:46
As a side note, when updating colours, if I wanted to update the primary colour (3B82F6) to something else, it looks like I have to figure out on the colours page which ones are this colour for each component and change them eg. button bg, checkbox bg. Is this the case or is there a simpler way of doing this?
Yes, but it's a little bit painful process. :) Let me share the trick:
1. Copy the "Theme" auto layout from the "🌈 Colors" page.
2. Navigate to the "📝 Form" page and paste "Theme" auto layout like this: https://capture.dropbox.com/0GaDDxV2nc7JH8hU
3. Run "Style Organizer" plugin (https://www.figma.com/community/plugin/ ... 9580757929) and press Scan this page button
4. Scroll down and find Lara/Theme/primaryColor and press Merge icon (https://capture.dropbox.com/igXpR9NfmYNqB3GE)
5. Find Lara/Theme/primaryDarkColor and press Merge
6. Find Lara/Theme/primaryDarkerColor and press Merge
7. Find Lara/Theme/primaryLightColor and press Merge
8. Copy "Theme" auto layout to next page: "🆗 Button", run "Style Organizer", find Lara/Theme/primaryColor, hit merge, find Lara/Theme/primaryDarkColor, hit merge, find Lara/Theme/primaryDarkerColor, hit merge, find Lara/Theme/primaryLightColor, hit merge...
9. Trust and repeat the process for all pages. 🙂
10. At the end, when you change the Color Styles from the right menu: https://capture.dropbox.com/qZO8RzP6gzUSQC9B all component styles will change.

Perfect, thanks W00f

Post Reply

Return to “Figma”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 2 guests