[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "version": 3,
   3      "$schema": "https://schemas.wp.org/wp/6.7/theme.json",
   4      "title": "Beiruti & Literata",
   5      "slug": "typography-preset-1",
   6      "settings": {
   7          "typography": {
   8              "fontFamilies": [
   9                  {
  10                      "name": "Beiruti",
  11                      "slug": "beiruti",
  12                      "fontFamily": "Beiruti, sans-serif",
  13                      "fontFace": [
  14                          {
  15                              "fontFamily": "Beiruti",
  16                              "fontStyle": "normal",
  17                              "fontWeight": "200 900",
  18                              "src": [
  19                                  "file:./assets/fonts/beiruti/Beiruti-VariableFont_wght.woff2"
  20                              ]
  21                          }
  22                      ]
  23                  },
  24                  {
  25                      "name": "Literata",
  26                      "slug": "literata",
  27                      "fontFamily": "Literata, serif",
  28                      "fontFace": [
  29                          {
  30                              "src": [
  31                                  "file:./assets/fonts/literata/Literata72pt-ExtraLight.woff2"
  32                              ],
  33                              "fontWeight": "200",
  34                              "fontStyle": "normal",
  35                              "fontFamily": "Literata"
  36                          },
  37                          {
  38                              "src": [
  39                                  "file:./assets/fonts/literata/Literata72pt-ExtraLightItalic.woff2"
  40                              ],
  41                              "fontWeight": "200",
  42                              "fontStyle": "italic",
  43                              "fontFamily": "Literata"
  44                          },
  45                          {
  46                              "src": [
  47                                  "file:./assets/fonts/literata/Literata72pt-Light.woff2"
  48                              ],
  49                              "fontWeight": "300",
  50                              "fontStyle": "normal",
  51                              "fontFamily": "Literata"
  52                          },
  53                          {
  54                              "src": [
  55                                  "file:./assets/fonts/literata/Literata72pt-LightItalic.woff2"
  56                              ],
  57                              "fontWeight": "300",
  58                              "fontStyle": "italic",
  59                              "fontFamily": "Literata"
  60                          },
  61                          {
  62                              "src": [
  63                                  "file:./assets/fonts/literata/Literata72pt-Regular.woff2"
  64                              ],
  65                              "fontWeight": "400",
  66                              "fontStyle": "normal",
  67                              "fontFamily": "Literata"
  68                          },
  69                          {
  70                              "src": [
  71                                  "file:./assets/fonts/literata/Literata72pt-RegularItalic.woff2"
  72                              ],
  73                              "fontWeight": "400",
  74                              "fontStyle": "italic",
  75                              "fontFamily": "Literata"
  76                          },
  77                          {
  78                              "src": [
  79                                  "file:./assets/fonts/literata/Literata72pt-Medium.woff2"
  80                              ],
  81                              "fontWeight": "500",
  82                              "fontStyle": "normal",
  83                              "fontFamily": "Literata"
  84                          },
  85                          {
  86                              "src": [
  87                                  "file:./assets/fonts/literata/Literata72pt-MediumItalic.woff2"
  88                              ],
  89                              "fontWeight": "500",
  90                              "fontStyle": "italic",
  91                              "fontFamily": "Literata"
  92                          },
  93                          {
  94                              "src": [
  95                                  "file:./assets/fonts/literata/Literata72pt-SemiBold.woff2"
  96                              ],
  97                              "fontWeight": "600",
  98                              "fontStyle": "normal",
  99                              "fontFamily": "Literata"
 100                          },
 101                          {
 102                              "src": [
 103                                  "file:./assets/fonts/literata/Literata72pt-SemiBoldItalic.woff2"
 104                              ],
 105                              "fontWeight": "600",
 106                              "fontStyle": "italic",
 107                              "fontFamily": "Literata"
 108                          },
 109                          {
 110                              "src": [
 111                                  "file:./assets/fonts/literata/Literata72pt-Bold.woff2"
 112                              ],
 113                              "fontWeight": "700",
 114                              "fontStyle": "normal",
 115                              "fontFamily": "Literata"
 116                          },
 117                          {
 118                              "src": [
 119                                  "file:./assets/fonts/literata/Literata72pt-BoldItalic.woff2"
 120                              ],
 121                              "fontWeight": "700",
 122                              "fontStyle": "italic",
 123                              "fontFamily": "Literata"
 124                          },
 125                          {
 126                              "src": [
 127                                  "file:./assets/fonts/literata/Literata72pt-ExtraBold.woff2"
 128                              ],
 129                              "fontWeight": "800",
 130                              "fontStyle": "normal",
 131                              "fontFamily": "Literata"
 132                          },
 133                          {
 134                              "src": [
 135                                  "file:./assets/fonts/literata/Literata72pt-ExtraBoldItalic.woff2"
 136                              ],
 137                              "fontWeight": "800",
 138                              "fontStyle": "italic",
 139                              "fontFamily": "Literata"
 140                          },
 141                          {
 142                              "src": [
 143                                  "file:./assets/fonts/literata/Literata72pt-Black.woff2"
 144                              ],
 145                              "fontWeight": "900",
 146                              "fontStyle": "normal",
 147                              "fontFamily": "Literata"
 148                          },
 149                          {
 150                              "src": [
 151                                  "file:./assets/fonts/literata/Literata72pt-BlackItalic.woff2"
 152                              ],
 153                              "fontWeight": "900",
 154                              "fontStyle": "italic",
 155                              "fontFamily": "Literata"
 156                          }
 157                      ]
 158                  }
 159              ],
 160              "fontSizes": [
 161                  {
 162                      "fluid": false,
 163                      "name": "Small",
 164                      "size": "0.9rem",
 165                      "slug": "small"
 166                  },
 167                  {
 168                      "fluid": {
 169                          "max": "1.2rem",
 170                          "min": "1rem"
 171                      },
 172                      "name": "Medium",
 173                      "size": "1rem",
 174                      "slug": "medium"
 175                  },
 176                  {
 177                      "fluid": {
 178                          "max": "1.8rem",
 179                          "min": "1.6rem"
 180                      },
 181                      "name": "Large",
 182                      "size": "1.6rem",
 183                      "slug": "large"
 184                  },
 185                  {
 186                      "fluid": {
 187                          "max": "2.2rem",
 188                          "min": "1.8em"
 189                      },
 190                      "name": "Extra Large",
 191                      "size": "1.8rem",
 192                      "slug": "x-large"
 193                  },
 194                  {
 195                      "fluid": {
 196                          "max": "2.8rem",
 197                          "min": "2rem"
 198                      },
 199                      "name": "Extra Extra Large",
 200                      "size": "2rem",
 201                      "slug": "xx-large"
 202                  }
 203              ]
 204          }
 205      },
 206      "styles": {
 207          "typography": {
 208              "fontFamily": "var:preset|font-family|literata",
 209              "fontSize": "var:preset|font-size|medium",
 210              "letterSpacing": "-0.01em",
 211              "lineHeight": "1.6"
 212          },
 213          "blocks": {
 214              "core/button": {
 215                  "typography": {
 216                      "fontFamily": "var:preset|font-family|beiruti"
 217                  }
 218              },
 219              "core/list": {
 220                  "typography": {
 221                      "lineHeight": "1.3"
 222                  }
 223              },
 224              "core/loginout": {
 225                  "typography": {
 226                      "fontSize": "var:preset|font-size|medium"
 227                  }
 228              },
 229              "core/post-terms": {
 230                  "typography": {
 231                      "fontWeight": "300"
 232                  }
 233              },
 234              "core/pullquote": {
 235                  "typography": {
 236                      "fontFamily": "var:preset|font-family|beiruti",
 237                      "fontWeight": "500",
 238                      "lineHeight": "1"
 239                  }
 240              },
 241              "core/quote": {
 242                  "typography": {
 243                      "fontSize": "var:preset|font-size|medium"
 244                  }
 245              },
 246              "core/query-pagination": {
 247                  "typography": {
 248                      "fontWeight": "300"
 249                  }
 250              },
 251              "core/site-tagline": {
 252                  "typography": {
 253                      "fontSize": "var:preset|font-size|small"
 254                  }
 255              },
 256              "core/site-title": {
 257                  "typography": {
 258                      "fontFamily": "var:preset|font-family|beiruti",
 259                      "fontWeight": "600",
 260                      "letterSpacing": "2.4px",
 261                      "textTransform": "uppercase"
 262                  }
 263              }
 264          },
 265          "elements": {
 266              "h4": {
 267                  "typography": {
 268                      "fontSize": "var:preset|font-size|large"
 269                  }
 270              },
 271              "h5": {
 272                  "typography": {
 273                      "fontSize": "var:preset|font-size|medium",
 274                      "letterSpacing": "0px"
 275                  }
 276              },
 277              "h6": {
 278                  "typography": {
 279                      "fontSize": "var:preset|font-size|small"
 280                  }
 281              },
 282              "heading": {
 283                  "typography": {
 284                      "fontFamily": "var:preset|font-family|beiruti",
 285                      "fontWeight": "500",
 286                      "letterSpacing": "-0.02em",
 287                      "lineHeight": "1.02"
 288                  }
 289              }
 290          }
 291      }
 292  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref