[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "version": 3,
   3      "$schema": "https://schemas.wp.org/trunk/theme.json",
   4      "title": "Vollkorn & Fira Code",
   5      "slug": "typography-preset-2",
   6      "settings": {
   7          "typography": {
   8              "fontFamilies": [
   9                  {
  10                      "name": "Vollkorn",
  11                      "slug": "vollkorn",
  12                      "fontFamily": "Vollkorn, serif",
  13                      "fontFace": [
  14                          {
  15                              "src": [
  16                                  "file:./assets/fonts/vollkorn/Vollkorn-Italic-VariableFont_wght.woff2"
  17                              ],
  18                              "fontWeight": "400 900",
  19                              "fontStyle": "italic",
  20                              "fontFamily": "Vollkorn"
  21                          },
  22                          {
  23                              "src": [
  24                                  "file:./assets/fonts/vollkorn/Vollkorn-VariableFont_wght.woff2"
  25                              ],
  26                              "fontWeight": "400 900",
  27                              "fontStyle": "normal",
  28                              "fontFamily": "Vollkorn"
  29                          }
  30                      ]
  31                  },
  32                  {
  33                      "name": "Fira Code",
  34                      "slug": "fira-code",
  35                      "fontFamily": "\"Fira Code\", monospace",
  36                      "fontFace": [
  37                          {
  38                              "src": [
  39                                  "file:./assets/fonts/fira-code/FiraCode-VariableFont_wght.woff2"
  40                              ],
  41                              "fontWeight": "300 700",
  42                              "fontStyle": "normal",
  43                              "fontFamily": "\"Fira Code\""
  44                          }
  45                      ]
  46                  }
  47              ]
  48          }
  49      },
  50      "styles": {
  51          "typography": {
  52              "fontFamily": "var:preset|font-family|fira-code",
  53              "fontSize": "var:preset|font-size|medium",
  54              "letterSpacing": "-0.18px",
  55              "lineHeight": "1.5"
  56          },
  57          "blocks": {
  58              "core/post-author-name": {
  59                  "typography": {
  60                      "fontWeight": "300"
  61                  }
  62              },
  63              "core/post-terms": {
  64                  "typography": {
  65                      "fontWeight": "300"
  66                  }
  67              },
  68              "core/post-title": {
  69                  "typography": {
  70                      "fontWeight": "400",
  71                      "letterSpacing": "-0.96px"
  72                  }
  73              },
  74              "core/pullquote": {
  75                  "typography": {
  76                      "fontFamily": "var:preset|font-family|vollkorn",
  77                      "fontSize": "var:preset|font-size|x-large",
  78                      "fontWeight": "400"
  79                  },
  80                  "elements": {
  81                      "cite": {
  82                          "typography": {
  83                              "fontFamily": "var:preset|font-family|fira-code",
  84                              "fontWeight": "300",
  85                              "letterSpacing": "-0.14px"
  86                          }
  87                      }
  88                  }
  89              },
  90              "core/quote": {
  91                  "typography": {
  92                      "fontFamily": "var:preset|font-family|fira-code",
  93                      "fontWeight": "500",
  94                      "letterSpacing": "-0.18px"
  95                  }
  96              },
  97              "core/site-title": {
  98                  "typography": {
  99                      "fontFamily": "var:preset|font-family|vollkorn",
 100                      "fontSize": "var:preset|font-size|x-large"
 101                  }
 102              }
 103          },
 104          "elements": {
 105              "button": {
 106                  "typography": {
 107                      "fontFamily": "var:preset|font-family|fira-code",
 108                      "fontSize": "var:preset|font-size|medium",
 109                      "fontWeight": "400",
 110                      "letterSpacing": "-0.36px"
 111                  }
 112              },
 113              "heading": {
 114                  "typography": {
 115                      "fontFamily": "var:preset|font-family|vollkorn"
 116                  }
 117              },
 118              "h1": {
 119                  "typography": {
 120                      "fontSize": "48px",
 121                      "letterSpacing": "-0.96px;"
 122                  }
 123              },
 124              "h2": {
 125                  "typography": {
 126                      "fontSize": "38px",
 127                      "letterSpacing": "-0.96px"
 128                  }
 129              },
 130              "h3": {
 131                  "typography": {
 132                      "fontSize": "32px",
 133                      "letterSpacing": "-0.64px"
 134                  }
 135              },
 136              "h4": {
 137                  "typography": {
 138                      "fontSize": "28px",
 139                      "letterSpacing": "-0.56px"
 140                  }
 141              },
 142              "h5": {
 143                  "typography": {
 144                      "fontSize": "24px",
 145                      "letterSpacing": "-0.48px"
 146                  }
 147              }
 148          }
 149      }
 150  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref