Making WordPress.org


Ignore:
Timestamp:
06/20/2024 01:29:10 AM (2 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@cb9f74d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json

    r13833 r13839  
    3232                                "green-70": "#005C12"
    3333                        },
     34                        "form": {
     35                                "border": {
     36                                        "color": "var(--wp--preset--color--charcoal-5)",
     37                                        "width": "1px",
     38                                        "radius": "2px"
     39                                }
     40                        },
    3441                        "heading": {
    3542                                "typography": {
    … …  
    3946                                "level-1": {
    4047                                        "typography": {
    41                                                 "lineHeight": 1.2
     48                                                "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
     49                                                "fontSize": "36px",
     50                                                "lineHeight": 1.3,
     51                                                "fontWeight": 400
    4252                                        },
    4353                                        "breakpoint": {
    … …  
    168178                        "core/post-title": {
    169179                                "typography": {
    170                                         "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
    171                                         "fontSize": "36px",
    172                                         "lineHeight": "1.3"
     180                                        "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
     181                                        "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
     182                                        "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
     183                                        "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
    173184                                }
    174185                        },
    175186                        "core/query-title": {
    176187                                "typography": {
    177                                         "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
    178                                         "fontSize": "36px",
    179                                         "lineHeight": "1.3",
    180                                         "fontWeight": "400"
     188                                        "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
     189                                        "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
     190                                        "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
     191                                        "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
    181192                                }
    182193                        }
    183194                },
    184195                "elements": {
     196                        "h1": {
     197                                "typography": {
     198                                        "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
     199                                        "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
     200                                        "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
     201                                        "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
     202                                }
     203                        },
    185204                        "h2": {
    186205                                "typography": {
Note: See TracChangeset for help on using the changeset viewer.