WebDevStudios / wd_s

A starter theme from WebDevStudios.
https://wdunderscores.com
GNU General Public License v2.0
665 stars 138 forks source link

Add color processing system to theme json #1078

Closed schlotterer closed 6 months ago

schlotterer commented 11 months ago

This PR applies some build lessons to the theme.json. Primarily this update adds a custom section to the json that will allow us to create an css vars we want (colors and more) without having to add a million colors to the pallet in the admin. This update separate the need for css color vars to work with in the theme and the need for a color pallet in the admin that is curated for the end user. This update also takes advantage of the color-mix css property to dynamically build color variations and allow for faster scaffolding. This update also cleaned up some color vars that were being used in the markup but were never set.

What type of PR is this? (put an x to all applicable)

Mobile & Desktop Screenshots/Recordings

Screenshot 2023-09-29 at 6 46 06 AM Screenshot 2023-09-29 at 6 46 27 AM

Added tests?

Added to documentation?