-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizer: Custom Colors don't consider chosen palette #3893
Comments
Hey @lmisch, Thank you for your feedback. The Custom Color feature is supposed to work independent of the Color Palettes and not per-palette. Would you let us know why do you think it will be helpful to have different custom colors per palettes, as I imagine a single website will mostly use of one palette, just so we can learn about your particular use case and see if this will be useful in future changes to the feature? |
Sure. I am making use of base and dark mode. So any additional color imho basically should have an equivalent in each palette. Your idea/intended purpose could still be achieved upon initial definition by just cloning the color set in base palette to all additional palettes? Also, section title "global colors" for the presets might be misleading with the use of palettes, as they are not global anymore, but being set for each palette individually. Instead, custom colors section currently has the purpose of serving actual global colors, according to your argumentation. This is just my 2 cents related to UX. Cheers! :) edit As extra color 1 and 2 are already used for other purposes, having custom colors that consider the palettes seems to be the perfect solution for dealing with some delicate aspects of a proper dark mode design. |
Thank you for the feedback, @lmisch . TDLR: we went for a more simpler approach, to avoid any potential struggles for users in managing those colors + what happens as a fallback. In the current approach, it's easier to just pick a color that works in both Light & Dark; rather than having to manage it separately for each palette. When initially working on this feature, we had in mind the idea of having each Custom Color live inside a Palette. But the more pressing challenge would be the Global Custom Colors sync part. Meaning that if we add them for each palette, those won't be Global anymore. For example let's say in the First palette I define a Custom Color used for WooCommerce shop pages. Now, what should happen on the Second palette? or on the third, forth and so on. Hope this makes sense. |
Totally fine, thank you. I created the desired behaviour for variable custom colors via data-neve-theme selector in css. |
Description
When adding a custom color, the defined value will be set for / used by all palettes.
Expected behaviour is to be able to set the value for each palette individually.
Step-by-step reproduction instructions
Assuming having palettes Base and Dark Mode
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered: