You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use color picker to dynamically set Vuetify's theme colors. Our initial theme colors set via Vuetify plugin config are written in HSL string format. Some of our components expect theme colors to be specified in HSL string format, they don't work correctly with HEX format.
I suppose we'll need to change this behavior either way, unless VColorPicker is modified to support output in HSL string format, which I understand might be out of scope or even unnecessary. I guess I just find it strange that Vuetify theme colors can be written in HSL string format, but VColorPicker does not support it correctly.
The text was updated successfully, but these errors were encountered:
krausvo1
changed the title
[Bug Report][3.7.9] VColorPicker - color format incorrectly inferred to hex from string version of HSL
[Bug Report][3.7.9] VColorPicker - color format incorrectly inferred to HEX from string version of HSL
Jan 30, 2025
Environment
Vuetify Version: 3.7.9
Vue Version: 3.5.13
Browsers: Firefox 133.0
OS: Linux
Steps to reproduce
Expected Behavior
Model is updated with color in HSL (object format, I suppose string is not supported as output)
Actual Behavior
Model is updated with color in HEX format
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
We use color picker to dynamically set Vuetify's theme colors. Our initial theme colors set via Vuetify plugin config are written in HSL string format. Some of our components expect theme colors to be specified in HSL string format, they don't work correctly with HEX format.
I suppose we'll need to change this behavior either way, unless VColorPicker is modified to support output in HSL string format, which I understand might be out of scope or even unnecessary. I guess I just find it strange that Vuetify theme colors can be written in HSL string format, but VColorPicker does not support it correctly.
The text was updated successfully, but these errors were encountered: