[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Pitch",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "color": "#202124",
  10                      "name": "Base",
  11                      "slug": "base"
  12                  },
  13                  {
  14                      "color": "#e8eaed",
  15                      "name": "Contrast",
  16                      "slug": "contrast"
  17                  },
  18                  {
  19                      "color": "#e3cbc0",
  20                      "name": "Primary",
  21                      "slug": "primary"
  22                  },
  23                  {
  24                      "color": "#876C3A",
  25                      "name": "Secondary",
  26                      "slug": "secondary"
  27                  },
  28                  {
  29                      "color": "#303134",
  30                      "name": "Tertiary",
  31                      "slug": "tertiary"
  32                  }
  33              ]
  34          },
  35          "layout": {
  36              "contentSize": "min(640px, 90vw)",
  37              "wideSize": "90vw"
  38          },
  39          "spacing": {
  40              "spacingScale": {
  41                  "steps": 7
  42              },
  43              "spacingSizes": [
  44                  {
  45                      "size": "calc(8px + 1.5625vw)",
  46                      "slug": "20",
  47                      "name": "1"
  48                  },
  49                  {
  50                      "size": "calc(12px + 1.5625vw)",
  51                      "slug": "30",
  52                      "name": "2"
  53                  },
  54                  {
  55                      "size": "calc(16px + 1.5625vw)",
  56                      "slug": "40",
  57                      "name": "3"
  58                  },
  59                  {
  60                      "size": "calc(20px + 1.5625vw)",
  61                      "slug": "50",
  62                      "name": "4"
  63                  },
  64                  {
  65                      "size": "calc(24px + 1.5625vw)",
  66                      "slug": "60",
  67                      "name": "5"
  68                  },
  69                  {
  70                      "size": "calc(28px + 1.5625vw)",
  71                      "slug": "70",
  72                      "name": "6"
  73                  },
  74                  {
  75                      "size": "calc(32px + 1.5625vw)",
  76                      "slug": "80",
  77                      "name": "7"
  78                  }
  79              ]
  80          },
  81          "typography": {
  82              "fontSizes": [
  83                  {
  84                      "size": "0.85rem",
  85                      "fluid": {
  86                          "min": "0.85rem",
  87                          "max": "1rem"
  88                      },
  89                      "slug": "small",
  90                      "name": "small"
  91                  },
  92                  {
  93                      "size": "1.1rem",
  94                      "fluid": {
  95                          "min": "1.1rem",
  96                          "max": "1.4rem"
  97                      },
  98                      "slug": "medium",
  99                      "name": "Medium"
 100                  },
 101                  {
 102                      "size": "1.999rem",
 103                      "fluid": {
 104                          "min": "1.999rem",
 105                          "max": "2.827rem"
 106                      },
 107                      "slug": "large",
 108                      "name": "Large"
 109                  },
 110                  {
 111                      "size": "2.827rem",
 112                      "fluid": {
 113                          "min": "2.827rem",
 114                          "max": "3.998rem"
 115                      },
 116                      "slug": "x-large",
 117                      "name": "Extra Large"
 118                  },
 119                  {
 120                      "size": "3.2rem",
 121                      "fluid": {
 122                          "min": "3.2rem",
 123                          "max": "5.2rem"
 124                      },
 125                      "slug": "xx-large",
 126                      "name": "2X Large"
 127                  }
 128              ]
 129          }
 130      },
 131      "styles": {
 132          "blocks": {
 133              "core/separator": {
 134                  "border": {
 135                      "color":"var(--wp--preset--color--tertiary)",
 136                      "width": "2px"
 137                  }
 138              },
 139              "core/site-title": {
 140                  "typography": {
 141                      "fontSize": "var(--wp--preset--font-size--medium)",
 142                      "fontStyle": "normal",
 143                      "fontWeight": "600"
 144                  }
 145              }
 146          },
 147          "elements": {
 148              "button": {
 149                  "border": {
 150                      "radius": "0",
 151                      "style": "solid",
 152                      "width": "2px",
 153                      "color": "var(--wp--preset--color--primary)"
 154                  },
 155                  "color": {
 156                      "background": "var(--wp--preset--color--primary)",
 157                      "text": "var(--wp--preset--color--base)"
 158                  },
 159                  "spacing": {
 160                      "padding": {
 161                          "top": "min(1.125rem, 3vw) !important",
 162                          "right": "min(2.125rem, 5vw) !important",
 163                          "bottom": "min(1.125rem, 3vw) !important",
 164                          "left": "min(2.125rem, 5vw) !important"
 165                      }
 166                  },
 167                  "typography": {
 168                      "fontSize": "var(--wp--preset--font-size--small)",
 169                      "fontWeight": "600",
 170                      "textTransform": "uppercase",
 171                      "letterSpacing": "0.01em"
 172                  },
 173                  ":hover": {
 174                      "border": {
 175                          "color": "var(--wp--preset--color--contrast)"
 176                      },
 177                      "color": {
 178                          "background": "var(--wp--preset--color--contrast)",
 179                          "text": "var(--wp--preset--color--tertiary)"
 180                      }
 181                  },
 182                  ":focus": {
 183                      "border": {
 184                          "color": "var(--wp--preset--color--contrast)"
 185                      },
 186                      "color": {
 187                          "background": "var(--wp--preset--color--contrast)",
 188                          "text": "var(--wp--preset--color--tertiary)"
 189                      }
 190                  },
 191                  ":active": {
 192                      "border": {
 193                          "color": "var(--wp--preset--color--contrast)"
 194                      },
 195                      "color": {
 196                          "background": "var(--wp--preset--color--contrast)",
 197                          "text": "var(--wp--preset--color--tertiary)"
 198                      }
 199                  },
 200                  ":visited": {
 201                      "color": {
 202                          "text": "var(--wp--preset--color--base)"
 203                      }
 204                  }
 205              },
 206              "h1": {
 207                  "typography": {
 208                      "fontSize": "var(--wp--preset--font-size--xx-large)",
 209                      "lineHeight": "1.1"
 210                  }
 211              },
 212              "h2": {
 213                  "typography": {
 214                      "fontSize": "var(--wp--preset--font-size--x-large)",
 215                      "lineHeight": "1.1"
 216                  }
 217              },
 218              "h3": {
 219                  "typography": {
 220                      "fontSize": "var(--wp--preset--font-size--large)"
 221                  }
 222              },
 223              "heading": {
 224                  "typography": {
 225                      "fontWeight": "500"
 226                  }
 227              }
 228          },
 229          "spacing": {
 230              "blockGap": "var(--wp--preset--spacing--40)",
 231              "padding": {
 232                  "right": "var(--wp--preset--spacing--70)",
 233                  "left": "var(--wp--preset--spacing--70)"
 234              }
 235          },
 236          "typography": {
 237              "fontFamily": "var(--wp--preset--font-family--inter)",
 238              "fontSize": "var(--wp--preset--font-size--medium)",
 239              "lineHeight": "1.7"
 240          }
 241      }
 242  }


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