[wp-trac] [WordPress Trac] #55433: Twenty Twenty-Two: Implement alternate json files

WordPress Trac noreply at wordpress.org
Tue Apr 26 15:25:16 UTC 2022


#55433: Twenty Twenty-Two: Implement alternate json files
---------------------------------------------+---------------------
 Reporter:  kjellr                           |       Owner:  (none)
     Type:  task (blessed)                   |      Status:  new
 Priority:  normal                           |   Milestone:  6.0
Component:  Bundled Theme                    |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  needs-design-feedback has-patch  |     Focuses:
---------------------------------------------+---------------------

Comment (by jffng):

 In [changeset:"53286" 53286]:
 {{{
 #!CommitTicketReference repository="" revision="53286"
 Twenty Twenty-Two: Add three style variations.

 This commit adds three style variations to Twenty Twenty-Two, allowing
 users to quickly swap between different visual styles — "Blue", "Pink",
 and "Swiss" — for the default theme. The variations are previewed and
 selected from the Site Editor's global styles panel.

 For the implementation, each variation is defined by its own theme.json
 file within the "/styles" directory of the theme. All variations leverage
 the internal-only theme.json handler of the Webfonts API [53282] to load
 locally hosted fonts.

 Props kjellr, hellofromtonya.
 See #55433.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55433#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list