[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/styles/typography/ -> typography-preset-3.json (source)

   1  {
   2      "version": 3,
   3      "$schema": "https://schemas.wp.org/wp/6.7/theme.json",
   4      "title": "Platypi & Ysabeau Office",
   5      "slug": "typography-preset-3",
   6      "settings": {
   7          "typography": {
   8              "fontFamilies": [
   9                  {
  10                      "name": "Platypi",
  11                      "slug": "platypi",
  12                      "fontFamily": "Platypi",
  13                      "fontFace": [
  14                          {
  15                              "fontFamily": "Platypi",
  16                              "fontStyle": "normal",
  17                              "fontWeight": "300 800",
  18                              "src": [
  19                                  "file:./assets/fonts/platypi/Platypi-VariableFont_wght.woff2"
  20                              ]
  21                          },
  22                          {
  23                              "fontFamily": "Platypi",
  24                              "fontStyle": "italic",
  25                              "fontWeight": "300 800",
  26                              "src": [
  27                                  "file:./assets/fonts/platypi/Platypi-Italic-VariableFont_wght.woff2"
  28                              ]
  29                          }
  30                      ]
  31                  },
  32                  {
  33                      "name": "Ysabeau Office",
  34                      "slug": "ysabeau-office",
  35                      "fontFamily": "\"Ysabeau Office\", sans-serif",
  36                      "fontFace": [
  37                          {
  38                              "src": [
  39                                  "file:./assets/fonts/ysabeau-office/YsabeauOffice-VariableFont_wght.woff2"
  40                              ],
  41                              "fontWeight": "100 900",
  42                              "fontStyle": "normal",
  43                              "fontFamily": "\"Ysabeau Office\""
  44                          },
  45                          {
  46                              "src": [
  47                                  "file:./assets/fonts/ysabeau-office/YsabeauOffice-Italic-VariableFont_wght.woff2"
  48                              ],
  49                              "fontWeight": "100 900",
  50                              "fontStyle": "italic",
  51                              "fontFamily": "\"Ysabeau Office\""
  52                          }
  53                      ]
  54                  }
  55              ],
  56              "fontSizes": [
  57                  {
  58                      "fluid": false,
  59                      "name": "Small",
  60                      "size": "0.875rem",
  61                      "slug": "small"
  62                  },
  63                  {
  64                      "fluid": {
  65                          "max": "1.125rem",
  66                          "min": "1rem"
  67                      },
  68                      "name": "Medium",
  69                      "size": "1rem",
  70                      "slug": "medium"
  71                  },
  72                  {
  73                      "fluid": {
  74                          "max": "1.375rem",
  75                          "min": "1.125rem"
  76                      },
  77                      "name": "Large",
  78                      "size": "1.38rem",
  79                      "slug": "large"
  80                  },
  81                  {
  82                      "fluid": {
  83                          "max": "1.8rem",
  84                          "min": "1.4rem"
  85                      },
  86                      "name": "Extra Large",
  87                      "size": "1.4rem",
  88                      "slug": "x-large"
  89                  },
  90                  {
  91                      "fluid": {
  92                          "max": "2.6rem",
  93                          "min": "2rem"
  94                      },
  95                      "name": "Extra Extra Large",
  96                      "size": "2rem",
  97                      "slug": "xx-large"
  98                  }
  99              ]
 100          }
 101      },
 102      "styles": {
 103          "typography": {
 104              "fontFamily": "var:preset|font-family|ysabeau-office",
 105              "letterSpacing": "-0.22px",
 106              "lineHeight": "1.5"
 107          },
 108          "blocks":{
 109              "core/code": {
 110                  "typography": {
 111                      "letterSpacing": "0px"
 112                  }
 113              },
 114              "core/heading": {
 115                  "typography": {
 116                      "lineHeight": "1.2"
 117                  }
 118              },
 119              "core/list": {
 120                  "typography": {
 121                      "lineHeight": "1.3"
 122                  }
 123              },
 124              "core/loginout": {
 125                  "typography": {
 126                      "fontSize": "var:preset|font-size|medium"
 127                  }
 128              },
 129              "core/post-terms": {
 130                  "typography": {
 131                      "fontWeight": "400"
 132                  }
 133              },
 134              "core/pullquote": {
 135                  "typography": {
 136                      "fontFamily": "var:preset|font-family|platypi",
 137                      "letterSpacing": "-0.01em",
 138                      "lineHeight": "1.1"
 139                  }
 140              },
 141              "core/quote": {
 142                  "typography": {
 143                      "fontWeight": "300"
 144                  }
 145              },
 146              "core/site-title": {
 147                  "typography": {
 148                      "fontFamily": "var:preset|font-family|ysabeau-office",
 149                      "fontSize": "var:preset|font-size|large",
 150                      "letterSpacing": "1.44px",
 151                      "textTransform": "uppercase"
 152                  }
 153              }
 154          },
 155          "elements": {
 156              "button": {
 157                  "typography": {
 158                      "fontFamily": "var:preset|font-family|ysabeau-office",
 159                      "fontWeight": "600",
 160                      "letterSpacing": "1.44px",
 161                      "textTransform": "uppercase"
 162                  }
 163              },
 164              "heading": {
 165                  "typography": {
 166                      "fontFamily": "var:preset|font-family|platypi"
 167                  }
 168              },
 169              "h5": {
 170                  "typography": {
 171                      "fontSize": "var:preset|font-size|medium",
 172                      "letterSpacing": "normal"
 173                  }
 174              },
 175              "h6": {
 176                  "typography": {
 177                      "fontSize": "var:preset|font-size|small",
 178                      "fontWeight": "400",
 179                      "fontStyle": "initial",
 180                      "letterSpacing": "initial",
 181                      "textTransform": "initial"
 182                  }
 183              }
 184          }
 185      }
 186  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref