I’m making a plugin to generate theme.json Theme Variations, containing color palettes.
Many themes contain multiple Color Variations.
Instead of using theme colors in the site design (ignoring Core Framework), or manually setting each theme color in the Colors section, making automatic assignment of theme colors to Core Framework variables would be very helpful.
I would like either an importer “Import Color Palette from theme.json”, or PHP code to set the Core Framework’s Colors section.
I like the primary, secondary, tertiary. Or add an accent color, or use the color slugs of the TwentyTwentyFive theme. Or an advanced feature would be a way to map theme colors (whatever slug they use) to a Core Framework standard color variable.