[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentythree/ -> theme.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/theme.json",
   3      "version": 2,
   4      "customTemplates": [
   5          {
   6              "name": "blank",
   7              "postTypes": [
   8                  "page",
   9                  "post"
  10              ],
  11              "title": "Blank"
  12          },
  13          {
  14              "name": "blog-alternative",
  15              "postTypes": [
  16                  "page"
  17              ],
  18              "title": "Blog (Alternative)"
  19          },
  20          {
  21              "name": "404",
  22              "postTypes": [
  23                  "page"
  24              ],
  25              "title": "404"
  26          }
  27      ],
  28      "settings": {
  29          "appearanceTools": true,
  30          "color": {
  31              "palette": [
  32                  {
  33                      "color": "#ffffff",
  34                      "name": "Base",
  35                      "slug": "base"
  36                  },
  37                  {
  38                      "color": "#000000",
  39                      "name": "Contrast",
  40                      "slug": "contrast"
  41                  },
  42                  {
  43                      "color": "#9DFF20",
  44                      "name": "Primary",
  45                      "slug": "primary"
  46                  },
  47                  {
  48                      "color": "#345C00",
  49                      "name": "Secondary",
  50                      "slug": "secondary"
  51                  },
  52                  {
  53                      "color": "#F6F6F6",
  54                      "name": "Tertiary",
  55                      "slug": "tertiary"
  56                  }
  57              ]
  58          },
  59          "layout": {
  60              "contentSize": "650px",
  61              "wideSize": "1200px"
  62          },
  63          "spacing": {
  64              "spacingScale": {
  65                  "steps": 0
  66              },
  67              "spacingSizes": [
  68                  {
  69                      "size": "clamp(1.5rem, 5vw, 2rem)",
  70                      "slug": "30",
  71                      "name": "1"
  72                  },
  73                  {
  74                      "size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
  75                      "slug": "40",
  76                      "name": "2"
  77                  },
  78                  {
  79                      "size": "clamp(2.5rem, 8vw, 4.5rem)",
  80                      "slug": "50",
  81                      "name": "3"
  82                  },
  83                  {
  84                      "size": "clamp(3.75rem, 10vw, 7rem)",
  85                      "slug": "60",
  86                      "name": "4"
  87                  },
  88                  {
  89                      "size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
  90                      "slug": "70",
  91                      "name": "5"
  92                  },
  93                  {
  94                      "size": "clamp(7rem, 14vw, 11rem)",
  95                      "slug": "80",
  96                      "name": "6"
  97                  }
  98              ],
  99              "units": [
 100                  "%",
 101                  "px",
 102                  "em",
 103                  "rem",
 104                  "vh",
 105                  "vw"
 106              ]
 107          },
 108          "typography": {
 109              "dropCap": false,
 110              "fluid": true,
 111              "fontFamilies": [
 112                  {
 113                      "fontFace": [
 114                          {
 115                              "fontFamily": "DM Sans",
 116                              "fontStretch": "normal",
 117                              "fontStyle": "normal",
 118                              "fontWeight": "400",
 119                              "src": [
 120                                  "file:./assets/fonts/dm-sans/DMSans-Regular.woff2"
 121                              ]
 122                          },
 123                          {
 124                              "fontFamily": "DM Sans",
 125                              "fontStretch": "normal",
 126                              "fontStyle": "italic",
 127                              "fontWeight": "400",
 128                              "src": [
 129                                  "file:./assets/fonts/dm-sans/DMSans-Regular-Italic.woff2"
 130                              ]
 131                          },
 132                          {
 133                              "fontFamily": "DM Sans",
 134                              "fontStretch": "normal",
 135                              "fontStyle": "normal",
 136                              "fontWeight": "700",
 137                              "src": [
 138                                  "file:./assets/fonts/dm-sans/DMSans-Bold.woff2"
 139                              ]
 140                          },
 141                          {
 142                              "fontFamily": "DM Sans",
 143                              "fontStretch": "normal",
 144                              "fontStyle": "italic",
 145                              "fontWeight": "700",
 146                              "src": [
 147                                  "file:./assets/fonts/dm-sans/DMSans-Bold-Italic.woff2"
 148                              ]
 149                          }
 150                      ],
 151                      "fontFamily": "\"DM Sans\", sans-serif",
 152                      "name": "DM Sans",
 153                      "slug": "dm-sans"
 154                  },
 155                  {
 156                      "fontFace": [
 157                          {
 158                              "fontDisplay": "block",
 159                              "fontFamily": "IBM Plex Mono",
 160                              "fontStretch": "normal",
 161                              "fontStyle": "normal",
 162                              "fontWeight": "300",
 163                              "src": [
 164                                  "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2"
 165                              ]
 166                          },
 167                          {
 168                              "fontDisplay": "block",
 169                              "fontFamily": "IBM Plex Mono",
 170                              "fontStretch": "normal",
 171                              "fontStyle": "normal",
 172                              "fontWeight": "400",
 173                              "src": [
 174                                  "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2"
 175                              ]
 176                          },
 177                          {
 178                              "fontDisplay": "block",
 179                              "fontFamily": "IBM Plex Mono",
 180                              "fontStretch": "normal",
 181                              "fontStyle": "italic",
 182                              "fontWeight": "400",
 183                              "src": [
 184                                  "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2"
 185                              ]
 186                          },
 187                          {
 188                              "fontDisplay": "block",
 189                              "fontFamily": "IBM Plex Mono",
 190                              "fontStretch": "normal",
 191                              "fontStyle": "normal",
 192                              "fontWeight": "700",
 193                              "src": [
 194                                  "file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2"
 195                              ]
 196                          }
 197                      ],
 198                      "fontFamily": "'IBM Plex Mono', monospace",
 199                      "name": "IBM Plex Mono",
 200                      "slug": "ibm-plex-mono"
 201                  },
 202                  {
 203                      "fontFace": [
 204                          {
 205                              "fontFamily": "Inter",
 206                              "fontStretch": "normal",
 207                              "fontStyle": "normal",
 208                              "fontWeight": "200 900",
 209                              "src": [
 210                                  "file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf"
 211                              ]
 212                          }
 213                      ],
 214                      "fontFamily": "\"Inter\", sans-serif",
 215                      "name": "Inter",
 216                      "slug": "inter"
 217                  },
 218                  {
 219                      "fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
 220                      "name": "System Font",
 221                      "slug": "system-font"
 222                  },
 223                  {
 224                      "fontFace": [
 225                          {
 226                              "fontFamily": "Source Serif Pro",
 227                              "fontStretch": "normal",
 228                              "fontStyle": "normal",
 229                              "fontWeight": "200 900",
 230                              "src": [
 231                                  "file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2"
 232                              ]
 233                          },
 234                          {
 235                              "fontFamily": "Source Serif Pro",
 236                              "fontStretch": "normal",
 237                              "fontStyle": "italic",
 238                              "fontWeight": "200 900",
 239                              "src": [
 240                                  "file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2"
 241                              ]
 242                          }
 243                      ],
 244                      "fontFamily": "\"Source Serif Pro\", serif",
 245                      "name": "Source Serif Pro",
 246                      "slug": "source-serif-pro"
 247                  }
 248              ],
 249              "fontSizes": [
 250                  {
 251                      "fluid": {
 252                          "min": "0.875rem",
 253                          "max": "1rem"
 254                      },
 255                      "size": "1rem",
 256                      "slug": "small"
 257                  },
 258                  {
 259                      "fluid": {
 260                          "min": "1rem",
 261                          "max": "1.125rem"
 262                      },
 263                      "size": "1.125rem",
 264                      "slug": "medium"
 265                  },
 266                  {
 267                      "fluid": {
 268                          "min": "1.75rem",
 269                          "max": "1.875rem"
 270                      },
 271                      "size": "1.75rem",
 272                      "slug": "large"
 273                  },
 274                  {
 275                      "fluid": false,
 276                      "size": "2.25rem",
 277                      "slug": "x-large"
 278                  },
 279                  {
 280                      "fluid": {
 281                          "min": "6.1rem",
 282                          "max": "10rem"
 283                      },
 284                      "size": "10rem",
 285                      "slug": "xx-large"
 286                  }
 287              ]
 288          },
 289          "useRootPaddingAwareAlignments": true
 290      },
 291      "styles": {
 292          "blocks": {
 293              "core/navigation": {
 294                  "elements": {
 295                      "link": {
 296                          ":hover": {
 297                              "typography": {
 298                                  "textDecoration": "underline"
 299                              }
 300                          },
 301                          ":focus": {
 302                              "typography": {
 303                                  "textDecoration": "underline dashed"
 304                              }
 305                          },
 306                          ":active": {
 307                              "typography": {
 308                                  "textDecoration": "none"
 309                              }
 310                          },
 311                          "typography": {
 312                              "textDecoration": "none"
 313                          }
 314                      }
 315                  },
 316                  "typography": {
 317                      "fontSize": "var(--wp--preset--font-size--small)"
 318                  }
 319              },
 320              "core/post-author": {
 321                  "typography": {
 322                      "fontSize": "var(--wp--preset--font-size--small)"
 323                  }
 324              },
 325              "core/post-content": {
 326                  "elements": {
 327                      "link": {
 328                          "color": {
 329                              "text": "var(--wp--preset--color--secondary)"
 330                          }
 331                      }
 332                  }
 333              },
 334              "core/post-excerpt": {
 335                  "typography": {
 336                      "fontSize": "var(--wp--preset--font-size--medium)"
 337                  }
 338              },
 339              "core/post-date": {
 340                  "typography": {
 341                      "fontSize": "var(--wp--preset--font-size--small)",
 342                      "fontWeight": "400"
 343                  },
 344                  "elements": {
 345                      "link": {
 346                          "typography": {
 347                              "textDecoration": "none"
 348                          },
 349                          ":hover": {
 350                              "typography": {
 351                                  "textDecoration": "underline"
 352                              }
 353                          }
 354                      }
 355                  }
 356              },
 357              "core/post-terms": {
 358                  "typography": {
 359                      "fontSize": "var(--wp--preset--font-size--small)"
 360                  }
 361              },
 362              "core/post-title": {
 363                  "spacing": {
 364                      "margin": {
 365                          "bottom": "1.25rem",
 366                          "top": "1.25rem"
 367                      }
 368                  },
 369                  "typography": {
 370                      "fontWeight": "400"
 371                  },
 372                  "elements": {
 373                      "link": {
 374                          ":hover": {
 375                              "typography": {
 376                                  "textDecoration": "underline"
 377                              }
 378                          },
 379                          ":focus": {
 380                              "typography": {
 381                                  "textDecoration": "underline dashed"
 382                              }
 383                          },
 384                          ":active": {
 385                              "color": {
 386                                  "text": "var(--wp--preset--color--secondary)"
 387                              },
 388                              "typography": {
 389                                  "textDecoration": "none"
 390                              }
 391                          },
 392                          "typography": {
 393                              "textDecoration": "none"
 394                          }
 395                      }
 396                  }
 397              },
 398              "core/comments-title":{
 399                  "typography": {
 400                      "fontSize": "var(--wp--preset--font-size--large)"
 401                  },
 402                  "spacing": {
 403                      "margin": {
 404                          "bottom": "var(--wp--preset--spacing--40)"
 405                      }
 406                  }
 407              },
 408              "core/comment-author-name": {
 409                  "elements": {
 410                      "link": {
 411                          ":hover": {
 412                              "typography": {
 413                                  "textDecoration": "underline"
 414                              }
 415                          },
 416                          ":focus": {
 417                              "typography": {
 418                                  "textDecoration": "underline dashed"
 419                              }
 420                          },
 421                          ":active": {
 422                              "color": {
 423                                  "text": "var(--wp--preset--color--secondary)"
 424                              },
 425                              "typography": {
 426                                  "textDecoration": "none"
 427                              }
 428                          },
 429                          "typography": {
 430                              "textDecoration": "none"
 431                          }
 432                      }
 433                  }
 434              },
 435              "core/comment-date": {
 436                  "typography": {
 437                      "fontSize": "var(--wp--preset--font-size--small)"
 438                  },
 439                  "elements": {
 440                      "link": {
 441                          ":hover": {
 442                              "typography": {
 443                                  "textDecoration": "underline"
 444                              }
 445                          },
 446                          ":focus": {
 447                              "typography": {
 448                                  "textDecoration": "underline dashed"
 449                              }
 450                          },
 451                          ":active": {
 452                              "color": {
 453                                  "text": "var(--wp--preset--color--secondary)"
 454                              },
 455                              "typography": {
 456                                  "textDecoration": "none"
 457                              }
 458                          },
 459                          "typography": {
 460                              "textDecoration": "none"
 461                          }
 462                      }
 463                  }
 464              },
 465              "core/comment-edit-link": {
 466                  "typography": {
 467                      "fontSize": "var(--wp--preset--font-size--small)"
 468                  }
 469              },
 470              "core/comment-reply-link": {
 471                  "typography": {
 472                      "fontSize": "var(--wp--preset--font-size--small)"
 473                  }
 474              },
 475              "core/comments-pagination": {
 476                  "spacing": {
 477                      "margin": {
 478                          "top": "var(--wp--preset--spacing--40)"
 479                      }
 480                  },
 481                  "elements": {
 482                      "link": {
 483                          "typography": {
 484                              "textDecoration": "none"
 485                          }
 486                      }
 487                  }
 488              },
 489              "core/pullquote": {
 490                  "border": {
 491                      "style": "solid",
 492                      "width": "1px 0"
 493                  },
 494                  "elements": {
 495                      "cite": {
 496                          "typography": {
 497                              "fontSize": "var(--wp--preset--font-size--small)",
 498                              "fontStyle": "normal",
 499                              "textTransform": "none"
 500                          }
 501                      }
 502                  },
 503                  "typography": {
 504                      "lineHeight": "1.3"
 505                  },
 506                  "spacing": {
 507                      "margin": {
 508                          "bottom": "var(--wp--preset--spacing--40) !important",
 509                          "top": "var(--wp--preset--spacing--40) !important"
 510                      }
 511                  }
 512              },
 513              "core/query": {
 514                  "elements": {
 515                      "h2": {
 516                          "typography": {
 517                              "fontSize": "var(--wp--preset--font-size--x-large)"
 518                          }
 519                      }
 520                  }
 521              },
 522              "core/query-pagination": {
 523                  "typography": {
 524                      "fontSize": "var(--wp--preset--font-size--small)",
 525                      "fontWeight": "400"
 526                  },
 527                  "elements": {
 528                      "link": {
 529                          "typography": {
 530                              "textDecoration": "none"
 531                          },
 532                          ":hover": {
 533                              "typography": {
 534                                  "textDecoration": "underline"
 535                              }
 536                          }
 537                      }
 538                  }
 539              },
 540              "core/quote": {
 541                  "border": {
 542                      "left": {
 543                          "color": "inherit",
 544                          "style": "solid",
 545                          "width": "1px"
 546                      }
 547                  },
 548                  "elements": {
 549                      "cite": {
 550                          "typography": {
 551                              "fontSize": "var(--wp--preset--font-size--small)",
 552                              "fontStyle": "normal"
 553                          }
 554                      }
 555                  },
 556                  "spacing": {
 557                      "padding": {
 558                          "left": "var(--wp--preset--spacing--30)",
 559                          "right": "var(--wp--preset--spacing--30)"
 560                      }
 561                  }
 562              },
 563              "core/site-title": {
 564                  "elements": {
 565                      "link": {
 566                          ":hover": {
 567                              "typography": {
 568                                  "textDecoration": "underline"
 569                              }
 570                          },
 571                          ":focus": {
 572                              "typography": {
 573                                  "textDecoration": "underline dashed"
 574                              }
 575                          },
 576                          ":active": {
 577                              "color": {
 578                                  "text": "var(--wp--preset--color--secondary)"
 579                              },
 580                              "typography": {
 581                                  "textDecoration": "none"
 582                              }
 583                          },
 584                          "typography": {
 585                              "textDecoration": "none"
 586                          }
 587                      }
 588                  },
 589                  "typography": {
 590                      "fontSize": "var(--wp--preset--font-size--medium)",
 591                      "fontWeight": "normal",
 592                      "lineHeight": "1.4"
 593                  }
 594              },
 595              "core/separator": {
 596                  "css": " &:not(.is-style-wide):not(.is-style-dots):not(.alignwide):not(.alignfull){width: 100px}"
 597              }
 598          },
 599          "color": {
 600              "background": "var(--wp--preset--color--base)",
 601              "text": "var(--wp--preset--color--contrast)"
 602          },
 603          "elements": {
 604              "button": {
 605                  "border": {
 606                      "radius": "0"
 607                  },
 608                  "color": {
 609                      "background": "var(--wp--preset--color--primary)",
 610                      "text": "var(--wp--preset--color--contrast)"
 611                  },
 612                  ":hover": {
 613                      "color": {
 614                          "background": "var(--wp--preset--color--contrast)",
 615                          "text": "var(--wp--preset--color--base)"
 616                      }
 617                  },
 618                  ":focus": {
 619                      "color": {
 620                          "background": "var(--wp--preset--color--contrast)",
 621                          "text": "var(--wp--preset--color--base)"
 622                      }
 623                  },
 624                  ":active": {
 625                      "color": {
 626                          "background": "var(--wp--preset--color--secondary)",
 627                          "text": "var(--wp--preset--color--base)"
 628                      }
 629                  },
 630                  ":visited": {
 631                      "color": {
 632                          "text": "var(--wp--preset--color--contrast)"
 633                      }
 634                  }
 635              },
 636              "h1": {
 637                  "typography": {
 638                      "fontSize": "3.625rem",
 639                      "lineHeight": "1.2"
 640                  }
 641              },
 642              "h2": {
 643                  "typography": {
 644                      "fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)",
 645                      "lineHeight": "1.2"
 646                  }
 647              },
 648              "h3": {
 649                  "typography": {
 650                      "fontSize": "var(--wp--preset--font-size--x-large)"
 651                  }
 652              },
 653              "h4": {
 654                  "typography": {
 655                      "fontSize": "var(--wp--preset--font-size--large)"
 656                  }
 657              },
 658              "h5": {
 659                  "typography": {
 660                      "fontSize": "var(--wp--preset--font-size--medium)",
 661                      "fontWeight": "700",
 662                      "textTransform": "uppercase"
 663                  }
 664              },
 665              "h6": {
 666                  "typography": {
 667                      "fontSize": "var(--wp--preset--font-size--medium)",
 668                      "textTransform": "uppercase"
 669                  }
 670              },
 671              "heading": {
 672                  "typography": {
 673                      "fontWeight": "400",
 674                      "lineHeight": "1.4"
 675                  }
 676              },
 677              "link": {
 678                  "color": {
 679                      "text": "var(--wp--preset--color--contrast)"
 680                  },
 681                  ":hover": {
 682                      "typography": {
 683                          "textDecoration": "none"
 684                      }
 685                  },
 686                  ":focus": {
 687                      "typography": {
 688                          "textDecoration": "underline dashed"
 689                      }
 690                  },
 691                  ":active": {
 692                      "color": {
 693                          "text": "var(--wp--preset--color--secondary)"
 694                      },
 695                      "typography": {
 696                          "textDecoration": "none"
 697                      }
 698                  },
 699                  "typography": {
 700                      "textDecoration": "underline"
 701                  }
 702              }
 703          },
 704          "spacing": {
 705              "blockGap": "1.5rem",
 706              "padding": {
 707                  "top": "var(--wp--preset--spacing--40)",
 708                  "right": "var(--wp--preset--spacing--30)",
 709                  "bottom": "var(--wp--preset--spacing--40)",
 710                  "left": "var(--wp--preset--spacing--30)"
 711              }
 712          },
 713          "typography": {
 714              "fontFamily": "var(--wp--preset--font-family--system-font)",
 715              "fontSize": "var(--wp--preset--font-size--medium)",
 716              "lineHeight": "1.6"
 717          }
 718      },
 719      "templateParts": [
 720          {
 721              "area": "header",
 722              "name": "header",
 723              "title": "Header"
 724          },
 725          {
 726              "area": "footer",
 727              "name": "footer",
 728              "title": "Footer"
 729          },
 730          {
 731              "area": "uncategorized",
 732              "name": "comments",
 733              "title": "Comments Template Part"
 734          },
 735          {
 736              "area": "uncategorized",
 737              "name": "post-meta",
 738              "title": "Post Meta"
 739          }
 740      ]
 741  }


Generated : Thu May 2 08:20:01 2024 Cross-referenced by PHPXref