Implementing Color Palettes in LSX Design #187
ashleyshaw
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction:
With the release of the WordPress Twenty Twenty-Five theme, a new approach to using the WordPress Block Theme API system was introduced. Specifically, the use of color palettes allows for easier customization without affecting more comprehensive style settings, offering users a lightweight way to change the look and feel of their site.
Problem/Opportunity:
Currently, LSX Design has its own color palettes, but they are limited in scope and do not fully leverage WordPress's newer global style functionality. By expanding the color palette options, LSX Design can offer users more flexibility in customization while maintaining style consistency. This will also bring LSX Design up to speed with WordPress 6.7 features.
Current State in LSX Design:
At present, LSX Design includes custom color palettes, but these are not integrated with the full range of WordPress global styles. Below is an example of the current color palette setup:
While functional, the current setup could benefit from additional color options to enhance user experience and accommodate varying user preferences, accessibility needs, and brand identities.
Issues:
Proposed Solution:
/lsx-design/styles/colors/
folder containing multiple color palette JSON files for users to easily switch between different preset color palettes. This aligns with WordPress’s system and provides a flexible customization experience.Challenges:
Call for Feedback:
I’d like to gather thoughts on expanding LSX Design’s color palettes. What are your experiences with using custom color palettes in WordPress themes? Should we consider any additional features or constraints when implementing this feature?
Next Steps:
If the community agrees, I will start by creating a prototype folder structure for the color palettes and implementing a few preset examples. Feedback on those will help guide the full integration process.
Beta Was this translation helpful? Give feedback.
All reactions