lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: 'Select' Element does not apply custom theme color to label

Open placidic opened this issue 1 year ago • 3 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Currently, theme colors defined within a custom theme do not get applied to the Select Component Element. Theme preview showing no update to the Select label

Screenshot 2024-04-17 083944 Screenshot 2024-04-17 084016

Expected Behavior

It is expected that the label element of the Select component, matches the predefined text color defined in the custom theme.

Steps to reproduce

  1. Create a Theme with custom text color.
  2. Preview Theme and observe preview

Environment

app.lowcoder.cloud - Verwion 2.3.1

Additional Information

No response

placidic avatar Apr 17 '24 15:04 placidic

We've also tried a few things like using the CSS scripts to modify the text label, which oddly worked while in edit mode, but when you would preview or view the app, the updated colors would disappear and revert back to the incorrect color.

There is also no current way to differentiate between colors within the label vs the control (like the text inside the dropdown) - might be a feature to look to add a specific label color property to controls for more flexibility.

placidic avatar Apr 17 '24 16:04 placidic

In the upcoming version 2.4 we address exactly all these issues. You would then have full control of the styles for the component rectangle, the Label, and the Input Fields by itself.

FalkWolsky avatar Apr 19 '24 09:04 FalkWolsky

Unfortunately, It appears that the 2.4 Update has created new issues with the theming of the default components. Please see the screenshot below for the v2.4 output of the same settings: image

placidic avatar May 13 '24 23:05 placidic

Yes. We addressed it already. It should be fixed in a good way in v2.4.1. We made a style "reset" in 2.4.0 - which means to clean up the standard values after all changes. Also in the past days, we made sure, that the values of themes are used proper. Please give us some bit more time and with the release it should be ok then.

FalkWolsky avatar May 24 '24 17:05 FalkWolsky