telerik / themebuilder

This public repository aims at providing a convenient way for developers using ThemeBuilder to report and log any issues they may encounter while using the tool. If you think that you've found a bug, you're more than welcome to create a new issue
2 stars 1 forks source link

Chip's component part for the content is called "Label" instead of "Content" #113

Open petar-i-todorov opened 1 week ago

petar-i-todorov commented 1 week ago

Describe the bug Chip's component part for the content is called "Label" instead of "Content".

To Reproduce Steps to reproduce the behavior:

  1. Open a new project.
  2. Set a color for the HTML element span.
  3. Set another color to the component part "Label" of the Chip component.

Actual Results The color set to the HTML element span is taking precedence.

Expected behavior The color set to the "Label" is taking precedence.

Additional context The cause of the issue is that the component part "Label" is responsible for styling the content, not the label. Therefore, since the label is the deepest nested span and the styles set to the HTML element apply to it, it's what the text is colored with. image

Tasks

Reported through t.1662534.

petar-i-todorov commented 1 week ago

+1 from t.1663226.