Scrounger / ioBroker.vis-materialdesign

ioBroker Material Design Widgets are based on Google's material design guidelines. The adapter uses different libraries.
https://forum.iobroker.net/topic/42185/test-adapter-material-design-widgets-v0-5-x
MIT License
59 stars 38 forks source link

[Select] No theme is not applied to Select 'color of inner prefixed symbol' #137

Closed cdellasanta closed 3 years ago

cdellasanta commented 3 years ago

Describe the bug
Applying theme configuration to existing tplVis-materialdesign-Select widget ("use theme" button) the color of inner pixelfield symbol remains #ffffff .. while text color changes to {mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.input.text;dark:vis-materialdesign.0.colors.dark.input.text; mode === "true" ? dark : light}

(in addition, but out of scope here, the default light color for input.textshould not be white?)

Expected behavior
Variable value should be set depending on mode:vis-materialdesign.0.colors.darkTheme

Current workaround, set to {mode:vis-materialdesign.0.colors.darkTheme; mode === "true" ? "#303030" : "#ffffff" }

Versions:

Scrounger commented 3 years ago

What do you mean with inner pixelfield symbol? Please provide a screenshot of the field.

cdellasanta commented 3 years ago

There was a Typo ;-) .. field ist color of inner prefixed symbol

Here the screenshot: image

Scrounger commented 3 years ago

I have deliberately not predefined themes for the icons (prefix, inner prefix, append, outer append). Because my experience shows that I design them differently for each widget, especially the color.

For the select there are only themes for the close and collapse icon. My understanding is that this is not a issue?

cdellasanta commented 3 years ago

No, it is not a real issue ..

It's only one of the few things I had to adapt manually after applying the theme for all Select I have in views ..

If it's the desired behaviour, is ok for me.