[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


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