Make WordPress Core


Ignore:
Timestamp:
04/26/2022 03:25:01 PM (3 years ago)
Author:
jffng
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentytwo/readme.txt

    r52781 r53286  
    22Contributors: wordpressdotorg
    33Requires at least: 5.9
    4 Tested up to: 5.9
     4Tested up to: 6.0
    55Requires PHP: 5.6
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1717
    1818== Changelog ==
     19
     20= 1.2 =
     21* Released: May 24, 2022
     22
     23https://wordpress.org/support/article/twenty-twenty-two-changelog#Version_1.2
    1924
    2025= 1.1 =
     
    4449
    4550This theme bundles the following third-party resources:
     51
     52DM Sans Font
     53Copyright 2014-2017 Indian Type Foundry (info@indiantypefoundry.com)
     54Copyright 2019 Google LLC
     55Copyright 2014-2018 Adobe (http://www.adobe.com/)
     56License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
     57Source: https://github.com/googlefonts/dm-fonts
     58
     59IBM Plex Font
     60Copyright 2017 IBM Corp.
     61License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
     62Source: https://github.com/IBM/plex
     63
     64Inter Font
     65Copyright (c) 2016-2020 The Inter Project Authors.
     66License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
     67Source: https://github.com/rsms/inter
    4668
    4769Source Serif Font
Note: See TracChangeset for help on using the changeset viewer.