[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "version": 2,
   3      "title": "Swiss",
   4      "settings": {
   5          "color": {
   6              "duotone": [
   7                  {
   8                      "colors": [
   9                          "#000000",
  10                          "#FFFFFF"
  11                      ],
  12                      "slug": "default-filter",
  13                      "name": "Default filter"
  14                  }
  15              ],
  16              "palette": [
  17                  {
  18                      "slug": "foreground",
  19                      "color": "#FFFFFF",
  20                      "name": "Foreground"
  21                  },
  22                  {
  23                      "slug": "background",
  24                      "color": "#1A1A1A",
  25                      "name": "Background"
  26                  },
  27                  {
  28                      "slug": "primary",
  29                      "color": "#FF7179",
  30                      "name": "Primary"
  31                  },
  32                  {
  33                      "slug": "secondary",
  34                      "color": "#F4F4F2",
  35                      "name": "Secondary"
  36                  },
  37                  {
  38                      "slug": "tertiary",
  39                      "color": "#0000000",
  40                      "name": "Tertiary"
  41                  }
  42              ]
  43          },
  44          "custom": {
  45              "spacing": {
  46                  "small": "max(1.25rem, 5vw)",
  47                  "medium": "clamp(1.75rem, 6vw, calc(3 * var(--wp--style--block-gap)))",
  48                  "large": "clamp(3.5rem, 8vw, 6rem)",
  49                  "outer": "var(--wp--custom--spacing--small, 1.25rem)"
  50              },
  51              "typography": {
  52                  "font-size": {
  53                      "colossal": "clamp(3.5rem, 8vw, 5rem)"
  54                  }
  55              }
  56          },
  57          "typography": {
  58              "fontFamilies": [
  59                  {
  60                      "fontFamily": "\"Inter\", sans-serif",
  61                      "name": "Inter",
  62                      "slug": "inter",
  63                      "fontFace": [
  64                          {
  65                              "fontFamily": "Inter",
  66                              "fontWeight": "200 900",
  67                              "fontStretch": "normal",
  68                              "src": [ "file:./assets/fonts/inter/Inter.ttf" ]
  69                          }
  70                      ]
  71                  }
  72              ]
  73          }
  74      },
  75      "styles": {
  76          "blocks": {
  77              "core/cover": {
  78                  "filter": {
  79                      "duotone": "var(--wp--preset--duotone--default-filter)"
  80                  }
  81              },
  82              "core/image": {
  83                  "filter": {
  84                      "duotone": "var(--wp--preset--duotone--default-filter)"
  85                  }
  86              },
  87              "core/post-author": {
  88                  "filter": {
  89                      "duotone": "var(--wp--preset--duotone--default-filter)"
  90                  }
  91              },
  92              "core/post-featured-image": {
  93                  "filter": {
  94                      "duotone": "var(--wp--preset--duotone--default-filter)"
  95                  }
  96              },
  97              "core/post-title": {
  98                  "typography": {
  99                      "fontFamily": "var(--wp--preset--font-family--inter)",
 100                      "fontWeight": "700"
 101                  }
 102              },
 103              "core/query-title": {
 104                  "typography": {
 105                      "fontFamily": "var(--wp--preset--font-family--inter)"
 106                  }
 107              },
 108              "core/site-logo": {
 109                  "filter": {
 110                      "duotone": "var(--wp--preset--duotone--default-filter)"
 111                  }
 112              },
 113              "core/site-title": {
 114                  "typography": {
 115                      "fontWeight": "700",
 116                      "fontStyle":"normal"
 117                  }
 118              }
 119          },
 120          "elements": {
 121              "h1": {
 122                  "typography": {
 123                      "fontFamily": "var(--wp--preset--font-family--inter)",
 124                      "fontWeight": "700"
 125                  }
 126              },
 127              "h2": {
 128                  "typography": {
 129                      "fontFamily": "var(--wp--preset--font-family--inter)",
 130                      "fontWeight": "700"
 131                  }
 132              },
 133              "h3": {
 134                  "typography": {
 135                      "fontFamily": "var(--wp--preset--font-family--inter)",
 136                      "fontWeight": "700"
 137                  }
 138              },
 139              "h4": {
 140                  "typography": {
 141                      "fontFamily": "var(--wp--preset--font-family--inter)",
 142                      "fontWeight": "700"
 143                  }
 144              },
 145              "h5": {
 146                  "typography": {
 147                      "fontFamily": "var(--wp--preset--font-family--inter)",
 148                      "fontWeight": "700"
 149                  }
 150              },
 151              "h6": {
 152                  "typography": {
 153                      "fontFamily": "var(--wp--preset--font-family--inter)",
 154                      "fontWeight": "700"
 155                  }
 156              },
 157              "link": {
 158                  "color": {
 159                      "text": "var(--wp--preset--color--primary)"
 160                  }
 161              }
 162          },
 163          "typography": {
 164              "fontFamily": "var(--wp--preset--font-family--inter)"
 165          }
 166      }
 167  }


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