AI should not generate props using Tailwind classes

Created on 19 September 2025, 18 days ago

Overview

AI generated props that are intended for passing in Tailwind classes including default values that used Tailwind classes. Problem with this is that now the classes are defined runtime which doesnโ€™t work with Tailwind because it needs to know the class during compile time.

Prompt used:
Can you please create a CTA component that allows me to use images with a bit of text and to include a CTA to link to other pages?

Proposed resolution

We should instruct the AI to always provide pre-defined color options instead of allowing them to be defined freeform.

User interface changes

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

AI

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland lauriii Finland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Pipeline finished with Success
    13 days ago
    Total: 10355s
    #607543
  • Pipeline finished with Canceled
    12 days ago
    Total: 128s
    #608411
  • Pipeline finished with Success
    12 days ago
    Total: 7347s
    #608412
  • Pipeline finished with Success
    11 days ago
    Total: 2564s
    #609502
  • Pipeline finished with Failed
    11 days ago
    Total: 3691s
    #609627
  • Pipeline finished with Failed
    8 days ago
    Total: 3978s
    #611998
Production build 0.71.5 2024