[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/styles/ -> pink.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Pink",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "slug": "foreground",
  10                      "color": "#CA2315",
  11                      "name": "Foreground"
  12                  },
  13                  {
  14                      "slug": "background",
  15                      "color": "#FFF6F6",
  16                      "name": "Background"
  17                  },
  18                  {
  19                      "slug": "primary",
  20                      "color": "#000000",
  21                      "name": "Primary"
  22                  },
  23                  {
  24                      "slug": "secondary",
  25                      "color": "#FFFFFF",
  26                      "name": "Secondary"
  27                  },
  28                  {
  29                      "slug": "tertiary",
  30                      "color": "#F5F5F5",
  31                      "name": "Tertiary"
  32                  }
  33              ]
  34          },
  35          "custom": {
  36              "spacing": {
  37                  "small": "max(0.75rem, 4vw)",
  38                  "medium": "clamp(1.75rem, 6vw, calc(1.5 * var(--wp--style--block-gap)))",
  39                  "large": "clamp(3rem, 8vw, 5rem)",
  40                  "outer": "var(--wp--custom--spacing--small, 0.75rem)"
  41              },
  42              "typography": {
  43                  "font-size": {
  44                      "huge": "clamp(2rem, 4vw, 2.25rem)",
  45                      "gigantic": "clamp(2.25rem, 6vw, 2.75rem)",
  46                      "colossal": "clamp(2.75rem, 8vw, 3.25rem)"
  47                  }
  48              },
  49              "line-height": {
  50                  "normal": 1.7
  51              }
  52          },
  53          "typography": {
  54              "fontFamilies": [
  55                  {
  56                      "fontFamily": "\"IBM Plex Sans\", sans-serif",
  57                      "name": "IBM Plex Sans",
  58                      "slug": "ibm-plex-sans",
  59                      "fontFace": [
  60                          {
  61                              "fontFamily": "IBM Plex Sans",
  62                              "fontWeight": "400",
  63                              "fontStyle": "normal",
  64                              "fontStretch": "normal",
  65                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexSans-Light.woff2" ]
  66                          },
  67                          {
  68                              "fontFamily": "IBM Plex Sans",
  69                              "fontWeight": "400",
  70                              "fontStyle": "italic",
  71                              "fontStretch": "normal",
  72                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexSans-LightItalic.woff2" ]
  73                          },
  74                          {
  75                              "fontFamily": "IBM Plex Sans",
  76                              "fontWeight": "200",
  77                              "fontStyle": "normal",
  78                              "fontStretch": "normal",
  79                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexSans-ExtraLight.woff2" ]
  80                          },
  81                          {
  82                              "fontFamily": "IBM Plex Sans",
  83                              "fontWeight": "200",
  84                              "fontStyle": "italic",
  85                              "fontStretch": "normal",
  86                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexSans-ExtraLightItalic.woff2" ]
  87                          }
  88                      ]
  89                  },
  90                  {
  91                      "fontFamily": "\"IBM Plex Mono\", monospace",
  92                      "name": "IBM Plex Mono",
  93                      "slug": "ibm-plex-mono",
  94                      "fontFace": [
  95                          {
  96                              "fontFamily": "IBM Plex Mono",
  97                              "fontWeight": "400",
  98                              "fontStyle": "normal",
  99                              "fontStretch": "normal",
 100                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexMono-Text.woff2" ]
 101                          },
 102                          {
 103                              "fontFamily": "IBM Plex Mono",
 104                              "fontWeight": "400",
 105                              "fontStyle": "italic",
 106                              "fontStretch": "normal",
 107                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexMono-TextItalic.woff2" ]
 108                          },
 109                          {
 110                              "fontFamily": "IBM Plex Mono",
 111                              "fontWeight": "700",
 112                              "fontStyle": "normal",
 113                              "fontStretch": "normal",
 114                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexMono-Bold.woff2" ]
 115                          },
 116                          {
 117                              "fontFamily": "IBM Plex Mono",
 118                              "fontWeight": "700",
 119                              "fontStyle": "italic",
 120                              "fontStretch": "normal",
 121                              "src": [ "file:./assets/fonts/ibm-plex/IBMPlexSans-BoldItalic.woff2" ]
 122                          }
 123                      ]
 124                  }
 125              ],
 126              "fontSizes": [
 127                  {
 128                      "size": "0.875rem",
 129                      "slug": "small"
 130                  },
 131                  {
 132                      "size": "1rem",
 133                      "slug": "medium"
 134                  },
 135                  {
 136                      "size": "1.25rem",
 137                      "slug": "large"
 138                  },
 139                  {
 140                      "size": "clamp(1.5rem, 3vw, 2rem)",
 141                      "slug": "x-large"
 142                  }
 143              ]
 144          },
 145          "layout": {
 146              "contentSize": "600px",
 147              "wideSize": "780px"
 148          }
 149      },
 150      "styles": {
 151          "blocks": {
 152              "core/post-title": {
 153                  "typography": {
 154                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 155                      "fontWeight": "400"
 156                  }
 157              },
 158              "core/site-title": {
 159                  "typography": {
 160                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 161                      "fontStyle": "normal",
 162                      "textTransform": "uppercase"
 163                  }
 164              },
 165              "core/query-title": {
 166                  "typography": {
 167                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)"
 168                  }
 169              }
 170          },
 171          "elements": {
 172              "h1": {
 173                  "typography": {
 174                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 175                      "fontWeight": "200"
 176                  }
 177              },
 178              "h2": {
 179                  "typography": {
 180                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 181                      "fontWeight": "400"
 182                  }
 183              },
 184              "h3": {
 185                  "typography": {
 186                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 187                      "fontWeight": "400"
 188                  }
 189              },
 190              "h4": {
 191                  "typography": {
 192                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 193                      "fontWeight": "400"
 194                  }
 195              },
 196              "h5": {
 197                  "typography": {
 198                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 199                      "fontWeight": "400"
 200                  }
 201              },
 202              "h6": {
 203                  "typography": {
 204                      "fontFamily": "var(--wp--preset--font-family--ibm-plex-sans)",
 205                      "fontWeight": "400"
 206                  }
 207              }
 208          },
 209          "spacing": {
 210              "blockGap": "2rem"
 211          },
 212          "typography": {
 213              "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
 214          }
 215      }
 216  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref