Crocoblock / suggestions

The suggestions for CrocoBlock project
191 stars 78 forks source link

CSS style based on value of a custom field #7523

Open Hussein-Sayed opened 1 month ago

Hussein-Sayed commented 1 month ago

I would like to request a feature that allows CSS styles value to be dynamically applied based on the value of a custom field. This feature will enable us to enhance the user interface by conditionally styling elements directly using the values stored in custom fields, thereby improving both the aesthetics and usability of our application.

Use Case:

In our application, we have custom fields that store various types of data (e.g., colors, sizes). We want to directly use these field values to style elements. For example:

Use the value of a custom field to set the background color of an element.

Floydtm commented 1 month ago

Describe your request in more detail, if possible, add screenshots or video. Thank you!