Skip to content

[Feat]: Add text colour to Tags in table column #1578

Open
@newmeta-ben

Description

@newmeta-ben

Is your feature request related to a problem? Please describe.
When using colours in a tag, the text colour is constant, which makes it difficult to have readability on certain tag backgrounds.

Per discussion on discord here: https://discord.com/channels/1096896040159957084/1099613532305248370/1350959084605669406

Describe the solution you'd like
Consider using a solution similar to antd pre-defined "styles".
Or consider enabling the colour of the tag text on a per-option basis.
https://ant.design/components/tag

Image

Describe alternatives you've considered

  • Background color + foreground colour would be fine.
  • CSS passthrough per option
  • Selection of styles from theme

Additional context
Add any other context or screenshots about the feature request here.

Image Image

Activity

FalkWolsky

FalkWolsky commented on Jun 4, 2025

@FalkWolsky
Contributor

A very good improvement!
We also should add rounded corners and border settings?

newmeta-ben

newmeta-ben commented on Jun 4, 2025

@newmeta-ben
Author

The border settings / roundness is not a thing that I use specifically, but I suppose while you are in there working on it, it might make sense to expose those properties also.

added a commit that references this issue on Jun 6, 2025

Merge pull request #1749 from iamfaran/feat/1578-tags

2dedc8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @FalkWolsky@newmeta-ben@iamfaran

      Issue actions

        [Feat]: Add text colour to Tags in table column · Issue #1578 · lowcoder-org/lowcoder