Make WordPress Core

Opened 2 years ago

Last modified 8 days ago

#59515 new feature request

Multiple color palettes and font pairs

Reported by: arkenon's profile arkenon Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.3.2
Component: Themes Keywords: close
Focuses: ui, javascript, css, template, coding-standards Cc:

Description

I have some suggestions for block themes.

We can create a single color palette for a theme. When you want to change the color palette, a custom palette can be created.

So why don't themes have multiple predefined color palettes? Maybe you could say that style variations support this feature. Yes, partially. But style variations have many theme features; colors, fonts, spacing, etc. Users may only want to change the color palette. The theme's colors change with a single click. Users can add custom colors if they wish.

Themes can also have predefined font pairs. (Combination of two fonts)

Theme developers need to define keywords for color palettes and font pair to achieve both of these options. For example, the keywords "primary", "secondary", "tertiary", "foreground", "background" are reserved for color palettes. Or for font pairs "primary font", "secondary font"...

This way users replace colors or font pairs with predefined ones.

Change History (2)

#2 @poena
8 days ago

  • Keywords close added

@arkenon Hi
I consider this solved, since theme developers can add .json style variation with only a color palette.
They don't have to create variations that changes both typography and colors.

Note: See TracTickets for help on using tickets.