[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/theme.json",
   3      "version": 2,
   4      "title": "Whisper",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "color": "#E5E7F2",
  10                      "name": "Base",
  11                      "slug": "base"
  12                  },
  13                  {
  14                      "color": "#47484B",
  15                      "name": "Contrast",
  16                      "slug": "contrast"
  17                  },
  18                  {
  19                      "color": "#B50B3E",
  20                      "name": "Primary",
  21                      "slug": "primary"
  22                  },
  23                  {
  24                      "color": "#0B0033",
  25                      "name": "Secondary",
  26                      "slug": "secondary"
  27                  },
  28                  {
  29                      "color": "#F9F9FB",
  30                      "name": "Tertiary",
  31                      "slug": "tertiary"
  32                  }
  33              ]
  34          },
  35          "layout": {
  36              "contentSize": "710px",
  37              "wideSize": "1200px"
  38          },
  39          "typography": {
  40              "fontSizes": [
  41                  {
  42                      "fluid": {
  43                          "min": "0.875rem",
  44                          "max": "1rem"
  45                      },
  46                      "size": "1rem",
  47                      "slug": "small"
  48                  },
  49                  {
  50                      "fluid": {
  51                          "min": "1rem",
  52                          "max": "1.187rem"
  53                      },
  54                      "size": "1.187rem",
  55                      "slug": "medium"
  56                  },
  57                  {
  58                      "fluid": {
  59                          "min": "1.187rem",
  60                          "max": "1.3125rem"
  61                      },
  62                      "size": "1.3125rem",
  63                      "slug": "large"
  64                  },
  65                  {
  66                      "fluid": {
  67                          "min": "1.562rem",
  68                          "max": "2rem"
  69                      },
  70                      "size": "2rem",
  71                      "slug": "x-large"
  72                  },
  73                  {
  74                      "fluid": {
  75                          "min": "3.5rem",
  76                          "max": "5.7rem"
  77                      },
  78                      "size": "5.7rem",
  79                      "slug": "xx-large"
  80                  }
  81              ]
  82          }
  83      },
  84      "styles": {
  85          "blocks": {
  86              "core/navigation": {
  87                  "color": {
  88                      "text": "var(--wp--preset--color--contrast)"
  89                  },
  90                  "elements": {
  91                      "link": {
  92                          "border": {
  93                              "bottom": {
  94                                  "color": "transparent",
  95                                  "style": "solid",
  96                                  "width": "0.2ch"
  97                              }
  98                          },
  99                          "color": {
 100                              "text": "var(--wp--preset--color--contrast)"
 101                          },
 102                          ":hover": {
 103                              "border": {
 104                                  "color": "var(--wp--preset--color--primary)"
 105                              },
 106                              "color": {
 107                                  "background": "transparent",
 108                                  "text": "var(--wp--preset--color--secondary)"
 109                              },
 110                              "typography": {
 111                                  "textDecoration": "none"
 112                              }
 113                          },
 114                          ":focus": {
 115                              "typography": {
 116                                  "textDecoration": "none"
 117                              }
 118                          },
 119                          ":active": {
 120                              "typography": {
 121                                  "textDecoration": "none"
 122                              }
 123                          },
 124                          "typography": {
 125                              "textDecoration": "none"
 126                          }
 127                      }
 128                  },
 129                  "typography": {
 130                      "fontSize": "var(--wp--preset--font-size--large)"
 131                  }
 132              },
 133              "core/navigation-submenu": {
 134                  "color": {
 135                      "text": "var(--wp--preset--color--primary)"
 136                  }
 137              },
 138              "core/post-content": {
 139                  "elements": {
 140                      "link": {
 141                          ":hover": {
 142                              "border": {
 143                                  "color": "var(--wp--preset--color--contrast)"
 144                              },
 145                              "color": {
 146                                  "background": "var(--wp--preset--color--tertiary)"
 147                              },
 148                              "typography": {
 149                                  "textDecoration": "none"
 150                              }
 151                          }
 152                      }
 153                  }
 154              },
 155              "core/post-date": {
 156                  "elements": {
 157                      "link": {
 158                          ":hover": {
 159                              "border": {
 160                                  "color": "var(--wp--preset--color--contrast)"
 161                              },
 162                              "color": {
 163                                  "background": "var(--wp--preset--color--tertiary)"
 164                              },
 165                              "typography": {
 166                                  "textDecoration": "none"
 167                              }
 168                          }
 169                      }
 170                  }
 171              },
 172              "core/post-title": {
 173                  "elements": {
 174                      "link": {
 175                          "border": {
 176                              "width": "0 !important"
 177                          },
 178                          ":hover": {
 179                              "color": {
 180                                  "text": "var(--wp--preset--color--primary)"
 181                              }
 182                          },
 183                          ":focus": {
 184                              "color": {
 185                                  "text": "var(--wp--preset--color--primary)"
 186                              }
 187                          },
 188                          ":active": {
 189                              "color": {
 190                                  "text": "var(--wp--preset--color--primary)"
 191                              }
 192                          }
 193                      }
 194                  }
 195              },
 196              "core/pullquote": {
 197                  "border": {
 198                      "color": "var(--wp--preset--color--contrast)",
 199                      "style": "double",
 200                      "width": "6px"
 201                  },
 202                  "color": {
 203                      "text": "var(--wp--preset--color--secondary)"
 204                  }
 205              },
 206              "core/quote": {
 207                  "border": {
 208                      "color": "var(--wp--preset--color--contrast)",
 209                      "style": "double",
 210                      "width": "0 0 0 6px"
 211                  },
 212                  "color": {
 213                      "text": "var(--wp--preset--color--secondary)"
 214                  },
 215                  "spacing": {
 216                      "margin": {
 217                          "left": "var(--wp--preset--spacing--30)"
 218                      },
 219                      "padding": {
 220                          "left": "var(--wp--preset--spacing--30)"
 221                      }
 222                  }
 223              },
 224              "core/query-pagination": {
 225                  "elements": {
 226                      "link": {
 227                          ":hover": {
 228                              "border": {
 229                                  "color": "var(--wp--preset--color--contrast)"
 230                              },
 231                              "color": {
 232                                  "background": "var(--wp--preset--color--tertiary)"
 233                              },
 234                              "typography": {
 235                                  "textDecoration": "none"
 236                              }
 237                          },
 238                          ":active": {
 239                              "border": {
 240                                  "color": "var(--wp--preset--color--base)",
 241                                  "width": "0 0 2px 0"
 242                              }
 243                          }
 244                      }
 245                  }
 246              },
 247              "core/separator": {
 248                  "border": {
 249                      "color": "var(--wp--preset--color--contrast)",
 250                      "style": "double",
 251                      "width": "6px 0 0 0"
 252                  }
 253              },
 254              "core/site-title": {
 255                  "elements": {
 256                      "link": {
 257                          "border": {
 258                              "color": "transparent"
 259                          },
 260                          "color": {
 261                              "text": "var(--wp--preset--color--primary)"
 262                          },
 263                          ":hover": {
 264                              "border": {
 265                                  "color": "var(--wp--preset--color--primary)"
 266                              },
 267                              "color": {
 268                                  "background": "transparent"
 269                              },
 270                              "typography": {
 271                                  "textDecoration": "none"
 272                              }
 273                          },
 274                          ":focus": {
 275                              "typography": {
 276                                  "textDecoration": "none"
 277                              }
 278                          },
 279                          ":active": {
 280                              "border": {
 281                                  "color": "var(--wp--preset--color--primary)"
 282                              },
 283                              "color": {
 284                                  "background": "transparent"
 285                              },
 286                              "typography": {
 287                                  "textDecoration": "none"
 288                              }
 289                          },
 290                          "typography": {
 291                              "textDecoration": "none"
 292                          }
 293                      }
 294                  },
 295                  "typography": {
 296                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 297                      "fontSize": "var(--wp--preset--font-size--large)",
 298                      "fontWeight": "700",
 299                      "letterSpacing": "-0.01em",
 300                      "lineHeight": "1.4",
 301                      "textTransform": "capitalize"
 302                  }
 303              },
 304              "core/comment-author-name":{
 305                  "elements": {
 306                      "link": {
 307                          ":hover": {
 308                              "typography": {
 309                                  "textDecoration": "none"
 310                              }
 311                          },
 312                          ":focus": {
 313                              "typography": {
 314                                  "textDecoration": "none"
 315                              }
 316                          }
 317                      }
 318                  }
 319              },
 320              "core/comment-date": {
 321                  "elements": {
 322                      "link": {
 323                          ":hover": {
 324                              "typography": {
 325                                  "textDecoration": "none"
 326                              }
 327                          },
 328                          ":focus": {
 329                              "typography": {
 330                                  "textDecoration": "none"
 331                              }
 332                          }
 333                      }
 334                  }
 335              },
 336              "core/comment-edit-link": {
 337                  "elements": {
 338                      "link": {
 339                          ":hover": {
 340                              "typography": {
 341                                  "textDecoration": "none"
 342                              }
 343                          },
 344                          ":focus": {
 345                              "typography": {
 346                                  "textDecoration": "none"
 347                              }
 348                          }
 349                      }
 350                  }
 351              }
 352          },
 353          "elements": {
 354              "button": {
 355                  "border": {
 356                      "color": "var(--wp--preset--color--primary)",
 357                      "radius": "10px",
 358                      "style": "solid",
 359                      "width": "2px 2px 6px 2px !important"
 360                  },
 361                  "color": {
 362                      "background": "transparent",
 363                      "text": "var(--wp--preset--color--primary)"
 364                  },
 365                  "spacing": {
 366                      "padding": {
 367                          "top": "min(1rem, 3vw) !important",
 368                          "right": "min(2.75rem, 6vw) !important",
 369                          "bottom": "min(1rem, 3vw) !important",
 370                          "left": "min(2.75rem, 6vw) !important"
 371                      }
 372                  },
 373                  "typography": {
 374                      "fontWeight": "700",
 375                      "letterSpacing": "1px",
 376                      "textTransform": "uppercase"
 377                  },
 378                  ":hover": {
 379                      "border": {
 380                          "color": "var(--wp--preset--color--secondary)",
 381                          "width": "2px 2px 4px 2px !important"
 382                      },
 383                      "color": {
 384                          "background": "var(--wp--preset--color--tertiary)",
 385                          "text": "var(--wp--preset--color--secondary)"
 386                      },
 387                      "spacing": {
 388                          "padding": {
 389                              "bottom": "min(calc(1rem + 2px), 3vw) !important"
 390                          }
 391                      }
 392                  },
 393                  ":focus": {
 394                      "border": {
 395                          "color": "var(--wp--preset--color--secondary)",
 396                          "style": "dashed dashed double",
 397                          "width": "2px 2px 4px 2px !important"
 398                      },
 399                      "color": {
 400                          "background": "var(--wp--preset--color--tertiary)",
 401                          "text": "var(--wp--preset--color--secondary)"
 402                      },
 403                      "spacing": {
 404                          "padding": {
 405                              "bottom": "min(calc(1rem + 2px), 3vw) !important"
 406                          }
 407                      }
 408                  },
 409                  ":active": {
 410                      "border": {
 411                          "color": "var(--wp--preset--color--secondary)",
 412                          "width": "2px 2px 4px 2px !important"
 413                      },
 414                      "color": {
 415                          "background": "var(--wp--preset--color--tertiary)",
 416                          "text": "var(--wp--preset--color--secondary)"
 417                      },
 418                      "spacing": {
 419                          "padding": {
 420                              "bottom": "min(calc(1rem + 2px), 3vw) !important"
 421                          }
 422                      }
 423                  },
 424                  ":visited": {
 425                      "color": {
 426                          "text": "var(--wp--preset--color--primary)"
 427                      }
 428                  }
 429              },
 430              "cite": {
 431                  "typography": {
 432                      "fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
 433                  }
 434              },
 435              "h1": {
 436                  "typography": {
 437                      "fontSize": "clamp(4.21rem, 1.43vw + 3.85rem, 5rem)",
 438                      "fontWeight": "300",
 439                      "letterSpacing": "-0.01em"
 440                  }
 441              },
 442              "h2": {
 443                  "color": {
 444                      "text": "var(--wp--preset--color--secondary)"
 445                  },
 446                  "typography": {
 447                      "fontSize": "clamp(3.16rem, 1.08vw + 2.89rem, 3.75rem)",
 448                      "fontWeight": "400",
 449                      "letterSpacing": "-0.01em"
 450                  }
 451              },
 452              "h3": {
 453                  "color": {
 454                      "text": "var(--wp--preset--color--secondary)"
 455                  },
 456                  "typography": {
 457                      "fontSize": "clamp(2.37rem, 0.81vw + 2.17rem, 2.81rem)",
 458                      "fontWeight": "500"
 459                  }
 460              },
 461              "h4": {
 462                  "typography": {
 463                      "fontSize": "clamp(1.78rem, 0.61vw + 1.63rem, 2.11rem)",
 464                      "fontWeight": "600"
 465                  }
 466              },
 467              "h5": {
 468                  "typography": {
 469                      "fontSize": "clamp(1.33rem, 0.45vw + 1.22rem, 1.58rem)",
 470                      "fontWeight": "700",
 471                      "letterSpacing": "1px"
 472                  }
 473              },
 474              "h6": {
 475                  "typography": {
 476                      "fontSize": "clamp(1rem, 0.34vw + 0.91rem, 1.19rem)",
 477                      "fontWeight": "900",
 478                      "letterSpacing": "2px"
 479                  }
 480              },
 481              "heading": {
 482                  "color": {
 483                      "text": "var(--wp--preset--color--secondary)"
 484                  },
 485                  "typography": {
 486                      "fontFamily": "var(--wp--preset--font-family--source-serif-pro)"
 487                  }
 488              },
 489              "link": {
 490                  "border": {
 491                      "color": "var(--wp--preset--color--primary)",
 492                      "style": "solid",
 493                      "width": "0 0 2px 0"
 494                  },
 495                  "color": {
 496                      "text": "var(--wp--preset--color--secondary)"
 497                  },
 498                  ":hover": {
 499                      "border": {
 500                          "color": "var(--wp--preset--color--contrast)"
 501                      },
 502                      "color": {
 503                          "text": "var(--wp--preset--color--secondary)"
 504                      },
 505                      "typography": {
 506                          "textDecoration": "none"
 507                      }
 508                  },
 509                  ":focus": {
 510                      "border": {
 511                          "style": "dashed"
 512                      },
 513                      "typography": {
 514                          "textDecoration": "none"
 515                      }
 516                  },
 517                  ":active": {
 518                      "border": {
 519                          "width": "0"
 520                      },
 521                      "color": {
 522                          "text": "var(--wp--preset--color--secondary)"
 523                      },
 524                      "typography": {
 525                          "textDecoration": "none"
 526                      }
 527                  },
 528                  "typography": {
 529                      "textDecoration": "none"
 530                  }
 531              }
 532          },
 533          "border": {
 534              "color": "var(--wp--preset--color--tertiary)",
 535              "style": "solid",
 536              "width": "max(1vw, 0.5rem)"
 537          },
 538          "spacing": {
 539              "padding": {
 540                  "top": "var(--wp--preset--spacing--40)",
 541                  "right": "var(--wp--preset--spacing--30)",
 542                  "bottom": "var(--wp--preset--spacing--40)",
 543                  "left": "var(--wp--preset--spacing--30)"
 544              }
 545          },
 546          "typography": {
 547              "fontFamily": "var(--wp--preset--font-family--dm-sans)"
 548          }
 549      }
 550  }


Generated : Tue Apr 30 08:20:01 2024 Cross-referenced by PHPXref