Skip to main content

I've been struggling for over an hour, reading documentation etc. but I just can't seem to figure this out. My use cases is that I've got 4 different “Text Annotation” colours, I want to add shape icons to it to make clear what sort of “annotation” it is (blue = info, purple = question, etc.).


The colour used is #cfe4ff with 0% transparency (ergo 100% in the slider):

 

This is what I have now as a formula. I tried both with the prefix = and without it. I've also tried case sensitivity.

=BACKGROUNDCOLOR(THIS)="#cfe4ffff"

 

Set up like this:


I must be doing something really stupid but I'm hoping someone can nudge me in the right direction 🙂 ChatGPT was not helpful and hallucinating all the time 🤣

Hi ​@petear

Thank you for your post!  Unfortunately, conditional formatting based on shape background colour isn’t currently supported in Lucid, but Lucid is very interested in your feedback and is committed to continually improving our products. Please first search the Product Feedback section of this community (with the filter Topic = Idea) to see if it’s already been submitted.  If so, please add your details and upvote the request. If none has submitted this idea yet, please create one of your own and be sure to include details about your use case and what you’d like to see in this experience

In the interim, you can achieve a similar effect using data linking and conditional formatting rules. Here's how you can work around it:

Step 1: Link Data to Shapes

  1. Select a shape (or many shapes).
  2. Go to Data Panel (right sidebar).
  3. Click “+ Add Data” and create a field like Status.
  4. Enter a value like "Info".

     

Step 2: Apply Conditional Formatting

  1. Go to View > Conditional Formatting.
  2. Click “+ Add Rule”.
  3. Choose the field you created (e.g., Status).
  4. Set the condition:
    • If Status equals Info, then:
      • Add your icon.

         

Step 3: Apply to all

  • Apply your conditional formatting rule to all relevant shapes
  • Ensure you also have the data field on each shape

     


Thanks for the feedback, that's a great help! At least it explains why it wasn't working 🤦‍♂️ Glad I wasn't the fool - at least not in this case. Thanks for the alternative suggestion, that's a good idea. If any encounter the same question in the future, this is how I did it:

  • I selected the Text Annotation I wanted to change
  • I went to Select » Shapes with same » Fill & border color
  • Then I applied the Custom Data “Type” = “Info” to it (and I will do the same to all other shapes). The only downside of this was that I had to do it on all pages separately (and I had already made quite a few).

Because I can not use the shape's background color, I created two separate formatting rules:

  1. For the background and border color; and
  2. For the icon

Thanks for the help! I'll think about whether this was a “good” idea by me or whether it was just a poorly executed idea (given that I could have use the Shape Data as well to set everything).


Hi ​@petear,

Thanks for your post! I just wanted to follow up and let you know that while this feature isn’t currently supported in Lucid, we truly value your feedback and are committed to continually enhancing our products. Please first search the Product Feedback section of this community (with the filter Topic Type = Idea) to see if it’s already been submitted. If so, please add any additional details you’d like and upvote the request - this consolidation helps to refine feedback and properly capture the popularity of the request.

If no one has submitted this idea yet, please create one of your own and be sure to include details about your use case or what you’d like to see in this experience. This will also allow other users with similar requests to discover and upvote it, then add details of their own.

Finally, for more information on how Lucid manages feedback via this community, take a look at this post:

What happens to my feedback? | Community